diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 9e36d4519..f657fc073 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -7303,6 +7303,69 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -75534,6 +75597,66 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", @@ -109350,6 +109473,117 @@ }, "additionalProperties": false }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "billing-usage-report": { "type": "object", "properties": { @@ -138782,6 +139016,113 @@ "id" ] }, + "billing-premium-request-usage-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "billing-usage-report-user": { "type": "object", "properties": { @@ -288784,6 +289125,29 @@ ] } }, + "billing-premium-request-usage-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report": { "value": { "usageItems": [ @@ -314260,6 +314624,29 @@ } ] }, + "billing-premium-request-usage-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report-user": { "value": { "usageItems": [ @@ -316413,9 +316800,9 @@ "type": "integer" } }, - "billing-usage-report-month": { + "billing-usage-report-month-default": { "name": "month", - "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -316431,6 +316818,42 @@ "type": "integer" } }, + "billing-usage-report-user": { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-model": { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-product": { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-month": { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "billing-usage-report-hour": { "name": "hour", "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", @@ -317907,6 +318330,21 @@ } } }, + "billing_premium_request_usage_report_org": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-org" + } + } + } + } + }, "billing_usage_report_org": { "description": "Billing usage report response for an organization", "content": { @@ -318151,6 +318589,21 @@ } } }, + "billing_premium_request_usage_report_user": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-user" + } + } + } + } + }, "billing_usage_report_user": { "description": "Response when getting a billing usage report", "content": { diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index d71df62e6..cd95e3a2c 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -5136,6 +5136,44 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -54593,6 +54631,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -79053,6 +79126,89 @@ components: - type: 'null' - "$ref": "#/components/schemas/simple-repository" additionalProperties: false + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems billing-usage-report: type: object properties: @@ -100395,6 +100551,86 @@ components: required: - key - id + billing-premium-request-usage-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems billing-usage-report-user: type: object properties: @@ -212963,6 +213199,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + billing-premium-request-usage-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report: value: usageItems: @@ -234797,6 +235050,23 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-premium-request-usage-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report-user: value: usageItems: @@ -236738,11 +237008,11 @@ components: required: false schema: type: integer - billing-usage-report-month: + billing-usage-report-month-default: name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: @@ -236756,6 +237026,36 @@ components: required: false schema: type: integer + billing-usage-report-user: + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-model: + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-product: + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-month: + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer billing-usage-report-hour: name: hour description: If specified, only return results for a single hour. The value @@ -237973,6 +238273,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_org: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-org" billing_usage_report_org: description: Billing usage report response for an organization content: @@ -238130,6 +238439,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_user: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-user" billing_usage_report_user: description: Response when getting a billing usage report content: diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 9e36d4519..f657fc073 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -7303,6 +7303,69 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -75534,6 +75597,66 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", @@ -109350,6 +109473,117 @@ }, "additionalProperties": false }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "billing-usage-report": { "type": "object", "properties": { @@ -138782,6 +139016,113 @@ "id" ] }, + "billing-premium-request-usage-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "billing-usage-report-user": { "type": "object", "properties": { @@ -288784,6 +289125,29 @@ ] } }, + "billing-premium-request-usage-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report": { "value": { "usageItems": [ @@ -314260,6 +314624,29 @@ } ] }, + "billing-premium-request-usage-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report-user": { "value": { "usageItems": [ @@ -316413,9 +316800,9 @@ "type": "integer" } }, - "billing-usage-report-month": { + "billing-usage-report-month-default": { "name": "month", - "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -316431,6 +316818,42 @@ "type": "integer" } }, + "billing-usage-report-user": { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-model": { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-product": { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-month": { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "billing-usage-report-hour": { "name": "hour", "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", @@ -317907,6 +318330,21 @@ } } }, + "billing_premium_request_usage_report_org": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-org" + } + } + } + } + }, "billing_usage_report_org": { "description": "Billing usage report response for an organization", "content": { @@ -318151,6 +318589,21 @@ } } }, + "billing_premium_request_usage_report_user": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-user" + } + } + } + } + }, "billing_usage_report_user": { "description": "Response when getting a billing usage report", "content": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index d71df62e6..cd95e3a2c 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -5136,6 +5136,44 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -54593,6 +54631,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -79053,6 +79126,89 @@ components: - type: 'null' - "$ref": "#/components/schemas/simple-repository" additionalProperties: false + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems billing-usage-report: type: object properties: @@ -100395,6 +100551,86 @@ components: required: - key - id + billing-premium-request-usage-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems billing-usage-report-user: type: object properties: @@ -212963,6 +213199,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + billing-premium-request-usage-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report: value: usageItems: @@ -234797,6 +235050,23 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-premium-request-usage-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report-user: value: usageItems: @@ -236738,11 +237008,11 @@ components: required: false schema: type: integer - billing-usage-report-month: + billing-usage-report-month-default: name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: @@ -236756,6 +237026,36 @@ components: required: false schema: type: integer + billing-usage-report-user: + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-model: + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-product: + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-month: + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer billing-usage-report-hour: name: hour description: If specified, only return results for a single hour. The value @@ -237973,6 +238273,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_org: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-org" billing_usage_report_org: description: Billing usage report response for an organization content: @@ -238130,6 +238439,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_user: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-user" billing_usage_report_user: description: Response when getting a billing usage report content: diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index ec7c8fe6a..06d5a9f16 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -62212,6 +62212,403 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -711003,6 +711400,390 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 560ae0d99..8d9c7153a 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &289 + type: &291 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &102 + schema: &104 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &603 + - &605 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &174 + - &176 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 @@ -1672,7 +1672,7 @@ paths: application/json: schema: type: array - items: &175 + items: &177 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &176 + default: &178 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1831,7 +1831,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &101 + schema: &103 title: Validation Error description: Validation Error type: object @@ -1903,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &177 + schema: &179 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2038,7 @@ paths: - request - response examples: - default: &178 + default: &180 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7716,7 +7716,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &148 + code_scanning_options: &150 type: - object - 'null' @@ -7914,7 +7914,7 @@ paths: description: Response content: application/json: - schema: &150 + schema: &152 type: array description: A list of default code security configurations items: @@ -7930,7 +7930,7 @@ paths: default configuration: *41 examples: - default: &151 + default: &153 value: - default_for_new_repos: public configuration: @@ -8261,7 +8261,7 @@ paths: - *40 - *43 responses: - '204': &152 + '204': &154 description: A header with no content is returned. '400': *14 '403': *27 @@ -8388,7 +8388,7 @@ paths: default: value: default_for_new_repos: all - configuration: &149 + configuration: &151 value: id: 1325 target_type: organization @@ -8473,7 +8473,7 @@ paths: application/json: schema: type: array - items: &153 + items: &155 type: object description: Repositories associated with a code security configuration and attachment status @@ -8818,7 +8818,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &154 + repository: &156 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8912,7 +8912,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &158 + - &160 name: state in: query description: |- @@ -8921,7 +8921,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &159 + - &161 name: severity in: query description: |- @@ -8930,7 +8930,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &160 + - &162 name: ecosystem in: query description: |- @@ -8939,14 +8939,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &161 + - &163 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 - - &162 + - &164 name: epss_percentage in: query description: |- @@ -8958,7 +8958,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &163 + - &165 name: has in: query description: |- @@ -8972,7 +8972,7 @@ paths: type: string enum: - patch - - &164 + - &166 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8982,7 +8982,7 @@ paths: enum: - development - runtime - - &165 + - &167 name: sort in: query description: |- @@ -9000,7 +9000,7 @@ paths: - *46 - *38 - *39 - - &166 + - &168 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -9013,7 +9013,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &167 + - &169 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -9033,7 +9033,7 @@ paths: application/json: schema: type: array - items: &168 + items: &170 type: object description: A Dependabot alert. properties: @@ -9103,7 +9103,7 @@ paths: - direct - transitive - - security_advisory: &456 + security_advisory: &458 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9332,7 +9332,7 @@ paths: 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &144 + dismissed_at: &146 type: - string - 'null' @@ -9363,7 +9363,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &143 + fixed_at: &145 type: - string - 'null' @@ -9371,7 +9371,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &457 + auto_dismissed_at: &459 type: - string - 'null' @@ -9398,7 +9398,7 @@ paths: - repository additionalProperties: false examples: - default: &169 + default: &171 value: - number: 2 state: dismissed @@ -9745,7 +9745,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &277 + - &279 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9756,7 +9756,7 @@ paths: enum: - open - resolved - - &278 + - &280 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9766,7 +9766,7 @@ paths: required: false schema: type: string - - &279 + - &281 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9775,7 +9775,7 @@ paths: required: false schema: type: string - - &280 + - &282 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. @@ -9791,7 +9791,7 @@ paths: - *17 - *38 - *39 - - &281 + - &283 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9800,7 +9800,7 @@ paths: required: false schema: type: string - - &282 + - &284 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9809,7 +9809,7 @@ paths: schema: type: boolean default: false - - &283 + - &285 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9818,7 +9818,7 @@ paths: schema: type: boolean default: false - - &284 + - &286 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9834,7 +9834,7 @@ paths: application/json: schema: type: array - items: &285 + items: &287 type: object properties: number: *52 @@ -9850,14 +9850,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &581 + state: &583 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: &582 + resolution: &584 type: - string - 'null' @@ -9964,14 +9964,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &583 + - &585 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &585 + - &587 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -10028,7 +10028,7 @@ paths: - blob_url - commit_sha - commit_url - - &586 + - &588 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -10089,7 +10089,7 @@ paths: - page_url - commit_sha - commit_url - - &587 + - &589 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -10104,7 +10104,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &588 + - &590 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -10119,7 +10119,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &589 + - &591 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -10134,7 +10134,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &590 + - &592 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -10149,7 +10149,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &591 + - &593 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -10164,7 +10164,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &592 + - &594 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -10179,7 +10179,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &593 + - &595 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -10194,7 +10194,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &594 + - &596 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -10209,7 +10209,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &595 + - &597 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -10224,7 +10224,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &596 + - &598 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -10239,7 +10239,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &597 + - &599 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -10260,7 +10260,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &286 + default: &288 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -11195,7 +11195,7 @@ paths: milestone: anyOf: - type: 'null' - - &235 + - &237 title: Milestone description: A collection of related issues and pull requests. @@ -11367,7 +11367,7 @@ paths: timeline_url: type: string format: uri - type: &196 + type: &198 title: Issue Type description: The type of issue. type: @@ -11476,7 +11476,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &615 + sub_issues_summary: &617 title: Sub-issues Summary type: object properties: @@ -11497,7 +11497,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &616 + issue_dependencies_summary: &618 title: Issue Dependencies Summary type: object properties: @@ -11516,7 +11516,7 @@ paths: - total_blocking issue_field_values: type: array - items: &617 + items: &619 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11611,7 +11611,7 @@ paths: - user - created_at - updated_at - comment: &503 + comment: &505 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12186,7 +12186,7 @@ paths: url: type: string format: uri - user: &629 + user: &631 title: Public User description: Public User type: object @@ -14081,7 +14081,7 @@ paths: - closed - all default: open - - &199 + - &201 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14132,7 +14132,7 @@ paths: type: array items: *81 examples: - default: &200 + default: &202 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15544,14 +15544,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &311 + - &313 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &312 + - &314 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15622,7 +15622,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &320 + '301': &322 description: Moved permanently content: application/json: @@ -15644,7 +15644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &532 + - &534 name: all description: If `true`, show notifications marked as read. in: query @@ -15652,7 +15652,7 @@ paths: schema: type: boolean default: false - - &533 + - &535 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15662,7 +15662,7 @@ paths: type: boolean default: false - *71 - - &534 + - &536 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: @@ -15694,7 +15694,7 @@ paths: properties: id: type: string - repository: &127 + repository: &129 title: Minimal Repository description: Minimal Repository type: object @@ -16033,7 +16033,7 @@ paths: type: boolean examples: - false - security_and_analysis: &247 + security_and_analysis: &249 type: - object - 'null' @@ -16198,7 +16198,7 @@ paths: - url - subscription_url examples: - default: &535 + default: &537 value: - id: '1' repository: @@ -16747,7 +16747,7 @@ paths: application/json: schema: type: array - items: &156 + items: &158 title: Organization Simple description: A GitHub organization. type: object @@ -16819,7 +16819,7 @@ paths: - avatar_url - description examples: - default: &645 + default: &647 value: - login: github id: 1 @@ -17116,22 +17116,21 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access - "/organizations/{org}/settings/billing/usage": + "/organizations/{org}/settings/billing/premium_request/usage": get: - summary: Get billing usage report for an organization - description: |- - Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. tags: - billing - operationId: billing/get-github-billing-usage-report-org + operationId: billing/get-github-billing-premium-request-usage-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - *97 - - &673 + - &99 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, @@ -17140,16 +17139,16 @@ paths: required: false schema: type: integer - - &674 + - &673 name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: type: integer - - &675 + - &100 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -17158,7 +17157,169 @@ paths: required: false schema: type: integer - - &676 + - name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &674 + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &675 + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *98 + '503': *69 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage": + get: + summary: Get billing usage report for an organization + description: |- + Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + tags: + - billing + operationId: billing/get-github-billing-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + parameters: + - *97 + - *99 + - &678 + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer + - *100 + - &679 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -17274,7 +17435,7 @@ paths: description: Response content: application/json: - schema: &99 + schema: &101 title: Organization Full description: Organization Full type: object @@ -17669,7 +17830,7 @@ paths: - updated_at - archived_at examples: - default-response: &100 + default-response: &102 value: login: github id: 1 @@ -17986,17 +18147,17 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: *100 + default: *102 '422': description: Validation failed content: application/json: schema: oneOf: - - *101 - - *102 + - *103 + - *104 '409': *45 x-github: githubCloudOnly: false @@ -18110,7 +18271,7 @@ paths: type: integer repository_cache_usages: type: array - items: &325 + items: &327 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18186,7 +18347,7 @@ paths: type: integer runners: type: array - items: &103 + items: &105 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18243,7 +18404,7 @@ paths: - size_gb - display_name - source - machine_size_details: &106 + machine_size_details: &108 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -18348,7 +18509,7 @@ paths: - public_ip_enabled - platform examples: - default: &126 + default: &128 value: total_count: 2 runners: @@ -18475,9 +18636,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *105 examples: - default: &107 + default: &109 value: id: 5 name: My hosted ubuntu runner @@ -18532,7 +18693,7 @@ paths: type: integer images: type: array - items: &104 + items: &106 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -18572,7 +18733,7 @@ paths: - display_name - source examples: - default: &105 + default: &107 value: id: ubuntu-20.04 platform: linux-x64 @@ -18612,9 +18773,9 @@ paths: type: integer images: type: array - items: *104 + items: *106 examples: - default: *105 + default: *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18702,7 +18863,7 @@ paths: type: integer machine_specs: type: array - items: *106 + items: *108 examples: default: value: @@ -18772,7 +18933,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *97 - - &108 + - &110 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18784,9 +18945,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *105 examples: - default: *107 + default: *109 headers: Link: *57 x-github: @@ -18807,7 +18968,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *97 - - *108 + - *110 requestBody: required: true content: @@ -18845,9 +19006,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *105 examples: - default: *107 + default: *109 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18864,15 +19025,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *97 - - *108 + - *110 responses: '202': description: Response content: application/json: - schema: *103 + schema: *105 examples: - default: *107 + default: *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18898,7 +19059,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &109 + schema: &111 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18912,7 +19073,7 @@ paths: required: - include_claim_keys examples: - default: &110 + default: &112 value: include_claim_keys: - repo @@ -18939,15 +19100,15 @@ paths: required: true content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 responses: '201': description: Empty response content: application/json: - schema: &136 + schema: &138 title: Empty Object description: An object without any properties. type: object @@ -18986,7 +19147,7 @@ paths: schema: type: object properties: - enabled_repositories: &111 + enabled_repositories: &113 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18999,7 +19160,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &112 + allowed_actions: &114 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19007,12 +19168,12 @@ paths: - all - local_only - selected - selected_actions_url: &331 + selected_actions_url: &333 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` is set to `selected`. - sha_pinning_required: &113 + sha_pinning_required: &115 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19054,9 +19215,9 @@ paths: schema: type: object properties: - enabled_repositories: *111 - allowed_actions: *112 - sha_pinning_required: *113 + enabled_repositories: *113 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled_repositories examples: @@ -19090,7 +19251,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &337 type: object properties: days: @@ -19132,7 +19293,7 @@ paths: required: true content: application/json: - schema: &336 + schema: &338 type: object properties: days: @@ -19175,7 +19336,7 @@ paths: description: Response content: application/json: - schema: &114 + schema: &116 type: object properties: approval_policy: @@ -19189,7 +19350,7 @@ paths: required: - approval_policy examples: - default: &337 + default: &339 value: approval_policy: first_time_contributors '404': *6 @@ -19220,7 +19381,7 @@ paths: required: true content: application/json: - schema: *114 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -19248,7 +19409,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 type: object required: - run_workflows_from_fork_pull_requests @@ -19274,7 +19435,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &115 + default: &117 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19302,7 +19463,7 @@ paths: required: true content: application/json: - schema: &339 + schema: &341 type: object required: - run_workflows_from_fork_pull_requests @@ -19325,7 +19486,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *115 + default: *117 responses: '204': description: Empty response for successful settings update @@ -19375,7 +19536,7 @@ paths: type: array items: *66 examples: - default: &119 + default: &121 value: total_count: 1 repositories: @@ -19560,7 +19721,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *97 - - &116 + - &118 name: repository_id description: The unique identifier of the repository. in: path @@ -19589,7 +19750,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *97 - - *116 + - *118 responses: '204': description: Response @@ -19618,7 +19779,7 @@ paths: description: Response content: application/json: - schema: &117 + schema: &119 type: object properties: github_owned_allowed: @@ -19640,7 +19801,7 @@ paths: items: type: string examples: - default: &118 + default: &120 value: github_owned_allowed: true verified_allowed: false @@ -19673,9 +19834,9 @@ paths: required: false content: application/json: - schema: *117 + schema: *119 examples: - selected_actions: *118 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19807,7 +19968,7 @@ paths: type: array items: *66 examples: - default: *119 + default: *121 '403': *27 '404': *6 x-github: @@ -19876,7 +20037,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *97 - - *116 + - *118 responses: '204': description: No content @@ -19903,7 +20064,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *97 - - *116 + - *118 responses: '204': description: No content @@ -19937,17 +20098,17 @@ paths: description: Response content: application/json: - schema: &340 + schema: &342 type: object properties: - default_workflow_permissions: &120 + default_workflow_permissions: &122 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &121 + can_approve_pull_request_reviews: &123 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19955,7 +20116,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &122 + default: &124 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19988,13 +20149,13 @@ paths: required: false content: application/json: - schema: &341 + schema: &343 type: object properties: - default_workflow_permissions: *120 - can_approve_pull_request_reviews: *121 + default_workflow_permissions: *122 + can_approve_pull_request_reviews: *123 examples: - default: *122 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20039,7 +20200,7 @@ paths: type: number runner_groups: type: array - items: &123 + items: &125 type: object properties: id: @@ -20229,9 +20390,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *125 examples: - default: &125 + default: &127 value: id: 2 name: octo-runner-group @@ -20267,7 +20428,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *97 - - &124 + - &126 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20279,7 +20440,7 @@ paths: description: Response content: application/json: - schema: *123 + schema: *125 examples: default: value: @@ -20316,7 +20477,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *97 - - *124 + - *126 requestBody: required: true content: @@ -20372,9 +20533,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *125 examples: - default: *125 + default: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20394,7 +20555,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *97 - - *124 + - *126 responses: '204': description: Response @@ -20418,7 +20579,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *97 - - *124 + - *126 - *17 - *19 responses: @@ -20436,9 +20597,9 @@ paths: type: number runners: type: array - items: *103 + items: *105 examples: - default: *126 + default: *128 headers: Link: *57 x-github: @@ -20461,7 +20622,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *97 - - *124 + - *126 - *19 - *17 responses: @@ -20479,9 +20640,9 @@ paths: type: number repositories: type: array - items: *127 + items: *129 examples: - default: &632 + default: &634 value: total_count: 1 repositories: @@ -20734,7 +20895,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - *97 - - *124 + - *126 requestBody: required: true content: @@ -20779,8 +20940,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *97 - - *124 - - *116 + - *126 + - *118 responses: '204': description: Response @@ -20803,8 +20964,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *97 - - *124 - - *116 + - *126 + - *118 responses: '204': description: Response @@ -20828,7 +20989,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *97 - - *124 + - *126 - *17 - *19 responses: @@ -20846,7 +21007,7 @@ paths: type: number runners: type: array - items: &129 + items: &131 title: Self hosted runners description: A self hosted runner type: object @@ -20880,7 +21041,7 @@ paths: type: boolean labels: type: array - items: &132 + items: &134 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20910,7 +21071,7 @@ paths: - busy - labels examples: - default: &130 + default: &132 value: total_count: 2 runners: @@ -20970,7 +21131,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *97 - - *124 + - *126 requestBody: required: true content: @@ -21015,8 +21176,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - *97 - - *124 - - &128 + - *126 + - &130 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21045,8 +21206,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - *97 - - *124 - - *128 + - *126 + - *130 responses: '204': description: Response @@ -21094,9 +21255,9 @@ paths: type: integer runners: type: array - items: *129 + items: *131 examples: - default: *130 + default: *132 headers: Link: *57 x-github: @@ -21128,7 +21289,7 @@ paths: application/json: schema: type: array - items: &342 + items: &344 title: Runner Application description: Runner Application type: object @@ -21153,7 +21314,7 @@ paths: - download_url - filename examples: - default: &343 + default: &345 value: - os: osx architecture: x64 @@ -21239,7 +21400,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &344 + '201': &346 description: Response content: application/json: @@ -21249,7 +21410,7 @@ paths: - runner - encoded_jit_config properties: - runner: *129 + runner: *131 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21312,7 +21473,7 @@ paths: description: Response content: application/json: - schema: &131 + schema: &133 title: Authentication Token description: Authentication Token type: object @@ -21354,7 +21515,7 @@ paths: - token - expires_at examples: - default: &345 + default: &347 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21391,9 +21552,9 @@ paths: description: Response content: application/json: - schema: *131 + schema: *133 examples: - default: &346 + default: &348 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21419,15 +21580,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 responses: '200': description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: &347 + default: &349 value: id: 23 name: MBP @@ -21469,7 +21630,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *97 - - *128 + - *130 responses: '204': description: Response @@ -21496,9 +21657,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 responses: - '200': &133 + '200': &135 description: Response content: application/json: @@ -21512,7 +21673,7 @@ paths: type: integer labels: type: array - items: *132 + items: *134 examples: default: value: @@ -21552,7 +21713,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 requestBody: required: true content: @@ -21576,7 +21737,7 @@ paths: - gpu - accelerated responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -21601,7 +21762,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 requestBody: required: true content: @@ -21626,7 +21787,7 @@ paths: - gpu - accelerated responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -21651,9 +21812,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 responses: - '200': &348 + '200': &350 description: Response content: application/json: @@ -21667,7 +21828,7 @@ paths: type: integer labels: type: array - items: *132 + items: *134 examples: default: value: @@ -21709,8 +21870,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 - - &349 + - *130 + - &351 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21718,7 +21879,7 @@ paths: schema: type: string responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -21761,7 +21922,7 @@ paths: type: integer secrets: type: array - items: &134 + items: &136 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21842,7 +22003,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21877,7 +22038,7 @@ paths: - key_id - key examples: - default: &362 + default: &364 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21903,7 +22064,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *97 - - &135 + - &137 name: secret_name description: The name of the secret. in: path @@ -21915,7 +22076,7 @@ paths: description: Response content: application/json: - schema: *134 + schema: *136 examples: default: value: @@ -21946,7 +22107,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -22003,7 +22164,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -22030,7 +22191,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '204': description: Response @@ -22057,7 +22218,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 - *19 - *17 responses: @@ -22075,9 +22236,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: &139 + default: &141 value: total_count: 1 repositories: @@ -22170,7 +22331,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -22223,7 +22384,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -22257,7 +22418,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -22290,7 +22451,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *97 - - &330 + - &332 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)." @@ -22314,7 +22475,7 @@ paths: type: integer variables: type: array - items: &137 + items: &139 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -22452,7 +22613,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -22478,7 +22639,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *97 - - &138 + - &140 name: name description: The name of the variable. in: path @@ -22490,7 +22651,7 @@ paths: description: Response content: application/json: - schema: *137 + schema: *139 examples: default: value: @@ -22521,7 +22682,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *97 - - *138 + - *140 requestBody: required: true content: @@ -22584,7 +22745,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *97 - - *138 + - *140 responses: '204': description: Response @@ -22611,7 +22772,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *97 - - *138 + - *140 - *19 - *17 responses: @@ -22629,9 +22790,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: *139 + default: *141 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22658,7 +22819,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *97 - - *138 + - *140 requestBody: required: true content: @@ -22708,7 +22869,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *97 - - *138 + - *140 - name: repository_id in: path required: true @@ -22743,7 +22904,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *97 - - *138 + - *140 - name: repository_id in: path required: true @@ -23025,12 +23186,12 @@ paths: required: - subject_digests examples: - default: &660 + default: &662 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &661 + withPredicateType: &663 value: subject_digests: - sha256:abc123 @@ -23089,7 +23250,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &662 + default: &664 value: attestations_subject_digests: - sha256:abc: @@ -23385,7 +23546,7 @@ paths: initiator: type: string examples: - default: &375 + default: &377 value: attestations: - bundle: @@ -23604,7 +23765,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &140 + schema: &142 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23630,7 +23791,7 @@ paths: application/json: schema: type: array - items: &141 + items: &143 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23661,7 +23822,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &157 + items: &159 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23738,7 +23899,7 @@ paths: parent: anyOf: - type: 'null' - - &211 + - &213 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -23874,7 +24035,7 @@ paths: - string - 'null' format: date-time - state: *140 + state: *142 contact_link: description: The contact link of the campaign. type: @@ -24091,9 +24252,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *143 examples: - default: &142 + default: &144 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24176,9 +24337,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *143 examples: - default: *142 + default: *144 '404': *6 '422': description: Unprocessable Entity @@ -24256,7 +24417,7 @@ paths: - string - 'null' format: uri - state: *140 + state: *142 examples: default: value: @@ -24266,9 +24427,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *143 examples: - default: *142 + default: *144 '400': description: Bad Request content: @@ -24335,17 +24496,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *97 - - &400 + - &402 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`, but not both. in: query required: false - schema: &145 + schema: &147 type: string description: The name of the tool used to generate the code scanning analysis. - - &401 + - &403 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 @@ -24353,7 +24514,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &146 + schema: &148 type: - string - 'null' @@ -24369,7 +24530,7 @@ paths: be returned. in: query required: false - schema: &403 + schema: &405 type: string description: State of a code scanning alert. enum: @@ -24392,7 +24553,7 @@ paths: be returned. in: query required: false - schema: &404 + schema: &406 type: string description: Severity of a code scanning alert. enum: @@ -24418,13 +24579,13 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &405 + instances_url: &407 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &147 + state: &149 type: - string - 'null' @@ -24434,13 +24595,13 @@ paths: - dismissed - fixed - - fixed_at: *143 + fixed_at: *145 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *144 - dismissed_reason: &406 + dismissed_at: *146 + dismissed_reason: &408 type: - string - 'null' @@ -24451,14 +24612,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &407 + dismissed_comment: &409 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &408 + rule: &410 type: object properties: id: @@ -24519,26 +24680,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &409 + tool: &411 type: object properties: - name: *145 + name: *147 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *146 - most_recent_instance: &410 + guid: *148 + most_recent_instance: &412 type: object properties: - ref: &402 + ref: &404 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &420 + analysis_key: &422 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24549,13 +24710,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &421 + category: &423 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *147 + state: *149 commit_sha: type: string message: @@ -25061,7 +25222,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *148 + code_scanning_options: *150 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -25204,7 +25365,7 @@ paths: application/json: schema: *41 examples: - default: *149 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25232,9 +25393,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: - default: *151 + default: *153 '304': *35 '403': *27 '404': *6 @@ -25286,7 +25447,7 @@ paths: - 32 - 91 responses: - '204': *152 + '204': *154 '400': *14 '403': *27 '404': *6 @@ -25321,7 +25482,7 @@ paths: application/json: schema: *41 examples: - default: *149 + default: *151 '304': *35 '403': *27 '404': *6 @@ -25605,7 +25766,7 @@ paths: - *97 - *43 responses: - '204': *152 + '204': *154 '400': *14 '403': *27 '404': *6 @@ -25743,7 +25904,7 @@ paths: default: value: default_for_new_repos: all - configuration: *149 + configuration: *151 '403': *27 '404': *6 x-github: @@ -25796,13 +25957,13 @@ paths: application/json: schema: type: array - items: *153 + items: *155 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *154 + repository: *156 '403': *27 '404': *6 x-github: @@ -25842,7 +26003,7 @@ paths: type: integer codespaces: type: array - items: &201 + items: &203 type: object title: Codespace description: A codespace. @@ -25873,11 +26034,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *127 + repository: *129 machine: anyOf: - type: 'null' - - &433 + - &435 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26164,7 +26325,7 @@ paths: - pulls_url - recent_folders examples: - default: &202 + default: &204 value: total_count: 3 codespaces: @@ -26788,7 +26949,7 @@ paths: type: integer secrets: type: array - items: &155 + items: &157 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26829,7 +26990,7 @@ paths: - updated_at - visibility examples: - default: &434 + default: &436 value: total_count: 2 secrets: @@ -26867,7 +27028,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &437 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26902,7 +27063,7 @@ paths: - key_id - key examples: - default: &436 + default: &438 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26926,15 +27087,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '200': description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: &438 + default: &440 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26962,7 +27123,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -27017,7 +27178,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -27044,7 +27205,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '204': description: Response @@ -27070,7 +27231,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 - *19 - *17 responses: @@ -27088,9 +27249,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: *139 + default: *141 '404': *6 x-github: githubCloudOnly: false @@ -27113,7 +27274,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -27164,7 +27325,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -27198,7 +27359,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -27401,7 +27562,7 @@ paths: currently being billed. seats: type: array - items: &204 + items: &206 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27414,12 +27575,12 @@ paths: organization: anyOf: - type: 'null' - - *156 + - *158 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *157 + - *159 - *58 type: - 'null' @@ -27932,7 +28093,7 @@ paths: application/json: schema: type: array - items: &293 + items: &295 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28247,7 +28408,7 @@ paths: - date additionalProperties: true examples: - default: &294 + default: &296 value: - date: '2024-06-24' total_active_users: 24 @@ -28349,7 +28510,7 @@ paths: '500': *98 '403': *27 '404': *6 - '422': &295 + '422': &297 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28377,11 +28538,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *97 - - *158 - - *159 - *160 - *161 - *162 + - *163 + - *164 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -28397,14 +28558,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *163 - - *164 - *165 + - *166 + - *167 - *46 - *38 - *39 - - *166 - - *167 + - *168 + - *169 - *17 responses: '200': @@ -28413,9 +28574,9 @@ paths: application/json: schema: type: array - items: *168 + items: *170 examples: - default: *169 + default: *171 '304': *35 '400': *14 '403': *27 @@ -28459,7 +28620,7 @@ paths: type: integer secrets: type: array - items: &170 + items: &172 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28538,7 +28699,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &462 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28557,7 +28718,7 @@ paths: - key_id - key examples: - default: &461 + default: &463 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28581,13 +28742,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '200': description: Response content: application/json: - schema: *170 + schema: *172 examples: default: value: @@ -28616,7 +28777,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -28671,7 +28832,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -28696,7 +28857,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '204': description: Response @@ -28721,7 +28882,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 - *19 - *17 responses: @@ -28739,9 +28900,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: *139 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28763,7 +28924,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -28814,7 +28975,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -28846,7 +29007,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -28884,7 +29045,7 @@ paths: application/json: schema: type: array - items: &213 + items: &215 title: Package description: A software package type: object @@ -28937,7 +29098,7 @@ paths: repository: anyOf: - type: 'null' - - *127 + - *129 created_at: type: string format: date-time @@ -28955,7 +29116,7 @@ paths: - created_at - updated_at examples: - default: &214 + default: &216 value: - id: 197 name: hello_docker @@ -29122,7 +29283,7 @@ paths: application/json: schema: type: array - items: &193 + items: &195 title: Organization Invitation description: Organization Invitation type: object @@ -29176,7 +29337,7 @@ paths: - invitation_teams_url - node_id examples: - default: &194 + default: &196 value: - id: 1 login: monalisa @@ -29243,7 +29404,7 @@ paths: application/json: schema: type: array - items: &171 + items: &173 title: Org Hook description: Org Hook type: object @@ -29428,9 +29589,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *173 examples: - default: &172 + default: &174 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29478,7 +29639,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *97 - - &173 + - &175 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. @@ -29491,9 +29652,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *173 examples: - default: *172 + default: *174 '404': *6 x-github: githubCloudOnly: false @@ -29521,7 +29682,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *97 - - *173 + - *175 requestBody: required: false content: @@ -29567,7 +29728,7 @@ paths: description: Response content: application/json: - schema: *171 + schema: *173 examples: default: value: @@ -29609,7 +29770,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *97 - - *173 + - *175 responses: '204': description: Response @@ -29637,7 +29798,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *97 - - *173 + - *175 responses: '200': description: Response @@ -29668,7 +29829,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *97 - - *173 + - *175 requestBody: required: false content: @@ -29719,9 +29880,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *97 - - *173 + - *175 - *17 - - *174 + - *176 responses: '200': description: Response @@ -29729,9 +29890,9 @@ paths: application/json: schema: type: array - items: *175 + items: *177 examples: - default: *176 + default: *178 '400': *14 '422': *15 x-github: @@ -29757,16 +29918,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *97 - - *173 + - *175 - *16 responses: '200': description: Response content: application/json: - schema: *177 + schema: *179 examples: - default: *178 + default: *180 '400': *14 '422': *15 x-github: @@ -29792,7 +29953,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *97 - - *173 + - *175 - *16 responses: '202': *37 @@ -29822,7 +29983,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *97 - - *173 + - *175 responses: '204': description: Response @@ -29845,7 +30006,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *97 - - &183 + - &185 name: actor_type in: path description: The type of the actor @@ -29858,14 +30019,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &184 + - &186 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &179 + - &181 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`.' @@ -29873,7 +30034,7 @@ paths: required: true schema: type: string - - &180 + - &182 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) @@ -29968,12 +30129,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *97 - - *179 - - *180 + - *181 + - *182 - *19 - *17 - *46 - - &189 + - &191 name: sort description: The property to sort the results by. in: query @@ -30053,14 +30214,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *97 - - *179 - - *180 + - *181 + - *182 responses: '200': description: Response content: application/json: - schema: &181 + schema: &183 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30076,7 +30237,7 @@ paths: type: integer format: int64 examples: - default: &182 + default: &184 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30097,23 +30258,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *97 - - &185 + - &187 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *179 - - *180 + - *181 + - *182 responses: '200': description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 x-github: enabledForGitHubApps: true category: orgs @@ -30132,18 +30293,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *97 - - *179 - - *180 - - *183 - - *184 + - *181 + - *182 + - *185 + - *186 responses: '200': description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 x-github: enabledForGitHubApps: true category: orgs @@ -30161,9 +30322,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *97 - - *179 - - *180 - - &186 + - *181 + - *182 + - &188 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30176,7 +30337,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &189 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30192,7 +30353,7 @@ paths: type: integer format: int64 examples: - default: &188 + default: &190 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30229,18 +30390,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *97 - - *185 - - *179 - - *180 - - *186 + - *187 + - *181 + - *182 + - *188 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 x-github: enabledForGitHubApps: true category: orgs @@ -30258,19 +30419,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *97 - - *183 - - *184 - - *179 - - *180 + - *185 - *186 + - *181 + - *182 + - *188 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 x-github: enabledForGitHubApps: true category: orgs @@ -30288,13 +30449,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *97 - - *185 - - *179 - - *180 + - *187 + - *181 + - *182 - *19 - *17 - *46 - - *189 + - *191 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30378,7 +30539,7 @@ paths: application/json: schema: *20 examples: - default: &499 + default: &501 value: id: 1 account: @@ -30544,12 +30705,12 @@ paths: application/json: schema: anyOf: - - &191 + - &193 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &190 + limit: &192 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30577,7 +30738,7 @@ paths: properties: {} additionalProperties: false examples: - default: &192 + default: &194 value: limit: collaborators_only origin: organization @@ -30606,13 +30767,13 @@ paths: required: true content: application/json: - schema: &500 + schema: &502 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *190 + limit: *192 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30637,9 +30798,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 '422': *15 x-github: githubCloudOnly: false @@ -30715,9 +30876,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 headers: Link: *57 '404': *6 @@ -30794,7 +30955,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: default: value: @@ -30849,7 +31010,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *97 - - &195 + - &197 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30880,7 +31041,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *97 - - *195 + - *197 - *17 - *19 responses: @@ -30890,9 +31051,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: &212 + default: &214 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30935,7 +31096,7 @@ paths: application/json: schema: type: array - items: *196 + items: *198 examples: default: value: @@ -31023,9 +31184,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: - default: &197 + default: &199 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31058,7 +31219,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *97 - - &198 + - &200 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31114,9 +31275,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: - default: *197 + default: *199 '404': *6 '422': *7 x-github: @@ -31141,7 +31302,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *97 - - *198 + - *200 responses: '204': description: Response @@ -31204,7 +31365,7 @@ paths: - closed - all default: open - - *199 + - *201 - name: type description: Can be the name of an issue type. in: query @@ -31235,7 +31396,7 @@ paths: type: array items: *81 examples: - default: *200 + default: *202 headers: Link: *57 '404': *6 @@ -31394,9 +31555,9 @@ paths: type: integer codespaces: type: array - items: *201 + items: *203 examples: - default: *202 + default: *204 '304': *35 '500': *98 '401': *23 @@ -31423,7 +31584,7 @@ paths: parameters: - *97 - *62 - - &203 + - &205 name: codespace_name in: path required: true @@ -31458,15 +31619,15 @@ paths: parameters: - *97 - *62 - - *203 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: &432 + default: &434 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31646,7 +31807,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *204 + schema: *206 examples: default: value: @@ -31722,7 +31883,7 @@ paths: description: Response content: application/json: - schema: &205 + schema: &207 title: Org Membership description: Org Membership type: object @@ -31771,7 +31932,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *156 + organization: *158 user: anyOf: - type: 'null' @@ -31791,7 +31952,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &206 + response-if-user-has-an-active-admin-membership-with-organization: &208 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31888,9 +32049,9 @@ paths: description: Response content: application/json: - schema: *205 + schema: *207 examples: - response-if-user-already-had-membership-with-organization: *206 + response-if-user-already-had-membership-with-organization: *208 '422': *15 '403': *27 x-github: @@ -31962,7 +32123,7 @@ paths: application/json: schema: type: array - items: &207 + items: &209 title: Migration description: A migration. type: object @@ -32300,7 +32461,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -32479,7 +32640,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *97 - - &208 + - &210 name: migration_id description: The unique identifier of the migration. in: path @@ -32507,7 +32668,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -32677,7 +32838,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *97 - - *208 + - *210 responses: '302': description: Response @@ -32699,7 +32860,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *97 - - *208 + - *210 responses: '204': description: Response @@ -32723,8 +32884,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *97 - - *208 - - &644 + - *210 + - &646 name: repo_name description: repo_name parameter in: path @@ -32752,7 +32913,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *97 - - *208 + - *210 - *17 - *19 responses: @@ -32762,9 +32923,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: &219 + default: &221 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32917,7 +33078,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &210 + items: &212 title: Organization Role description: Organization roles type: object @@ -33094,7 +33255,7 @@ paths: parameters: - *97 - *64 - - &209 + - &211 name: role_id description: The unique identifier of the role. in: path @@ -33131,7 +33292,7 @@ paths: parameters: - *97 - *64 - - *209 + - *211 responses: '204': description: Response @@ -33184,7 +33345,7 @@ paths: parameters: - *97 - *62 - - *209 + - *211 responses: '204': description: Response @@ -33216,7 +33377,7 @@ paths: parameters: - *97 - *62 - - *209 + - *211 responses: '204': description: Response @@ -33245,13 +33406,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *97 - - *209 + - *211 responses: '200': description: Response content: application/json: - schema: *210 + schema: *212 examples: default: value: @@ -33302,7 +33463,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *97 - - *209 + - *211 - *17 - *19 responses: @@ -33381,7 +33542,7 @@ paths: parent: anyOf: - type: 'null' - - *211 + - *213 type: description: The ownership type of the team type: string @@ -33414,7 +33575,7 @@ paths: - type - parent examples: - default: *212 + default: *214 headers: Link: *57 '404': @@ -33444,7 +33605,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *97 - - *209 + - *211 - *17 - *19 responses: @@ -33473,7 +33634,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *211 + items: *213 name: type: - string @@ -33783,7 +33944,7 @@ paths: - nuget - container - *97 - - &646 + - &648 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33819,12 +33980,12 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: *214 + default: *216 '403': *27 '401': *23 - '400': &648 + '400': &650 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33846,7 +34007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &215 + - &217 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 @@ -33864,7 +34025,7 @@ paths: - docker - nuget - container - - &216 + - &218 name: package_name description: The name of the package. in: path @@ -33877,7 +34038,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -33929,8 +34090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *215 - - *216 + - *217 + - *218 - *97 responses: '204': @@ -33963,8 +34124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *215 - - *216 + - *217 + - *218 - *97 - name: token description: package token @@ -33997,8 +34158,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: - - *215 - - *216 + - *217 + - *218 - *97 - *19 - *17 @@ -34019,7 +34180,7 @@ paths: application/json: schema: type: array - items: &217 + items: &219 title: Package Version description: A version of a software package type: object @@ -34154,10 +34315,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *215 - - *216 + - *217 + - *218 - *97 - - &218 + - &220 name: package_version_id description: Unique identifier of the package version. in: path @@ -34169,7 +34330,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -34205,10 +34366,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *215 - - *216 - - *97 + - *217 - *218 + - *97 + - *220 responses: '204': description: Response @@ -34240,10 +34401,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *215 - - *216 - - *97 + - *217 - *218 + - *97 + - *220 responses: '204': description: Response @@ -34273,7 +34434,7 @@ paths: - *97 - *17 - *19 - - &220 + - &222 name: sort description: The property by which to sort the results. in: query @@ -34284,7 +34445,7 @@ paths: - created_at default: created_at - *46 - - &221 + - &223 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34296,7 +34457,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &222 + - &224 name: repository description: The name of the repository to use to filter the results. in: query @@ -34305,7 +34466,7 @@ paths: type: string examples: - Hello-World - - &223 + - &225 name: permission description: The permission to use to filter the results. in: query @@ -34314,7 +34475,7 @@ paths: type: string examples: - issues_read - - &224 + - &226 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) @@ -34324,7 +34485,7 @@ paths: schema: type: string format: date-time - - &225 + - &227 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) @@ -34334,7 +34495,7 @@ paths: schema: type: string format: date-time - - &226 + - &228 name: token_id description: The ID of the token in: query @@ -34610,7 +34771,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *152 + '204': *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34651,9 +34812,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -34679,14 +34840,14 @@ paths: - *97 - *17 - *19 - - *220 - - *46 - - *221 - *222 + - *46 - *223 - *224 - *225 - *226 + - *227 + - *228 responses: '500': *98 '422': *15 @@ -34927,7 +35088,7 @@ paths: responses: '500': *98 '404': *6 - '204': *152 + '204': *154 '403': *27 '422': *15 x-github: @@ -34968,9 +35129,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -35012,7 +35173,7 @@ paths: type: integer configurations: type: array - items: &227 + items: &229 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35271,7 +35432,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &228 + org-private-registry-with-selected-visibility: &230 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35363,15 +35524,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *97 - - *135 + - *137 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 '404': *6 x-github: githubCloudOnly: false @@ -35393,7 +35554,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -35490,7 +35651,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *97 - - *135 + - *137 responses: '204': description: Response @@ -35536,7 +35697,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 title: Project description: Projects are a way to organize columns and cards of work. @@ -35718,7 +35879,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -35756,7 +35917,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &317 + '410': &319 description: Gone content: application/json: @@ -35799,7 +35960,7 @@ paths: application/json: schema: type: array - items: &230 + items: &232 title: Projects v2 Project description: A projects v2 project type: object @@ -35873,7 +36034,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &724 + - &727 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -35958,7 +36119,7 @@ paths: - deleted_at - deleted_by examples: - default: &231 + default: &233 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36061,7 +36222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &232 + - &234 name: project_number description: The project's number. in: path @@ -36074,9 +36235,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 headers: Link: *57 '304': *35 @@ -36098,7 +36259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *232 + - *234 - *97 - *17 - *38 @@ -36110,7 +36271,7 @@ paths: application/json: schema: type: array - items: &233 + items: &235 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36260,7 +36421,7 @@ paths: - updated_at - project_url examples: - default: &234 + default: &236 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36303,8 +36464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *232 - - &665 + - *234 + - &667 name: field_id description: The unique identifier of the field. in: path @@ -36317,9 +36478,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 headers: Link: *57 '304': *35 @@ -36342,7 +36503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *232 + - *234 - *97 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -36373,7 +36534,7 @@ paths: application/json: schema: type: array - items: &239 + items: &241 title: Projects v2 Item description: An item belonging to a project type: object @@ -36390,7 +36551,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &237 + content_type: &239 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36447,7 +36608,7 @@ paths: - updated_at - archived_at examples: - default: &240 + default: &242 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37142,7 +37303,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *97 - - *232 + - *234 requestBody: required: true description: Details of the item to add to the project. @@ -37179,7 +37340,7 @@ paths: description: Response content: application/json: - schema: &666 + schema: &668 title: Projects v2 Item description: An item belonging to a project type: object @@ -37193,7 +37354,7 @@ paths: content: oneOf: - *81 - - &445 + - &447 title: Pull Request Simple description: Pull Request Simple type: object @@ -37313,7 +37474,7 @@ paths: milestone: anyOf: - type: 'null' - - *235 + - *237 active_lock_reason: type: - string @@ -37368,7 +37529,7 @@ paths: type: - array - 'null' - items: *157 + items: *159 head: type: object properties: @@ -37412,7 +37573,7 @@ paths: _links: type: object properties: - comments: &236 + comments: &238 title: Link description: Hypermedia Link type: object @@ -37421,13 +37582,13 @@ paths: type: string required: - href - commits: *236 - statuses: *236 - html: *236 - issue: *236 - review_comments: *236 - review_comment: *236 - self: *236 + commits: *238 + statuses: *238 + html: *238 + issue: *238 + review_comments: *238 + review_comment: *238 + self: *238 required: - comments - commits @@ -37438,7 +37599,7 @@ paths: - review_comment - self author_association: *67 - auto_merge: &542 + auto_merge: &544 title: Auto merge description: The status of auto merging a pull request. type: @@ -37540,7 +37701,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *237 + content_type: *239 creator: *4 created_at: type: string @@ -37577,7 +37738,7 @@ paths: - updated_at - archived_at examples: - issue: &238 + issue: &240 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37632,7 +37793,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *238 + pull_request: *240 '304': *35 '403': *27 '401': *23 @@ -37652,9 +37813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *232 + - *234 - *97 - - &241 + - &243 name: item_id description: The unique identifier of the project item. in: path @@ -37678,9 +37839,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 headers: Link: *57 '304': *35 @@ -37701,9 +37862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *232 + - *234 - *97 - - *241 + - *243 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37776,13 +37937,13 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - text_field: *240 - number_field: *240 - date_field: *240 - single_select_field: *240 - iteration_field: *240 + text_field: *242 + number_field: *242 + date_field: *242 + single_select_field: *242 + iteration_field: *242 '401': *23 '403': *27 '404': *6 @@ -37802,9 +37963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *232 + - *234 - *97 - - *241 + - *243 responses: '204': description: Response @@ -37836,7 +37997,7 @@ paths: application/json: schema: type: array - items: &242 + items: &244 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37912,7 +38073,7 @@ paths: - property_name - value_type examples: - default: &243 + default: &245 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37971,7 +38132,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *242 + items: *244 minItems: 1 maxItems: 100 required: @@ -38001,9 +38162,9 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: - default: *243 + default: *245 '403': *27 '404': *6 x-github: @@ -38025,7 +38186,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *97 - - &244 + - &246 name: custom_property_name description: The custom property name in: path @@ -38037,9 +38198,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: &245 + default: &247 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38074,7 +38235,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *97 - - *244 + - *246 requestBody: required: true content: @@ -38152,9 +38313,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *245 + default: *247 '403': *27 '404': *6 x-github: @@ -38178,9 +38339,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *97 - - *244 + - *246 responses: - '204': *152 + '204': *154 '403': *27 '404': *6 x-github: @@ -38242,7 +38403,7 @@ paths: - octocat/Hello-World properties: type: array - items: &246 + items: &248 title: Custom Property Value description: Custom property name and associated value type: object @@ -38332,7 +38493,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *246 + items: *248 required: - repository_names - properties @@ -38522,9 +38683,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -38727,7 +38888,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &321 title: Full Repository description: Full Repository type: object @@ -39192,7 +39353,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &450 + code_of_conduct: &452 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39222,7 +39383,7 @@ paths: - key - name - html_url - security_and_analysis: *247 + security_and_analysis: *249 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39306,7 +39467,7 @@ paths: - network_count - subscribers_count examples: - default: &321 + default: &323 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39827,7 +39988,7 @@ paths: - *97 - *17 - *19 - - &565 + - &567 name: targets description: | A comma-separated list of rule targets to filter by. @@ -39846,7 +40007,7 @@ paths: application/json: schema: type: array - items: &273 + items: &275 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -39881,7 +40042,7 @@ paths: source: type: string description: The name of the source - enforcement: &250 + enforcement: &252 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -39894,7 +40055,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &251 + items: &253 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39965,7 +40126,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &248 + - &250 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39989,7 +40150,7 @@ paths: match. items: type: string - - &252 + - &254 title: Organization ruleset conditions type: object description: |- @@ -40003,7 +40164,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *248 + - *250 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40037,7 +40198,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *248 + - *250 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40059,7 +40220,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *248 + - *250 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40072,7 +40233,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &249 + items: &251 title: Repository ruleset property targeting definition type: object @@ -40105,7 +40266,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *249 + items: *251 required: - repository_property type: @@ -40113,12 +40274,12 @@ paths: - object rules: type: array - items: &566 + items: &568 title: Repository Rule type: object description: A repository rule. oneOf: - - &253 + - &255 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40130,7 +40291,7 @@ paths: type: string enum: - creation - - &254 + - &256 title: update description: Only allow users with bypass permission to update matching refs. @@ -40151,7 +40312,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &255 + - &257 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40163,7 +40324,7 @@ paths: type: string enum: - deletion - - &256 + - &258 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40175,7 +40336,7 @@ paths: type: string enum: - required_linear_history - - &563 + - &565 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40253,7 +40414,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &257 + - &259 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40277,7 +40438,7 @@ paths: type: string required: - required_deployment_environments - - &258 + - &260 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40289,7 +40450,7 @@ paths: type: string enum: - required_signatures - - &259 + - &261 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40351,7 +40512,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &260 + - &262 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40399,7 +40560,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &261 + - &263 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40411,7 +40572,7 @@ paths: type: string enum: - non_fast_forward - - &262 + - &264 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40447,7 +40608,7 @@ paths: required: - operator - pattern - - &263 + - &265 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40483,7 +40644,7 @@ paths: required: - operator - pattern - - &264 + - &266 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40519,7 +40680,7 @@ paths: required: - operator - pattern - - &265 + - &267 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40555,7 +40716,7 @@ paths: required: - operator - pattern - - &266 + - &268 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40591,7 +40752,7 @@ paths: required: - operator - pattern - - &267 + - &269 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40616,7 +40777,7 @@ paths: type: string required: - restricted_file_paths - - &268 + - &270 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40640,7 +40801,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &269 + - &271 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40663,7 +40824,7 @@ paths: type: string required: - restricted_file_extensions - - &270 + - &272 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40688,7 +40849,7 @@ paths: maximum: 100 required: - max_file_size - - &271 + - &273 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40738,7 +40899,7 @@ paths: - repository_id required: - workflows - - &272 + - &274 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40799,7 +40960,7 @@ paths: - tool required: - code_scanning_tools - - &564 + - &566 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -40897,22 +41058,20 @@ paths: - push - repository default: branch - enforcement: *250 + enforcement: *252 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *251 - conditions: *252 + items: *253 + conditions: *254 rules: type: array description: An array of rules within the ruleset. - items: &275 + items: &277 title: Repository Rule type: object description: A repository rule. oneOf: - - *253 - - *254 - *255 - *256 - *257 @@ -40931,6 +41090,8 @@ paths: - *270 - *271 - *272 + - *273 + - *274 required: - name - enforcement @@ -40968,9 +41129,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: &274 + default: &276 value: id: 21 name: super cool ruleset @@ -41025,7 +41186,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *97 - - &567 + - &569 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 @@ -41040,7 +41201,7 @@ paths: in: query schema: type: string - - &568 + - &570 name: time_period description: |- The time period to filter by. @@ -41056,14 +41217,14 @@ paths: - week - month default: day - - &569 + - &571 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 - - &570 + - &572 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41083,7 +41244,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 title: Rule Suites description: Response type: array @@ -41139,7 +41300,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &572 + default: &574 value: - id: 21 actor_id: 12 @@ -41183,7 +41344,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *97 - - &573 + - &575 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41199,7 +41360,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &576 title: Rule Suite description: Response type: object @@ -41306,7 +41467,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &575 + default: &577 value: id: 21 actor_id: 12 @@ -41379,9 +41540,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 '404': *6 '500': *98 put: @@ -41425,16 +41586,16 @@ paths: - tag - push - repository - enforcement: *250 + enforcement: *252 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *251 - conditions: *252 + items: *253 + conditions: *254 rules: description: An array of rules within the ruleset. type: array - items: *275 + items: *277 examples: default: value: @@ -41469,9 +41630,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 '404': *6 '500': *98 delete: @@ -41528,7 +41689,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Ruleset version type: object description: The historical version of a ruleset @@ -41552,7 +41713,7 @@ paths: type: string format: date-time examples: - default: &577 + default: &579 value: - version_id: 3 actor: @@ -41605,9 +41766,9 @@ paths: description: Response content: application/json: - schema: &578 + schema: &580 allOf: - - *276 + - *278 - type: object required: - state @@ -41677,14 +41838,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *97 - - *277 - - *278 - *279 - *280 + - *281 + - *282 - *46 - *19 - *17 - - &579 + - &581 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 @@ -41694,7 +41855,7 @@ paths: required: false schema: type: string - - &580 + - &582 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 @@ -41704,10 +41865,10 @@ paths: required: false schema: type: string - - *281 - - *282 - *283 - *284 + - *285 + - *286 responses: '200': description: Response @@ -41715,9 +41876,9 @@ paths: application/json: schema: type: array - items: *285 + items: *287 examples: - default: *286 + default: *288 headers: Link: *57 '404': *6 @@ -41758,7 +41919,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &288 + pattern_config_version: &290 type: - string - 'null' @@ -41768,7 +41929,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &287 + items: &289 type: object properties: token_type: @@ -41837,7 +41998,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *287 + items: *289 examples: default: value: @@ -41894,7 +42055,7 @@ paths: schema: type: object properties: - pattern_config_version: *288 + pattern_config_version: *290 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41920,7 +42081,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *288 + custom_pattern_version: *290 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42018,7 +42179,7 @@ paths: application/json: schema: type: array - items: &601 + items: &603 description: A repository security advisory. type: object properties: @@ -42262,7 +42423,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *291 credits_detailed: type: - array @@ -42273,7 +42434,7 @@ paths: type: object properties: user: *4 - type: *289 + type: *291 state: type: string description: The state of the user's acceptance of the @@ -42299,7 +42460,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *157 + items: *159 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -42337,7 +42498,7 @@ paths: - private_fork additionalProperties: false examples: - default: &602 + default: &604 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42724,9 +42885,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42811,7 +42972,7 @@ paths: description: Response content: application/json: - schema: &667 + schema: &669 type: object properties: total_minutes_used: @@ -42881,7 +43042,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &668 + default: &670 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42917,7 +43078,7 @@ paths: description: Response content: application/json: - schema: &669 + schema: &671 type: object properties: total_gigabytes_bandwidth_used: @@ -42935,7 +43096,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &670 + default: &672 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42967,7 +43128,7 @@ paths: description: Response content: application/json: - schema: &671 + schema: &676 type: object properties: days_left_in_billing_cycle: @@ -42985,7 +43146,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &672 + default: &677 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43027,7 +43188,7 @@ paths: type: integer network_configurations: type: array - items: &290 + items: &292 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43152,9 +43313,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: &291 + default: &293 value: id: 123456789ABCDEF name: My network configuration @@ -43183,7 +43344,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *97 - - &292 + - &294 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43195,9 +43356,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *291 + default: *293 headers: Link: *57 x-github: @@ -43219,7 +43380,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *97 - - *292 + - *294 requestBody: required: true content: @@ -43258,9 +43419,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *291 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43280,7 +43441,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *97 - - *292 + - *294 responses: '204': description: Response @@ -43425,13 +43586,13 @@ paths: application/json: schema: type: array - items: *293 + items: *295 examples: - default: *294 + default: *296 '500': *98 '403': *27 '404': *6 - '422': *295 + '422': *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43459,9 +43620,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 headers: Link: *57 '403': *27 @@ -43555,7 +43716,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &298 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43629,7 +43790,7 @@ paths: parent: anyOf: - type: 'null' - - *211 + - *213 members_count: type: integer examples: @@ -43954,7 +44115,7 @@ paths: - repos_count - organization examples: - default: &297 + default: &299 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44031,9 +44192,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *6 x-github: githubCloudOnly: false @@ -44118,16 +44279,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '201': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *6 '422': *15 '403': *27 @@ -44197,7 +44358,7 @@ paths: application/json: schema: type: array - items: &298 + items: &300 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44308,7 +44469,7 @@ paths: - updated_at - url examples: - default: &619 + default: &621 value: - author: login: octocat @@ -44417,9 +44578,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: &299 + default: &301 value: author: login: octocat @@ -44493,7 +44654,7 @@ paths: parameters: - *97 - *64 - - &300 + - &302 name: discussion_number description: The number that identifies the discussion. in: path @@ -44505,9 +44666,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44531,7 +44692,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 requestBody: required: false content: @@ -44554,9 +44715,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: &620 + default: &622 value: author: login: octocat @@ -44628,7 +44789,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 responses: '204': description: Response @@ -44656,7 +44817,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 - *46 - *17 - *19 @@ -44667,7 +44828,7 @@ paths: application/json: schema: type: array - items: &301 + items: &303 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44747,7 +44908,7 @@ paths: - updated_at - url examples: - default: &621 + default: &623 value: - author: login: octocat @@ -44817,7 +44978,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 requestBody: required: true content: @@ -44839,9 +45000,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: &302 + default: &304 value: author: login: octocat @@ -44909,8 +45070,8 @@ paths: parameters: - *97 - *64 - - *300 - - &303 + - *302 + - &305 name: comment_number description: The number that identifies the comment. in: path @@ -44922,9 +45083,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: *302 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44948,8 +45109,8 @@ paths: parameters: - *97 - *64 - - *300 - - *303 + - *302 + - *305 requestBody: required: true content: @@ -44971,9 +45132,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: &622 + default: &624 value: author: login: octocat @@ -45039,8 +45200,8 @@ paths: parameters: - *97 - *64 - - *300 - - *303 + - *302 + - *305 responses: '204': description: Response @@ -45068,8 +45229,8 @@ paths: parameters: - *97 - *64 - - *300 - - *303 + - *302 + - *305 - 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. @@ -45095,7 +45256,7 @@ paths: application/json: schema: type: array - items: &304 + items: &306 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45139,7 +45300,7 @@ paths: - content - created_at examples: - default: &306 + default: &308 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45191,8 +45352,8 @@ paths: parameters: - *97 - *64 - - *300 - - *303 + - *302 + - *305 requestBody: required: true content: @@ -45225,9 +45386,9 @@ paths: team discussion comment content: application/json: - schema: *304 + schema: *306 examples: - default: &305 + default: &307 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45256,9 +45417,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45283,9 +45444,9 @@ paths: parameters: - *97 - *64 - - *300 - - *303 - - &307 + - *302 + - *305 + - &309 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45319,7 +45480,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 - 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. @@ -45345,9 +45506,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 x-github: @@ -45375,7 +45536,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 requestBody: required: true content: @@ -45407,16 +45568,16 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45441,8 +45602,8 @@ paths: parameters: - *97 - *64 - - *300 - - *307 + - *302 + - *309 responses: '204': description: Response @@ -45477,9 +45638,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 headers: Link: *57 x-github: @@ -45563,7 +45724,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &310 title: Team Membership description: Team Membership type: object @@ -45591,7 +45752,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &623 + response-if-user-is-a-team-maintainer: &625 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45654,9 +45815,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - response-if-users-membership-with-team-is-now-pending: &624 + response-if-users-membership-with-team-is-now-pending: &626 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45729,7 +45890,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Team Project description: A team's access to a project. type: object @@ -45798,7 +45959,7 @@ paths: - updated_at - permissions examples: - default: &625 + default: &627 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45863,7 +46024,7 @@ paths: parameters: - *97 - *64 - - &310 + - &312 name: project_id description: The unique identifier of the project. in: path @@ -45875,9 +46036,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &626 + default: &628 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45941,7 +46102,7 @@ paths: parameters: - *97 - *64 - - *310 + - *312 requestBody: required: false content: @@ -46010,7 +46171,7 @@ paths: parameters: - *97 - *64 - - *310 + - *312 responses: '204': description: Response @@ -46048,9 +46209,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -46081,14 +46242,14 @@ paths: parameters: - *97 - *64 - - *311 - - *312 + - *313 + - *314 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &627 + schema: &629 title: Team Repository description: A team's access to a repository. type: object @@ -46731,8 +46892,8 @@ paths: parameters: - *97 - *64 - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -46779,8 +46940,8 @@ paths: parameters: - *97 - *64 - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -46815,9 +46976,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - response-if-child-teams-exist: &628 + response-if-child-teams-exist: &630 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46944,7 +47105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &313 + - &315 name: column_id description: The unique identifier of the column. in: path @@ -46956,7 +47117,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &316 title: Project Column description: Project columns contain cards of work. type: object @@ -47010,7 +47171,7 @@ paths: - created_at - updated_at examples: - default: &315 + default: &317 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47045,7 +47206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *313 + - *315 requestBody: required: true content: @@ -47070,9 +47231,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *315 + default: *317 '304': *35 '403': *27 '401': *23 @@ -47097,7 +47258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *313 + - *315 responses: '204': description: Response @@ -47126,7 +47287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *313 + - *315 requestBody: required: true content: @@ -47187,15 +47348,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *310 + - *312 responses: '200': description: Response content: application/json: - schema: *229 + schema: *231 examples: - default: &316 + default: &318 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47252,7 +47413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *310 + - *312 requestBody: required: false content: @@ -47301,9 +47462,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: - default: *316 + default: *318 '404': description: Not Found if the authenticated user does not have access to the project @@ -47324,7 +47485,7 @@ paths: items: type: string '401': *23 - '410': *317 + '410': *319 '422': *7 x-github: githubCloudOnly: false @@ -47347,7 +47508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *310 + - *312 responses: '204': description: Delete Success @@ -47368,7 +47529,7 @@ paths: items: type: string '401': *23 - '410': *317 + '410': *319 '404': *6 x-github: githubCloudOnly: false @@ -47392,7 +47553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *310 + - *312 - 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 @@ -47449,7 +47610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *310 + - *312 - *62 requestBody: required: false @@ -47504,7 +47665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *310 + - *312 - *62 responses: '204': @@ -47536,7 +47697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *310 + - *312 - *62 responses: '200': @@ -47607,7 +47768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *310 + - *312 - *17 - *19 responses: @@ -47617,7 +47778,7 @@ paths: application/json: schema: type: array - items: *314 + items: *316 examples: default: value: @@ -47655,7 +47816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *310 + - *312 requestBody: required: true content: @@ -47679,7 +47840,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: default: value: @@ -47744,7 +47905,7 @@ paths: resources: type: object properties: - core: &318 + core: &320 title: Rate Limit type: object properties: @@ -47761,21 +47922,21 @@ paths: - remaining - reset - used - graphql: *318 - search: *318 - code_search: *318 - source_import: *318 - integration_manifest: *318 - code_scanning_upload: *318 - actions_runner_registration: *318 - scim: *318 - dependency_snapshots: *318 - dependency_sbom: *318 - code_scanning_autofix: *318 + graphql: *320 + search: *320 + code_search: *320 + source_import: *320 + integration_manifest: *320 + code_scanning_upload: *320 + actions_runner_registration: *320 + scim: *320 + dependency_snapshots: *320 + dependency_sbom: *320 + code_scanning_autofix: *320 required: - core - search - rate: *318 + rate: *320 required: - rate - resources @@ -47880,14 +48041,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: default-response: summary: Default response @@ -48388,7 +48549,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *320 + '301': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48406,8 +48567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -48655,10 +48816,10 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 - '307': &322 + default: *323 + '307': &324 description: Temporary Redirect content: application/json: @@ -48687,8 +48848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -48710,7 +48871,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *322 + '307': *324 '404': *6 '409': *45 x-github: @@ -48734,11 +48895,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 - - &353 + - &355 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48761,7 +48922,7 @@ paths: type: integer artifacts: type: array - items: &323 + items: &325 title: Artifact description: An artifact type: object @@ -48856,7 +49017,7 @@ paths: - expires_at - updated_at examples: - default: &354 + default: &356 value: total_count: 2 artifacts: @@ -48917,9 +49078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *311 - - *312 - - &324 + - *313 + - *314 + - &326 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48931,7 +49092,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: default: value: @@ -48969,9 +49130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *311 - - *312 - - *324 + - *313 + - *314 + - *326 responses: '204': description: Response @@ -48995,9 +49156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *311 - - *312 - - *324 + - *313 + - *314 + - *326 - name: archive_format in: path required: true @@ -49011,7 +49172,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49034,14 +49195,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *325 + schema: *327 examples: default: value: @@ -49067,11 +49228,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 - - &326 + - &328 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 @@ -49105,7 +49266,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &329 title: Repository actions caches description: Repository actions caches type: object @@ -49155,7 +49316,7 @@ paths: - total_count - actions_caches examples: - default: &328 + default: &330 value: total_count: 1 actions_caches: @@ -49187,23 +49348,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: - - *311 - - *312 + - *313 + - *314 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *326 + - *328 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *328 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49223,8 +49384,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: - - *311 - - *312 + - *313 + - *314 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49255,9 +49416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *311 - - *312 - - &329 + - *313 + - *314 + - &331 name: job_id description: The unique identifier of the job. in: path @@ -49269,7 +49430,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &359 title: Job description: Information of a job execution in a workflow run type: object @@ -49616,9 +49777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *311 - - *312 - - *329 + - *313 + - *314 + - *331 responses: '302': description: Response @@ -49646,9 +49807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *311 - - *312 - - *329 + - *313 + - *314 + - *331 requestBody: required: false content: @@ -49670,7 +49831,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -49694,8 +49855,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Status response @@ -49745,8 +49906,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -49780,7 +49941,7 @@ paths: description: Empty response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -49809,8 +49970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -49828,7 +49989,7 @@ paths: type: integer secrets: type: array - items: &359 + items: &361 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49849,7 +50010,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &362 value: total_count: 2 secrets: @@ -49882,9 +50043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *311 - - *312 - - *330 + - *313 + - *314 + - *332 - *19 responses: '200': @@ -49901,7 +50062,7 @@ paths: type: integer variables: type: array - items: &363 + items: &365 title: Actions Variable type: object properties: @@ -49935,7 +50096,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &366 value: total_count: 2 variables: @@ -49968,8 +50129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -49978,12 +50139,12 @@ paths: schema: type: object properties: - enabled: &332 + enabled: &334 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *112 - selected_actions_url: *331 - sha_pinning_required: *113 + allowed_actions: *114 + selected_actions_url: *333 + sha_pinning_required: *115 required: - enabled examples: @@ -50011,8 +50172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -50023,9 +50184,9 @@ paths: schema: type: object properties: - enabled: *332 - allowed_actions: *112 - sha_pinning_required: *113 + enabled: *334 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled examples: @@ -50055,14 +50216,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &333 + schema: &335 type: object properties: access_level: @@ -50079,7 +50240,7 @@ paths: required: - access_level examples: - default: &334 + default: &336 value: access_level: organization x-github: @@ -50103,15 +50264,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: application/json: - schema: *333 + schema: *335 examples: - default: *334 + default: *336 responses: '204': description: Response @@ -50135,14 +50296,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *335 + schema: *337 examples: default: value: @@ -50166,8 +50327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Empty response for successful settings update @@ -50177,7 +50338,7 @@ paths: required: true content: application/json: - schema: *336 + schema: *338 examples: default: summary: Set retention days @@ -50201,16 +50362,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *114 + schema: *116 examples: - default: *337 + default: *339 '404': *6 x-github: enabledForGitHubApps: true @@ -50229,8 +50390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -50240,7 +50401,7 @@ paths: required: true content: application/json: - schema: *114 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -50264,16 +50425,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *115 + default: *117 '403': *27 '404': *6 x-github: @@ -50293,15 +50454,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: application/json: - schema: *339 + schema: *341 examples: - default: *115 + default: *117 responses: '204': description: Empty response for successful settings update @@ -50325,16 +50486,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *117 + schema: *119 examples: - default: *118 + default: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50353,8 +50514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -50362,9 +50523,9 @@ paths: required: false content: application/json: - schema: *117 + schema: *119 examples: - selected_actions: *118 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50386,16 +50547,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *122 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50416,8 +50577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Success response @@ -50428,9 +50589,9 @@ paths: required: true content: application/json: - schema: *341 + schema: *343 examples: - default: *122 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50457,8 +50618,8 @@ paths: in: query schema: type: string - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -50476,9 +50637,9 @@ paths: type: integer runners: type: array - items: *129 + items: *131 examples: - default: *130 + default: *132 headers: Link: *57 x-github: @@ -50502,8 +50663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -50511,9 +50672,9 @@ paths: application/json: schema: type: array - items: *342 + items: *344 examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50535,8 +50696,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -50579,7 +50740,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *344 + '201': *346 '404': *6 '422': *7 '409': *45 @@ -50610,16 +50771,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '201': description: Response content: application/json: - schema: *131 + schema: *133 examples: - default: *345 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50647,16 +50808,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '201': description: Response content: application/json: - schema: *131 + schema: *133 examples: - default: *346 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50678,17 +50839,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 responses: '200': description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: *347 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50709,9 +50870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 responses: '204': description: Response @@ -50737,11 +50898,11 @@ 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: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 responses: - '200': *133 + '200': *135 '404': *6 x-github: githubCloudOnly: false @@ -50763,9 +50924,9 @@ 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: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 requestBody: required: true content: @@ -50789,7 +50950,7 @@ paths: - gpu - accelerated responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -50813,9 +50974,9 @@ 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: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 requestBody: required: true content: @@ -50840,7 +51001,7 @@ paths: - gpu - accelerated responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -50864,11 +51025,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: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 responses: - '200': *348 + '200': *350 '404': *6 x-github: githubCloudOnly: false @@ -50895,12 +51056,12 @@ 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: - - *311 - - *312 - - *128 - - *349 + - *313 + - *314 + - *130 + - *351 responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -50926,9 +51087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *311 - - *312 - - &367 + - *313 + - *314 + - &369 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. @@ -50936,7 +51097,7 @@ paths: required: false schema: type: string - - &368 + - &370 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50944,7 +51105,7 @@ paths: required: false schema: type: string - - &369 + - &371 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50953,7 +51114,7 @@ paths: required: false schema: type: string - - &370 + - &372 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 @@ -50980,7 +51141,7 @@ paths: - pending - *17 - *19 - - &371 + - &373 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)." @@ -50989,7 +51150,7 @@ paths: schema: type: string format: date-time - - &350 + - &352 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50998,13 +51159,13 @@ paths: schema: type: boolean default: false - - &372 + - &374 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &373 + - &375 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51027,7 +51188,7 @@ paths: type: integer workflow_runs: type: array - items: &351 + items: &353 title: Workflow Run description: An invocation of a workflow type: object @@ -51144,7 +51305,7 @@ paths: type: - array - 'null' - items: &392 + items: &394 title: Pull Request Minimal type: object properties: @@ -51271,7 +51432,7 @@ paths: head_commit: anyOf: - type: 'null' - - &396 + - &398 title: Simple Commit description: A commit. type: object @@ -51345,8 +51506,8 @@ paths: - timestamp - author - committer - repository: *127 - head_repository: *127 + repository: *129 + head_repository: *129 head_repository_id: type: integer examples: @@ -51386,7 +51547,7 @@ paths: - workflow_url - pull_requests examples: - default: &374 + default: &376 value: total_count: 1 workflow_runs: @@ -51622,24 +51783,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *311 - - *312 - - &352 + - *313 + - *314 + - &354 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *350 + - *352 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &355 + default: &357 value: id: 30433642 name: Build @@ -51880,9 +52041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '204': description: Response @@ -51905,9 +52066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '200': description: Response @@ -52035,15 +52196,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '201': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -52070,12 +52231,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 - *17 - *19 - - *353 + - *355 responses: '200': description: Response @@ -52091,9 +52252,9 @@ paths: type: integer artifacts: type: array - items: *323 + items: *325 examples: - default: *354 + default: *356 headers: Link: *57 x-github: @@ -52117,25 +52278,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *311 - - *312 - - *352 - - &356 + - *313 + - *314 + - *354 + - &358 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *350 + - *352 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52158,10 +52319,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *311 - - *312 - - *352 - - *356 + - *313 + - *314 + - *354 + - *358 - *17 - *19 responses: @@ -52179,9 +52340,9 @@ paths: type: integer jobs: type: array - items: *357 + items: *359 examples: - default: &358 + default: &360 value: total_count: 1 jobs: @@ -52294,10 +52455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *311 - - *312 - - *352 - - *356 + - *313 + - *314 + - *354 + - *358 responses: '302': description: Response @@ -52325,15 +52486,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '202': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -52360,9 +52521,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: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 requestBody: required: true content: @@ -52429,15 +52590,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '202': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -52464,9 +52625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 - 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 @@ -52496,9 +52657,9 @@ paths: type: integer jobs: type: array - items: *357 + items: *359 examples: - default: *358 + default: *360 headers: Link: *57 x-github: @@ -52523,9 +52684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '302': description: Response @@ -52552,9 +52713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '204': description: Response @@ -52581,9 +52742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '200': description: Response @@ -52652,7 +52813,7 @@ paths: items: type: object properties: - type: &469 + type: &471 type: string description: The type of reviewer. enum: @@ -52663,7 +52824,7 @@ paths: reviewer: anyOf: - *4 - - *157 + - *159 required: - environment - wait_timer @@ -52738,9 +52899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 requestBody: required: true content: @@ -52790,7 +52951,7 @@ paths: application/json: schema: type: array - items: &464 + items: &466 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52902,7 +53063,7 @@ paths: - created_at - updated_at examples: - default: &465 + default: &467 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52958,9 +53119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 requestBody: required: false content: @@ -52982,7 +53143,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -53005,9 +53166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 requestBody: required: false content: @@ -53029,7 +53190,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -53061,9 +53222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '200': description: Response @@ -53200,8 +53361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -53219,9 +53380,9 @@ paths: type: integer secrets: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -53246,16 +53407,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *362 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53277,17 +53438,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: &482 + default: &484 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53313,9 +53474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 requestBody: required: true content: @@ -53346,7 +53507,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -53372,9 +53533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '204': description: Response @@ -53399,9 +53560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *311 - - *312 - - *330 + - *313 + - *314 + - *332 - *19 responses: '200': @@ -53418,9 +53579,9 @@ paths: type: integer variables: type: array - items: *363 + items: *365 examples: - default: *364 + default: *366 headers: Link: *57 x-github: @@ -53443,8 +53604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -53471,7 +53632,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -53496,17 +53657,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *311 - - *312 - - *138 + - *313 + - *314 + - *140 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: &483 + default: &485 value: name: USERNAME value: octocat @@ -53532,9 +53693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *311 - - *312 - - *138 + - *313 + - *314 + - *140 requestBody: required: true content: @@ -53576,9 +53737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *311 - - *312 - - *138 + - *313 + - *314 + - *140 responses: '204': description: Response @@ -53603,8 +53764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -53622,7 +53783,7 @@ paths: type: integer workflows: type: array - items: &365 + items: &367 title: Workflow description: A GitHub Actions workflow type: object @@ -53740,9 +53901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *311 - - *312 - - &366 + - *313 + - *314 + - &368 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53757,7 +53918,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: default: value: @@ -53790,9 +53951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *311 - - *312 - - *366 + - *313 + - *314 + - *368 responses: '204': description: Response @@ -53817,9 +53978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *311 - - *312 - - *366 + - *313 + - *314 + - *368 responses: '204': description: Response @@ -53870,9 +54031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *311 - - *312 - - *366 + - *313 + - *314 + - *368 responses: '204': description: Response @@ -53899,19 +54060,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *311 - - *312 - - *366 - - *367 + - *313 + - *314 - *368 - *369 - *370 - - *17 - - *19 - *371 - - *350 - *372 + - *17 + - *19 - *373 + - *352 + - *374 + - *375 responses: '200': description: Response @@ -53927,9 +54088,9 @@ paths: type: integer workflow_runs: type: array - items: *351 + items: *353 examples: - default: *374 + default: *376 headers: Link: *57 x-github: @@ -53961,9 +54122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *311 - - *312 - - *366 + - *313 + - *314 + - *368 responses: '200': description: Response @@ -54024,8 +54185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *311 - - *312 + - *313 + - *314 - *46 - *17 - *38 @@ -54193,8 +54354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -54231,8 +54392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *311 - - *312 + - *313 + - *314 - name: assignee in: path required: true @@ -54268,8 +54429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -54381,8 +54542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *38 - *39 @@ -54438,7 +54599,7 @@ paths: initiator: type: string examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54458,8 +54619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -54467,7 +54628,7 @@ paths: application/json: schema: type: array - items: &376 + items: &378 title: Autolink reference description: An autolink reference. type: object @@ -54526,8 +54687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -54566,9 +54727,9 @@ paths: description: response content: application/json: - schema: *376 + schema: *378 examples: - default: &377 + default: &379 value: id: 1 key_prefix: TICKET- @@ -54599,9 +54760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *311 - - *312 - - &378 + - *313 + - *314 + - &380 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54613,9 +54774,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *377 + default: *379 '404': *6 x-github: githubCloudOnly: false @@ -54635,9 +54796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *311 - - *312 - - *378 + - *313 + - *314 + - *380 responses: '204': description: Response @@ -54661,8 +54822,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response if Dependabot is enabled @@ -54712,8 +54873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -54734,8 +54895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -54755,8 +54916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *311 - - *312 + - *313 + - *314 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54794,7 +54955,7 @@ paths: - url protected: type: boolean - protection: &380 + protection: &382 title: Branch Protection description: Branch Protection type: object @@ -54837,7 +54998,7 @@ paths: required: - contexts - checks - enforce_admins: &383 + enforce_admins: &385 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54854,7 +55015,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &385 + required_pull_request_reviews: &387 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54876,7 +55037,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *157 + items: *159 apps: description: The list of apps with review dismissal access. @@ -54908,7 +55069,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *157 + items: *159 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54938,7 +55099,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &382 + restrictions: &384 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55001,7 +55162,7 @@ paths: type: string teams: type: array - items: *157 + items: *159 apps: type: array items: @@ -55231,9 +55392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *311 - - *312 - - &381 + - *313 + - *314 + - &383 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). @@ -55247,14 +55408,14 @@ paths: description: Response content: application/json: - schema: &391 + schema: &393 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &441 + commit: &443 title: Commit description: Commit type: object @@ -55293,7 +55454,7 @@ paths: author: anyOf: - type: 'null' - - &379 + - &381 title: Git User description: Metaproperties for Git author/committer information. @@ -55314,7 +55475,7 @@ paths: committer: anyOf: - type: 'null' - - *379 + - *381 message: type: string examples: @@ -55338,7 +55499,7 @@ paths: required: - sha - url - verification: &489 + verification: &491 title: Verification type: object properties: @@ -55374,14 +55535,14 @@ paths: author: oneOf: - *4 - - *136 + - *138 type: - 'null' - object committer: oneOf: - *4 - - *136 + - *138 type: - 'null' - object @@ -55418,7 +55579,7 @@ paths: type: integer files: type: array - items: &452 + items: &454 title: Diff Entry description: Diff Entry type: object @@ -55514,7 +55675,7 @@ paths: - self protected: type: boolean - protection: *380 + protection: *382 protection_url: type: string format: uri @@ -55623,7 +55784,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *320 + '301': *322 '404': *6 x-github: githubCloudOnly: false @@ -55645,15 +55806,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *380 + schema: *382 examples: default: value: @@ -55847,9 +56008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -56109,7 +56270,7 @@ paths: url: type: string format: uri - required_status_checks: &388 + required_status_checks: &390 title: Status Check Policy description: Status Check Policy type: object @@ -56190,7 +56351,7 @@ paths: items: *4 teams: type: array - items: *157 + items: *159 apps: type: array items: *5 @@ -56208,7 +56369,7 @@ paths: items: *4 teams: type: array - items: *157 + items: *159 apps: type: array items: *5 @@ -56268,7 +56429,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *382 + restrictions: *384 required_conversation_resolution: type: object properties: @@ -56380,9 +56541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56407,17 +56568,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: &384 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56439,17 +56600,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56468,9 +56629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56495,17 +56656,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: &386 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56601,9 +56762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -56701,9 +56862,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -56724,9 +56885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56753,17 +56914,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: &387 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56786,17 +56947,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *387 + default: *389 '404': *6 x-github: githubCloudOnly: false @@ -56816,9 +56977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56843,17 +57004,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: &389 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56879,9 +57040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -56933,9 +57094,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 '404': *6 '422': *15 x-github: @@ -56957,9 +57118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56983,9 +57144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response @@ -57019,9 +57180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -57088,9 +57249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -57154,9 +57315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: content: application/json: @@ -57222,15 +57383,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -57321,9 +57482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -57346,9 +57507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response @@ -57358,7 +57519,7 @@ paths: type: array items: *5 examples: - default: &390 + default: &392 value: - id: 1 slug: octoapp @@ -57415,9 +57576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57451,7 +57612,7 @@ paths: type: array items: *5 examples: - default: *390 + default: *392 '422': *15 x-github: githubCloudOnly: false @@ -57472,9 +57633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57508,7 +57669,7 @@ paths: type: array items: *5 examples: - default: *390 + default: *392 '422': *15 x-github: githubCloudOnly: false @@ -57529,9 +57690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57565,7 +57726,7 @@ paths: type: array items: *5 examples: - default: *390 + default: *392 '422': *15 x-github: githubCloudOnly: false @@ -57587,9 +57748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response @@ -57597,9 +57758,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -57619,9 +57780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -57657,9 +57818,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -57680,9 +57841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -57718,9 +57879,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -57741,9 +57902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: content: application/json: @@ -57778,9 +57939,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -57802,9 +57963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response @@ -57838,9 +57999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57898,9 +58059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57958,9 +58119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -58020,9 +58181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -58044,7 +58205,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *393 examples: default: value: @@ -58160,8 +58321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -58440,7 +58601,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &395 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58575,8 +58736,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *392 - deployment: &685 + items: *394 + deployment: &688 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58863,9 +59024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *311 - - *312 - - &394 + - *313 + - *314 + - &396 name: check_run_id description: The unique identifier of the check run. in: path @@ -58877,9 +59038,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: &395 + default: &397 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58979,9 +59140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *311 - - *312 - - *394 + - *313 + - *314 + - *396 requestBody: required: true content: @@ -59221,9 +59382,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: *395 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59243,9 +59404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *311 - - *312 - - *394 + - *313 + - *314 + - *396 - *17 - *19 responses: @@ -59355,15 +59516,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *311 - - *312 - - *394 + - *313 + - *314 + - *396 responses: '201': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -59401,8 +59562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -59424,7 +59585,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &397 + schema: &399 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59506,12 +59667,12 @@ paths: type: - array - 'null' - items: *392 + items: *394 app: anyOf: - type: 'null' - *5 - repository: *127 + repository: *129 created_at: type: - string @@ -59522,7 +59683,7 @@ paths: - string - 'null' format: date-time - head_commit: *396 + head_commit: *398 latest_check_runs_count: type: integer check_runs_url: @@ -59550,7 +59711,7 @@ paths: - check_runs_url - pull_requests examples: - default: &398 + default: &400 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59841,9 +60002,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59862,8 +60023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -59924,7 +60085,7 @@ paths: required: - app_id - setting - repository: *127 + repository: *129 examples: default: value: @@ -60172,9 +60333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *311 - - *312 - - &399 + - *313 + - *314 + - &401 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60186,9 +60347,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60211,17 +60372,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *311 - - *312 - - *399 - - &447 + - *313 + - *314 + - *401 + - &449 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &448 + - &450 name: status description: Returns check runs with the specified `status`. in: query @@ -60260,9 +60421,9 @@ paths: type: integer check_runs: type: array - items: *393 + items: *395 examples: - default: &449 + default: &451 value: total_count: 1 check_runs: @@ -60364,15 +60525,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *311 - - *312 - - *399 + - *313 + - *314 + - *401 responses: '201': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -60399,21 +60560,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *311 - - *312 - - *400 - - *401 + - *313 + - *314 + - *402 + - *403 - *19 - *17 - - &418 + - &420 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: *402 - - &419 + schema: *404 + - &421 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60438,13 +60599,13 @@ paths: be returned. in: query required: false - schema: *403 + schema: *405 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *404 + schema: *406 responses: '200': description: Response @@ -60460,19 +60621,19 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *405 - state: *147 - fixed_at: *143 + instances_url: *407 + state: *149 + fixed_at: *145 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *144 - dismissed_reason: *406 - dismissed_comment: *407 - rule: *408 - tool: *409 - most_recent_instance: *410 + dismissed_at: *146 + dismissed_reason: *408 + dismissed_comment: *409 + rule: *410 + tool: *411 + most_recent_instance: *412 dismissal_approved_by: anyOf: - type: 'null' @@ -60595,7 +60756,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &411 + '403': &413 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60622,9 +60783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *311 - - *312 - - &412 + - *313 + - *314 + - &414 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60638,7 +60799,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &415 type: object properties: number: *52 @@ -60646,16 +60807,16 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *405 - state: *147 - fixed_at: *143 + instances_url: *407 + state: *149 + fixed_at: *145 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *144 - dismissed_reason: *406 - dismissed_comment: *407 + dismissed_at: *146 + dismissed_reason: *408 + dismissed_comment: *409 rule: type: object properties: @@ -60717,8 +60878,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *409 - most_recent_instance: *410 + tool: *411 + most_recent_instance: *412 dismissal_approved_by: anyOf: - type: 'null' @@ -60814,7 +60975,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -60834,9 +60995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 requestBody: required: true content: @@ -60851,8 +61012,8 @@ paths: enum: - open - dismissed - dismissed_reason: *406 - dismissed_comment: *407 + dismissed_reason: *408 + dismissed_comment: *409 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60871,7 +61032,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: default: value: @@ -60947,7 +61108,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &417 + '403': &419 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60974,15 +61135,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: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 responses: '200': description: Response content: application/json: - schema: &414 + schema: &416 type: object properties: status: @@ -61009,13 +61170,13 @@ paths: - description - started_at examples: - default: &415 + default: &417 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &416 + '400': &418 description: Bad Request content: application/json: @@ -61026,7 +61187,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': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61051,29 +61212,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: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 responses: '200': description: OK content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 '202': description: Accepted content: application/json: - schema: *414 + schema: *416 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *416 + '400': *418 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61105,9 +61266,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: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 requestBody: required: false content: @@ -61153,8 +61314,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *416 - '403': *417 + '400': *418 + '403': *419 '404': *6 '422': description: Unprocessable Entity @@ -61178,13 +61339,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 - *19 - *17 - - *418 - - *419 + - *420 + - *421 responses: '200': description: Response @@ -61192,7 +61353,7 @@ paths: application/json: schema: type: array - items: *410 + items: *412 examples: default: value: @@ -61231,7 +61392,7 @@ paths: end_column: 50 classifications: - source - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61265,25 +61426,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *311 - - *312 - - *400 - - *401 + - *313 + - *314 + - *402 + - *403 - *19 - *17 - - *419 + - *421 - 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: *402 + schema: *404 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &422 + schema: &424 type: string description: An identifier for the upload. examples: @@ -61305,23 +61466,23 @@ paths: application/json: schema: type: array - items: &423 + items: &425 type: object properties: - ref: *402 - commit_sha: &431 + ref: *404 + commit_sha: &433 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: *420 + analysis_key: *422 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *421 + category: *423 error: type: string examples: @@ -61346,8 +61507,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *422 - tool: *409 + sarif_id: *424 + tool: *411 deletable: type: boolean warning: @@ -61409,7 +61570,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61445,8 +61606,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: - - *311 - - *312 + - *313 + - *314 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61459,7 +61620,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: response: summary: application/json response @@ -61513,7 +61674,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *411 + '403': *413 '404': *6 '422': description: Response if analysis could not be processed @@ -61600,8 +61761,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: - - *311 - - *312 + - *313 + - *314 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61657,7 +61818,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': *417 + '403': *419 '404': *6 '503': *69 x-github: @@ -61679,8 +61840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -61688,7 +61849,7 @@ paths: application/json: schema: type: array - items: &424 + items: &426 title: CodeQL Database description: A CodeQL database. type: object @@ -61800,7 +61961,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': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61829,8 +61990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - name: language in: path description: The language of the CodeQL database. @@ -61842,7 +62003,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -61874,9 +62035,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': &454 + '302': &456 description: Found - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61898,8 +62059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *311 - - *312 + - *313 + - *314 - name: language in: path description: The language of the CodeQL database. @@ -61909,7 +62070,7 @@ paths: responses: '204': description: Response - '403': *417 + '403': *419 '404': *6 '503': *69 x-github: @@ -61937,8 +62098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -61947,7 +62108,7 @@ paths: type: object additionalProperties: false properties: - language: &425 + language: &427 type: string description: The language targeted by the CodeQL query enum: @@ -62026,7 +62187,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &429 + schema: &431 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62036,7 +62197,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *425 + query_language: *427 query_pack_url: type: string description: The download url for the query pack. @@ -62084,7 +62245,7 @@ paths: items: type: object properties: - repository: &426 + repository: &428 title: Repository Identifier description: Repository Identifier type: object @@ -62126,7 +62287,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &430 + analysis_status: &432 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62158,7 +62319,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &427 + access_mismatch_repos: &429 type: object properties: repository_count: @@ -62173,7 +62334,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: *426 + items: *428 required: - repository_count - repositories @@ -62196,8 +62357,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *427 - over_limit_repos: *427 + no_codeql_db_repos: *429 + over_limit_repos: *429 required: - access_mismatch_repos - not_found_repos @@ -62213,7 +62374,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &428 + value: &430 summary: Default response value: id: 1 @@ -62365,10 +62526,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *428 + value: *430 repository_lists: summary: Response for a successful variant analysis submission - value: *428 + value: *430 '404': *6 '422': description: Unable to process variant analysis submission @@ -62396,8 +62557,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: - - *311 - - *312 + - *313 + - *314 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62409,9 +62570,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *428 + default: *430 '404': *6 '503': *69 x-github: @@ -62434,7 +62595,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: - - *311 + - *313 - name: repo in: path description: The name of the controller repository. @@ -62469,7 +62630,7 @@ paths: type: object properties: repository: *51 - analysis_status: *430 + analysis_status: *432 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62594,8 +62755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -62688,7 +62849,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -62709,8 +62870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -62779,7 +62940,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -62804,7 +62965,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *417 + '403': *419 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62875,8 +63036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -62884,7 +63045,7 @@ paths: schema: type: object properties: - commit_sha: *431 + commit_sha: *433 ref: type: string description: |- @@ -62944,7 +63105,7 @@ paths: schema: type: object properties: - id: *422 + id: *424 url: type: string description: The REST API URL for checking the status of the upload. @@ -62958,7 +63119,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': *417 + '403': *419 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62981,8 +63142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *311 - - *312 + - *313 + - *314 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63030,7 +63191,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': *411 + '403': *413 '404': description: Not Found if the sarif id does not match any upload '503': *69 @@ -63055,8 +63216,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -63112,7 +63273,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': *152 + '204': *154 '304': *35 '403': *27 '404': *6 @@ -63137,8 +63298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *311 - - *312 + - *313 + - *314 - 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 @@ -63266,8 +63427,8 @@ paths: parameters: - *17 - *19 - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -63283,7 +63444,7 @@ paths: type: integer codespaces: type: array - items: *201 + items: *203 examples: default: value: @@ -63581,8 +63742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -63646,17 +63807,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '400': *14 '401': *23 '403': *27 @@ -63685,8 +63846,8 @@ paths: parameters: - *17 - *19 - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -63750,8 +63911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63788,9 +63949,9 @@ paths: type: integer machines: type: array - items: *433 + items: *435 examples: - default: &635 + default: &637 value: total_count: 2 machines: @@ -63830,8 +63991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *311 - - *312 + - *313 + - *314 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63918,8 +64079,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: - - *311 - - *312 + - *313 + - *314 - 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 @@ -63988,8 +64149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -64007,7 +64168,7 @@ paths: type: integer secrets: type: array - items: &437 + items: &439 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64028,7 +64189,7 @@ paths: - created_at - updated_at examples: - default: *434 + default: *436 headers: Link: *57 x-github: @@ -64051,16 +64212,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64080,17 +64241,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '200': description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64110,9 +64271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 requestBody: required: true content: @@ -64140,7 +64301,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -64164,9 +64325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '204': description: Response @@ -64194,8 +64355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *311 - - *312 + - *313 + - *314 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64233,7 +64394,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Collaborator description: Collaborator type: object @@ -64426,8 +64587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *311 - - *312 + - *313 + - *314 - *62 responses: '204': @@ -64474,8 +64635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *311 - - *312 + - *313 + - *314 - *62 requestBody: required: false @@ -64502,7 +64663,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &502 + schema: &504 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64514,7 +64675,7 @@ paths: format: int64 examples: - 42 - repository: *127 + repository: *129 invitee: anyOf: - type: 'null' @@ -64690,7 +64851,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *101 + schema: *103 '403': *27 x-github: triggersNotification: true @@ -64730,8 +64891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *311 - - *312 + - *313 + - *314 - *62 responses: '204': @@ -64763,8 +64924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *311 - - *312 + - *313 + - *314 - *62 responses: '200': @@ -64785,7 +64946,7 @@ paths: user: anyOf: - type: 'null' - - *439 + - *441 required: - permission - role_name @@ -64839,8 +65000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -64850,7 +65011,7 @@ paths: application/json: schema: type: array - items: &440 + items: &442 title: Commit Comment description: Commit Comment type: object @@ -64908,7 +65069,7 @@ paths: - created_at - updated_at examples: - default: &443 + default: &445 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64967,17 +65128,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: &444 + default: &446 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65034,8 +65195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -65058,7 +65219,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: default: value: @@ -65109,8 +65270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '204': @@ -65132,8 +65293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65160,9 +65321,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 @@ -65183,8 +65344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -65217,16 +65378,16 @@ paths: description: Reaction exists content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Reaction created content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -65248,10 +65409,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *311 - - *312 + - *313 + - *314 - *80 - - *307 + - *309 responses: '204': description: Response @@ -65300,8 +65461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *311 - - *312 + - *313 + - *314 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65357,9 +65518,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: &549 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65453,9 +65614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *311 - - *312 - - &442 + - *313 + - *314 + - &444 name: commit_sha description: The SHA of the commit. in: path @@ -65527,9 +65688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *311 - - *312 - - *442 + - *313 + - *314 + - *444 - *17 - *19 responses: @@ -65539,9 +65700,9 @@ paths: application/json: schema: type: array - items: *440 + items: *442 examples: - default: *443 + default: *445 headers: Link: *57 x-github: @@ -65569,9 +65730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *311 - - *312 - - *442 + - *313 + - *314 + - *444 requestBody: required: true content: @@ -65606,9 +65767,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *444 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65636,9 +65797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *311 - - *312 - - *442 + - *313 + - *314 + - *444 - *17 - *19 responses: @@ -65648,9 +65809,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: &541 + default: &543 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66187,11 +66348,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *311 - - *312 + - *313 + - *314 - *19 - *17 - - &446 + - &448 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)" @@ -66206,9 +66367,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: &529 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66321,11 +66482,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *311 - - *312 - - *446 - - *447 + - *313 + - *314 - *448 + - *449 + - *450 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66359,9 +66520,9 @@ paths: type: integer check_runs: type: array - items: *393 + items: *395 examples: - default: *449 + default: *451 headers: Link: *57 x-github: @@ -66386,9 +66547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *311 - - *312 - - *446 + - *313 + - *314 + - *448 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66396,7 +66557,7 @@ paths: schema: type: integer example: 1 - - *447 + - *449 - *17 - *19 responses: @@ -66414,7 +66575,7 @@ paths: type: integer check_suites: type: array - items: *397 + items: *399 examples: default: value: @@ -66614,9 +66775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *311 - - *312 - - *446 + - *313 + - *314 + - *448 - *17 - *19 responses: @@ -66687,7 +66848,7 @@ paths: type: string total_count: type: integer - repository: *127 + repository: *129 commit_url: type: string format: uri @@ -66818,9 +66979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *311 - - *312 - - *446 + - *313 + - *314 + - *448 - *17 - *19 responses: @@ -66830,7 +66991,7 @@ paths: application/json: schema: type: array - items: &606 + items: &608 title: Status description: The status of a commit. type: object @@ -66911,7 +67072,7 @@ paths: site_admin: false headers: Link: *57 - '301': *320 + '301': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66939,8 +67100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -66973,11 +67134,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *450 + - *452 code_of_conduct_file: anyOf: - type: 'null' - - &451 + - &453 title: Community Health File type: object properties: @@ -66997,19 +67158,19 @@ paths: contributing: anyOf: - type: 'null' - - *451 + - *453 readme: anyOf: - type: 'null' - - *451 + - *453 issue_template: anyOf: - type: 'null' - - *451 + - *453 pull_request_template: anyOf: - type: 'null' - - *451 + - *453 required: - code_of_conduct - code_of_conduct_file @@ -67138,8 +67299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *311 - - *312 + - *313 + - *314 - *19 - *17 - name: basehead @@ -67187,8 +67348,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *441 - merge_base_commit: *441 + base_commit: *443 + merge_base_commit: *443 status: type: string enum: @@ -67212,10 +67373,10 @@ paths: - 6 commits: type: array - items: *441 + items: *443 files: type: array - items: *452 + items: *454 required: - url - html_url @@ -67501,8 +67662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *311 - - *312 + - *313 + - *314 - name: path description: path parameter in: path @@ -67655,7 +67816,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &453 + response-if-content-is-a-file: &455 summary: Response if content is a file value: type: file @@ -67792,7 +67953,7 @@ paths: - size - type - url - - &554 + - &556 title: Content File description: Content File type: object @@ -68010,7 +68171,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *453 + response-if-content-is-a-file: *455 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68079,7 +68240,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *454 + '302': *456 '304': *35 x-github: githubCloudOnly: false @@ -68102,8 +68263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *311 - - *312 + - *313 + - *314 - name: path description: path parameter in: path @@ -68198,7 +68359,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 title: File Commit description: File Commit type: object @@ -68354,7 +68515,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: example-for-creating-a-file: value: @@ -68408,7 +68569,7 @@ paths: schema: oneOf: - *3 - - &484 + - &486 description: Repository rule violation was detected type: object properties: @@ -68429,7 +68590,7 @@ paths: items: type: object properties: - placeholder_id: &598 + placeholder_id: &600 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68461,8 +68622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *311 - - *312 + - *313 + - *314 - name: path description: path parameter in: path @@ -68523,7 +68684,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -68578,8 +68739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *311 - - *312 + - *313 + - *314 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68703,22 +68864,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *311 - - *312 - - *158 - - *159 + - *313 + - *314 - *160 - *161 + - *162 + - *163 - 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 - - *162 - - *163 - *164 - *165 + - *166 + - *167 - *46 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -68738,8 +68899,8 @@ paths: default: 30 - *38 - *39 - - *166 - - *167 + - *168 + - *169 responses: '200': description: Response @@ -68747,7 +68908,7 @@ paths: application/json: schema: type: array - items: &458 + items: &460 type: object description: A Dependabot alert. properties: @@ -68797,13 +68958,13 @@ paths: - direct - transitive - - security_advisory: *456 + security_advisory: *458 security_vulnerability: *50 url: *55 html_url: *56 created_at: *53 updated_at: *54 - dismissed_at: *144 + dismissed_at: *146 dismissed_by: anyOf: - type: 'null' @@ -68827,8 +68988,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *143 - auto_dismissed_at: *457 + fixed_at: *145 + auto_dismissed_at: *459 required: - number - state @@ -69058,9 +69219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *311 - - *312 - - &459 + - *313 + - *314 + - &461 name: alert_number in: path description: |- @@ -69075,7 +69236,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: default: value: @@ -69188,9 +69349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *311 - - *312 - - *459 + - *313 + - *314 + - *461 requestBody: required: true content: @@ -69235,7 +69396,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: default: value: @@ -69364,8 +69525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -69383,7 +69544,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &464 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69437,16 +69598,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *461 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69466,15 +69627,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: default: value: @@ -69500,9 +69661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 requestBody: required: true content: @@ -69530,7 +69691,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -69554,9 +69715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '204': description: Response @@ -69578,8 +69739,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: - - *311 - - *312 + - *313 + - *314 - 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 @@ -69753,8 +69914,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -70014,8 +70175,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -70098,7 +70259,7 @@ paths: - version - url additionalProperties: false - metadata: &463 + metadata: &465 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70137,7 +70298,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *463 + metadata: *465 resolved: type: object description: A collection of resolved package dependencies. @@ -70151,7 +70312,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *463 + metadata: *465 relationship: type: string description: A notation of whether a dependency is requested @@ -70284,8 +70445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *311 - - *312 + - *313 + - *314 - name: sha description: The SHA recorded at creation time. in: query @@ -70326,9 +70487,9 @@ paths: application/json: schema: type: array - items: *464 + items: *466 examples: - default: *465 + default: *467 headers: Link: *57 x-github: @@ -70394,8 +70555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -70477,7 +70638,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: simple-example: summary: Simple example @@ -70550,9 +70711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *311 - - *312 - - &466 + - *313 + - *314 + - &468 name: deployment_id description: deployment_id parameter in: path @@ -70564,7 +70725,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -70629,9 +70790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *311 - - *312 - - *466 + - *313 + - *314 + - *468 responses: '204': description: Response @@ -70653,9 +70814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *311 - - *312 - - *466 + - *313 + - *314 + - *468 - *17 - *19 responses: @@ -70665,7 +70826,7 @@ paths: application/json: schema: type: array - items: &467 + items: &469 title: Deployment Status description: The status of a deployment. type: object @@ -70829,9 +70990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *311 - - *312 - - *466 + - *313 + - *314 + - *468 requestBody: required: true content: @@ -70906,9 +71067,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: &468 + default: &470 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70964,9 +71125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *311 - - *312 - - *466 + - *313 + - *314 + - *468 - name: status_id in: path required: true @@ -70977,9 +71138,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 '404': *6 x-github: githubCloudOnly: false @@ -71004,8 +71165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -71062,8 +71223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -71081,7 +71242,7 @@ paths: - 5 environments: type: array - items: &470 + items: &472 title: Environment description: Details of a deployment environment type: object @@ -71143,7 +71304,7 @@ paths: type: string examples: - wait_timer - wait_timer: &472 + wait_timer: &474 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -71185,11 +71346,11 @@ paths: items: type: object properties: - type: *469 + type: *471 reviewer: anyOf: - *4 - - *157 + - *159 required: - id - node_id @@ -71212,7 +71373,7 @@ paths: - id - node_id - type - deployment_branch_policy: &473 + deployment_branch_policy: &475 type: - object - 'null' @@ -71329,9 +71490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *311 - - *312 - - &471 + - *313 + - *314 + - &473 name: environment_name in: path required: true @@ -71344,9 +71505,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: &474 + default: &476 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71430,9 +71591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 requestBody: required: false content: @@ -71442,7 +71603,7 @@ paths: - object - 'null' properties: - wait_timer: *472 + wait_timer: *474 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -71461,14 +71622,14 @@ paths: items: type: object properties: - type: *469 + type: *471 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *473 + deployment_branch_policy: *475 additionalProperties: false examples: default: @@ -71488,9 +71649,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *474 + default: *476 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71514,9 +71675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 responses: '204': description: Default response @@ -71541,9 +71702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 - *17 - *19 responses: @@ -71562,7 +71723,7 @@ paths: - 2 branch_policies: type: array - items: &475 + items: &477 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71623,9 +71784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 requestBody: required: true content: @@ -71673,9 +71834,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - example-wildcard: &476 + example-wildcard: &478 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71717,10 +71878,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *311 - - *312 - - *471 - - &477 + - *313 + - *314 + - *473 + - &479 name: branch_policy_id in: path required: true @@ -71732,9 +71893,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71753,10 +71914,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *311 - - *312 - - *471 - - *477 + - *313 + - *314 + - *473 + - *479 requestBody: required: true content: @@ -71785,9 +71946,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71806,10 +71967,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *311 - - *312 - - *471 - - *477 + - *313 + - *314 + - *473 + - *479 responses: '204': description: Response @@ -71834,9 +71995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *471 - - *312 - - *311 + - *473 + - *314 + - *313 responses: '200': description: List of deployment protection rules @@ -71853,7 +72014,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &478 + items: &480 title: Deployment protection rule description: Deployment protection rule type: object @@ -71875,7 +72036,7 @@ paths: for the environment. examples: - true - app: &479 + app: &481 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71978,9 +72139,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: - - *471 - - *312 - - *311 + - *473 + - *314 + - *313 requestBody: content: application/json: @@ -72001,9 +72162,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *478 + schema: *480 examples: - default: &480 + default: &482 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -72038,9 +72199,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: - - *471 - - *312 - - *311 + - *473 + - *314 + - *313 - *19 - *17 responses: @@ -72060,7 +72221,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *479 + items: *481 examples: default: value: @@ -72095,10 +72256,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *311 - - *312 - - *471 - - &481 + - *313 + - *314 + - *473 + - &483 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72110,9 +72271,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72133,10 +72294,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *471 - - *312 - - *311 - - *481 + - *473 + - *314 + - *313 + - *483 responses: '204': description: Response @@ -72162,9 +72323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 - *17 - *19 responses: @@ -72182,9 +72343,9 @@ paths: type: integer secrets: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -72209,17 +72370,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 responses: '200': description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *362 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72241,18 +72402,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *311 - - *312 - - *471 - - *135 + - *313 + - *314 + - *473 + - *137 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *482 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72274,10 +72435,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *311 - - *312 - - *471 - - *135 + - *313 + - *314 + - *473 + - *137 requestBody: required: true content: @@ -72308,7 +72469,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -72334,10 +72495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *311 - - *312 - - *471 - - *135 + - *313 + - *314 + - *473 + - *137 responses: '204': description: Default response @@ -72362,10 +72523,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *311 - - *312 - - *471 - - *330 + - *313 + - *314 + - *473 + - *332 - *19 responses: '200': @@ -72382,9 +72543,9 @@ paths: type: integer variables: type: array - items: *363 + items: *365 examples: - default: *364 + default: *366 headers: Link: *57 x-github: @@ -72407,9 +72568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 requestBody: required: true content: @@ -72436,7 +72597,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -72461,18 +72622,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *311 - - *312 - - *471 - - *138 + - *313 + - *314 + - *473 + - *140 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72493,10 +72654,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *311 - - *312 - - *138 - - *471 + - *313 + - *314 + - *140 + - *473 requestBody: required: true content: @@ -72538,10 +72699,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *311 - - *312 - - *138 - - *471 + - *313 + - *314 + - *140 + - *473 responses: '204': description: Response @@ -72563,8 +72724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -72641,8 +72802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *311 - - *312 + - *313 + - *314 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72664,7 +72825,7 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: default: value: @@ -72801,8 +72962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -72835,9 +72996,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 + default: *323 '400': *14 '422': *15 '403': *27 @@ -72858,8 +73019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -72918,8 +73079,8 @@ paths: application/json: schema: oneOf: - - *101 - - *484 + - *103 + - *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72944,8 +73105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *311 - - *312 + - *313 + - *314 - name: file_sha in: path required: true @@ -73045,8 +73206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -73155,7 +73316,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &487 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73382,15 +73543,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *311 - - *312 - - *442 + - *313 + - *314 + - *444 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -73446,9 +73607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *311 - - *312 - - &486 + - *313 + - *314 + - &488 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. @@ -73465,7 +73626,7 @@ paths: application/json: schema: type: array - items: &487 + items: &489 title: Git Reference description: Git references within a repository type: object @@ -73541,17 +73702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *311 - - *312 - - *486 + - *313 + - *314 + - *488 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &488 + default: &490 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73580,8 +73741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -73610,9 +73771,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73638,9 +73799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *311 - - *312 - - *486 + - *313 + - *314 + - *488 requestBody: required: true content: @@ -73669,9 +73830,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 '422': *15 '409': *45 x-github: @@ -73689,9 +73850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *311 - - *312 - - *486 + - *313 + - *314 + - *488 responses: '204': description: Response @@ -73746,8 +73907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -73814,7 +73975,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &492 title: Git Tag description: Metadata for a Git tag type: object @@ -73870,7 +74031,7 @@ paths: - sha - type - url - verification: *489 + verification: *491 required: - sha - url @@ -73880,7 +74041,7 @@ paths: - tag - message examples: - default: &491 + default: &493 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73953,8 +74114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *311 - - *312 + - *313 + - *314 - name: tag_sha in: path required: true @@ -73965,9 +74126,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 '404': *6 '409': *45 x-github: @@ -73991,8 +74152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -74066,7 +74227,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &494 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74168,8 +74329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *311 - - *312 + - *313 + - *314 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74192,7 +74353,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: default-response: summary: Default response @@ -74251,8 +74412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -74262,7 +74423,7 @@ paths: application/json: schema: type: array - items: &493 + items: &495 title: Webhook description: Webhooks for repositories. type: object @@ -74325,7 +74486,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &716 + last_response: &719 title: Hook Response type: object properties: @@ -74402,8 +74563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -74456,9 +74617,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: &494 + default: &496 value: type: Repository id: 12345678 @@ -74506,17 +74667,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 '404': *6 x-github: githubCloudOnly: false @@ -74536,9 +74697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 requestBody: required: true content: @@ -74583,9 +74744,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 '422': *15 '404': *6 x-github: @@ -74606,9 +74767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '204': description: Response @@ -74632,9 +74793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '200': description: Response @@ -74661,9 +74822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 requestBody: required: false content: @@ -74707,11 +74868,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 - *17 - - *174 + - *176 responses: '200': description: Response @@ -74719,9 +74880,9 @@ paths: application/json: schema: type: array - items: *175 + items: *177 examples: - default: *176 + default: *178 '400': *14 '422': *15 x-github: @@ -74740,18 +74901,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 - *16 responses: '200': description: Response content: application/json: - schema: *177 + schema: *179 examples: - default: *178 + default: *180 '400': *14 '422': *15 x-github: @@ -74770,9 +74931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 - *16 responses: '202': *37 @@ -74795,9 +74956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '204': description: Response @@ -74822,9 +74983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '204': description: Response @@ -74882,14 +75043,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &495 + schema: &497 title: Import description: A repository import from an external source. type: object @@ -74996,7 +75157,7 @@ paths: - html_url - authors_url examples: - default: &498 + default: &500 value: vcs: subversion use_lfs: true @@ -75012,7 +75173,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': &496 + '503': &498 description: Unavailable due to service under maintenance. content: application/json: @@ -75041,8 +75202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -75090,7 +75251,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: default: value: @@ -75115,7 +75276,7 @@ paths: type: string '422': *15 '404': *6 - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75143,8 +75304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -75196,7 +75357,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: example-1: summary: Example 1 @@ -75244,7 +75405,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': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75267,12 +75428,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75298,9 +75459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *311 - - *312 - - &657 + - *313 + - *314 + - &659 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75314,7 +75475,7 @@ paths: application/json: schema: type: array - items: &497 + items: &499 title: Porter Author description: Porter Author type: object @@ -75368,7 +75529,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': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75393,8 +75554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *311 - - *312 + - *313 + - *314 - name: author_id in: path required: true @@ -75424,7 +75585,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -75437,7 +75598,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75461,8 +75622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -75503,7 +75664,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75531,8 +75692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -75559,11 +75720,11 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *498 + default: *500 '422': *15 - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75586,8 +75747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -75595,8 +75756,8 @@ paths: application/json: schema: *20 examples: - default: *499 - '301': *320 + default: *501 + '301': *322 '404': *6 x-github: githubCloudOnly: false @@ -75616,8 +75777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -75625,12 +75786,12 @@ paths: application/json: schema: anyOf: - - *191 + - *193 - type: object properties: {} additionalProperties: false examples: - default: &501 + default: &503 value: limit: collaborators_only origin: repository @@ -75655,13 +75816,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: application/json: - schema: *500 + schema: *502 examples: default: summary: Example request body @@ -75673,9 +75834,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *501 + default: *503 '409': description: Response x-github: @@ -75697,8 +75858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -75721,8 +75882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -75732,9 +75893,9 @@ paths: application/json: schema: type: array - items: *502 + items: *504 examples: - default: &650 + default: &652 value: - id: 1 repository: @@ -75865,9 +76026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *311 - - *312 - - *195 + - *313 + - *314 + - *197 requestBody: required: false content: @@ -75896,7 +76057,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -76027,9 +76188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *311 - - *312 - - *195 + - *313 + - *314 + - *197 responses: '204': description: Response @@ -76060,8 +76221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *311 - - *312 + - *313 + - *314 - 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 @@ -76109,7 +76270,7 @@ paths: required: false schema: type: string - - *199 + - *201 - name: sort description: What to sort results by. in: query @@ -76134,7 +76295,7 @@ paths: type: array items: *81 examples: - default: &509 + default: &511 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76282,7 +76443,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *320 + '301': *322 '422': *15 '404': *6 x-github: @@ -76311,8 +76472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -76404,7 +76565,7 @@ paths: application/json: schema: *81 examples: - default: &506 + default: &508 value: id: 1 node_id: MDU6SXNzdWUx @@ -76560,7 +76721,7 @@ paths: '422': *15 '503': *69 '404': *6 - '410': *317 + '410': *319 x-github: triggersNotification: true githubCloudOnly: false @@ -76588,8 +76749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *90 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76610,9 +76771,9 @@ paths: application/json: schema: type: array - items: *503 + items: *505 examples: - default: &508 + default: &510 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76670,17 +76831,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: &504 + default: &506 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76734,8 +76895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -76758,9 +76919,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -76778,8 +76939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '204': @@ -76800,8 +76961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76828,9 +76989,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 @@ -76851,8 +77012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -76885,16 +77046,16 @@ paths: description: Reaction exists content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Reaction created content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -76916,10 +77077,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *311 - - *312 + - *313 + - *314 - *80 - - *307 + - *309 responses: '204': description: Response @@ -76939,8 +77100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -76950,7 +77111,7 @@ paths: application/json: schema: type: array - items: &505 + items: &507 title: Issue Event description: Issue Event type: object @@ -77030,7 +77191,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *157 + requested_team: *159 dismissed_review: title: Issue Event Dismissed Review type: object @@ -77289,8 +77450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *311 - - *312 + - *313 + - *314 - name: event_id in: path required: true @@ -77301,7 +77462,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -77494,7 +77655,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *317 + '410': *319 '403': *27 x-github: githubCloudOnly: false @@ -77528,9 +77689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *311 - - *312 - - &507 + - *313 + - *314 + - &509 name: issue_number description: The number that identifies the issue. in: path @@ -77544,10 +77705,10 @@ paths: application/json: schema: *81 examples: - default: *506 - '301': *320 + default: *508 + '301': *322 '404': *6 - '410': *317 + '410': *319 '304': *35 x-github: githubCloudOnly: false @@ -77572,9 +77733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -77695,13 +77856,13 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 '422': *15 '503': *69 '403': *27 - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77719,9 +77880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -77749,7 +77910,7 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77765,9 +77926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: content: application/json: @@ -77794,7 +77955,7 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77816,9 +77977,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: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - name: assignee in: path required: true @@ -77858,9 +78019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *71 - *17 - *19 @@ -77871,13 +78032,13 @@ paths: application/json: schema: type: array - items: *503 + items: *505 examples: - default: *508 + default: *510 headers: Link: *57 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77906,9 +78067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -77930,16 +78091,16 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *317 + '410': *319 '422': *15 '404': *6 x-github: @@ -77967,9 +78128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -77981,12 +78142,12 @@ paths: type: array items: *81 examples: - default: *509 + default: *511 headers: Link: *57 - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78014,9 +78175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -78040,15 +78201,15 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *320 + '301': *322 '403': *27 - '410': *317 + '410': *319 '422': *15 '404': *6 x-github: @@ -78079,9 +78240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -78095,13 +78256,13 @@ paths: application/json: schema: *81 examples: - default: *506 - '301': *320 + default: *508 + '301': *322 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *317 + '410': *319 x-github: triggersNotification: true githubCloudOnly: false @@ -78127,9 +78288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -78141,12 +78302,12 @@ paths: type: array items: *81 examples: - default: *509 + default: *511 headers: Link: *57 - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78163,9 +78324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -78179,7 +78340,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &512 + - &514 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78228,7 +78389,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &515 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78356,7 +78517,7 @@ paths: - performed_via_github_app - assignee - assigner - - &514 + - &516 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78402,7 +78563,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &517 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78448,7 +78609,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &518 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78497,7 +78658,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &519 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78526,7 +78687,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *157 + requested_team: *159 requested_reviewer: *4 required: - review_requester @@ -78539,7 +78700,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &520 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78568,7 +78729,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *157 + requested_team: *159 requested_reviewer: *4 required: - review_requester @@ -78581,7 +78742,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &521 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78637,7 +78798,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &522 title: Locked Issue Event description: Locked Issue Event type: object @@ -78682,7 +78843,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &523 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78743,7 +78904,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &524 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78804,7 +78965,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &525 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78865,7 +79026,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &526 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78958,7 +79119,7 @@ paths: color: red headers: Link: *57 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78975,9 +79136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -78987,7 +79148,7 @@ paths: application/json: schema: type: array - items: &510 + items: &512 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -79042,7 +79203,7 @@ paths: - color - default examples: - default: &511 + default: &513 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79060,9 +79221,9 @@ paths: default: false headers: Link: *57 - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79079,9 +79240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -79140,12 +79301,12 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *511 - '301': *320 + default: *513 + '301': *322 '404': *6 - '410': *317 + '410': *319 '422': *15 x-github: githubCloudOnly: false @@ -79162,9 +79323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -79224,12 +79385,12 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *511 - '301': *320 + default: *513 + '301': *322 '404': *6 - '410': *317 + '410': *319 '422': *15 x-github: githubCloudOnly: false @@ -79246,15 +79407,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 responses: '204': description: Response - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79273,9 +79434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - name: name in: path required: true @@ -79288,7 +79449,7 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: default: value: @@ -79299,9 +79460,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79321,9 +79482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -79352,7 +79513,7 @@ paths: '204': description: Response '403': *27 - '410': *317 + '410': *319 '404': *6 '422': *15 x-github: @@ -79370,9 +79531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 responses: '204': description: Response @@ -79402,9 +79563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 responses: '200': description: Response @@ -79412,10 +79573,10 @@ paths: application/json: schema: *81 examples: - default: *506 - '301': *320 + default: *508 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79432,9 +79593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - 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. @@ -79460,13 +79621,13 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79484,9 +79645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -79518,16 +79679,16 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -79549,10 +79710,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *311 - - *312 - - *507 - - *307 + - *313 + - *314 + - *509 + - *309 responses: '204': description: Response @@ -79581,9 +79742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -79607,7 +79768,7 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79640,9 +79801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -79654,11 +79815,11 @@ paths: type: array items: *81 examples: - default: *509 + default: *511 headers: Link: *57 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79686,9 +79847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -79717,14 +79878,14 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *317 + '410': *319 '422': *15 '404': *6 x-github: @@ -79744,9 +79905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -79779,7 +79940,7 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 '403': *27 '404': *6 '422': *7 @@ -79801,9 +79962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -79818,8 +79979,6 @@ paths: description: Timeline Event type: object anyOf: - - *512 - - *513 - *514 - *515 - *516 @@ -79831,6 +79990,8 @@ paths: - *522 - *523 - *524 + - *525 + - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80159,7 +80320,7 @@ paths: type: string comments: type: array - items: &543 + items: &545 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80397,7 +80558,7 @@ paths: type: string comments: type: array - items: *440 + items: *442 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80672,7 +80833,7 @@ paths: headers: Link: *57 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80689,8 +80850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -80700,7 +80861,7 @@ paths: application/json: schema: type: array - items: &525 + items: &527 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80768,8 +80929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -80805,9 +80966,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: &526 + default: &528 value: id: 1 key: ssh-rsa AAA... @@ -80841,9 +81002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *311 - - *312 - - &527 + - *313 + - *314 + - &529 name: key_id description: The unique identifier of the key. in: path @@ -80855,9 +81016,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: *526 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -80875,9 +81036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *311 - - *312 - - *527 + - *313 + - *314 + - *529 responses: '204': description: Response @@ -80897,8 +81058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -80908,9 +81069,9 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *511 + default: *513 headers: Link: *57 '404': *6 @@ -80931,8 +81092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -80968,9 +81129,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: &528 + default: &530 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81002,8 +81163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *311 - - *312 + - *313 + - *314 - name: name in: path required: true @@ -81014,9 +81175,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *528 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -81033,8 +81194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *311 - - *312 + - *313 + - *314 - name: name in: path required: true @@ -81073,7 +81234,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: default: value: @@ -81099,8 +81260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *311 - - *312 + - *313 + - *314 - name: name in: path required: true @@ -81126,8 +81287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -81166,9 +81327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *311 - - *312 - - *418 + - *313 + - *314 + - *420 responses: '200': description: Response @@ -81315,8 +81476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -81381,8 +81542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -81416,9 +81577,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *441 + schema: *443 examples: - default: *529 + default: *531 '204': description: Response when already merged '404': @@ -81443,8 +81604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *311 - - *312 + - *313 + - *314 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81485,7 +81646,7 @@ paths: application/json: schema: type: array - items: *235 + items: *237 examples: default: value: @@ -81541,8 +81702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -81582,9 +81743,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: &530 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81643,9 +81804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *311 - - *312 - - &531 + - *313 + - *314 + - &533 name: milestone_number description: The number that identifies the milestone. in: path @@ -81657,9 +81818,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *530 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -81676,9 +81837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *311 - - *312 - - *531 + - *313 + - *314 + - *533 requestBody: required: false content: @@ -81716,9 +81877,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *530 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81734,9 +81895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *311 - - *312 - - *531 + - *313 + - *314 + - *533 responses: '204': description: Response @@ -81757,9 +81918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *311 - - *312 - - *531 + - *313 + - *314 + - *533 - *17 - *19 responses: @@ -81769,9 +81930,9 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *511 + default: *513 headers: Link: *57 x-github: @@ -81790,12 +81951,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *311 - - *312 - - *532 - - *533 - - *71 + - *313 + - *314 - *534 + - *535 + - *71 + - *536 - *17 - *19 responses: @@ -81807,7 +81968,7 @@ paths: type: array items: *93 examples: - default: *535 + default: *537 headers: Link: *57 x-github: @@ -81831,8 +81992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -81890,14 +82051,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &536 + schema: &538 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -82041,7 +82202,7 @@ paths: - custom_404 - public examples: - default: &537 + default: &539 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -82082,8 +82243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -82138,9 +82299,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *537 + default: *539 '422': *15 '409': *45 x-github: @@ -82163,8 +82324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -82264,8 +82425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -82291,8 +82452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -82302,7 +82463,7 @@ paths: application/json: schema: type: array - items: &538 + items: &540 title: Page Build description: Page Build type: object @@ -82394,8 +82555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *311 - - *312 + - *313 + - *314 responses: '201': description: Response @@ -82442,16 +82603,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *538 + schema: *540 examples: - default: &539 + default: &541 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82499,8 +82660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *311 - - *312 + - *313 + - *314 - name: build_id in: path required: true @@ -82511,9 +82672,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *540 examples: - default: *539 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82533,8 +82694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -82642,9 +82803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *311 - - *312 - - &540 + - *313 + - *314 + - &542 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82702,11 +82863,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *311 - - *312 - - *540 + - *313 + - *314 + - *542 responses: - '204': *152 + '204': *154 '404': *6 x-github: githubCloudOnly: false @@ -82731,8 +82892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -83000,7 +83161,7 @@ paths: description: Empty response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -83027,8 +83188,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Private vulnerability reporting status @@ -83065,10 +83226,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: - '204': *152 + '204': *154 '422': *14 x-github: githubCloudOnly: false @@ -83087,10 +83248,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: - '204': *152 + '204': *154 '422': *14 x-github: githubCloudOnly: false @@ -83111,8 +83272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *311 - - *312 + - *313 + - *314 - name: state description: Indicates the state of the projects to return. in: query @@ -83133,7 +83294,7 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: default: value: @@ -83173,7 +83334,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *317 + '410': *319 '422': *7 x-github: githubCloudOnly: false @@ -83196,8 +83357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -83223,13 +83384,13 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: - default: *316 + default: *318 '401': *23 '403': *27 '404': *6 - '410': *317 + '410': *319 '422': *7 x-github: githubCloudOnly: false @@ -83252,8 +83413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -83261,7 +83422,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: value: @@ -83292,8 +83453,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -83305,7 +83466,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *246 + items: *248 required: - properties examples: @@ -83355,8 +83516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *311 - - *312 + - *313 + - *314 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83416,9 +83577,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: *541 + default: *543 headers: Link: *57 '304': *35 @@ -83450,8 +83611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -83518,7 +83679,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &547 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83647,7 +83808,7 @@ paths: milestone: anyOf: - type: 'null' - - *235 + - *237 active_lock_reason: type: - string @@ -83702,7 +83863,7 @@ paths: type: - array - 'null' - items: *211 + items: *213 head: type: object properties: @@ -83740,14 +83901,14 @@ paths: _links: type: object properties: - comments: *236 - commits: *236 - statuses: *236 - html: *236 - issue: *236 - review_comments: *236 - review_comment: *236 - self: *236 + comments: *238 + commits: *238 + statuses: *238 + html: *238 + issue: *238 + review_comments: *238 + review_comment: *238 + self: *238 required: - comments - commits @@ -83758,7 +83919,7 @@ paths: - review_comment - self author_association: *67 - auto_merge: *542 + auto_merge: *544 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -83860,7 +84021,7 @@ paths: - merged_by - review_comments examples: - default: &546 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84387,8 +84548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - name: sort in: query required: false @@ -84417,9 +84578,9 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: &548 + default: &550 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84496,17 +84657,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '200': description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: &544 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84581,8 +84742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -84605,9 +84766,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *544 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84623,8 +84784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '204': @@ -84646,8 +84807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84674,9 +84835,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 @@ -84697,8 +84858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -84731,16 +84892,16 @@ paths: description: Reaction exists content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Reaction created content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -84762,10 +84923,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *311 - - *312 + - *313 + - *314 - *80 - - *307 + - *309 responses: '204': description: Response @@ -84808,9 +84969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *311 - - *312 - - &547 + - *313 + - *314 + - &549 name: pull_number description: The number that identifies the pull request. in: path @@ -84823,9 +84984,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '304': *35 '404': *6 '406': @@ -84860,9 +85021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -84904,9 +85065,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '422': *15 '403': *27 x-github: @@ -84928,9 +85089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: true content: @@ -84991,17 +85152,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '401': *23 '403': *27 '404': *6 @@ -85031,9 +85192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *90 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -85054,9 +85215,9 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: *548 + default: *550 headers: Link: *57 x-github: @@ -85089,9 +85250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: true content: @@ -85197,7 +85358,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: example-for-a-multi-line-comment: value: @@ -85285,9 +85446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *80 requestBody: required: true @@ -85310,7 +85471,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: default: value: @@ -85396,9 +85557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *17 - *19 responses: @@ -85408,9 +85569,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: *549 + default: *551 headers: Link: *57 x-github: @@ -85440,9 +85601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *17 - *19 responses: @@ -85452,7 +85613,7 @@ paths: application/json: schema: type: array - items: *452 + items: *454 examples: default: value: @@ -85490,9 +85651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 responses: '204': description: Response if pull request has been merged @@ -85515,9 +85676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -85629,9 +85790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 responses: '200': description: Response @@ -85647,7 +85808,7 @@ paths: items: *4 teams: type: array - items: *157 + items: *159 required: - users - teams @@ -85706,9 +85867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -85745,7 +85906,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -86281,9 +86442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: true content: @@ -86317,7 +86478,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -86822,9 +86983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *17 - *19 responses: @@ -86834,7 +86995,7 @@ paths: application/json: schema: type: array - items: &550 + items: &552 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86990,9 +87151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -87082,9 +87243,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &552 + default: &554 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87147,10 +87308,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - &551 + - *313 + - *314 + - *549 + - &553 name: review_id description: The unique identifier of the review. in: path @@ -87162,9 +87323,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &553 + default: &555 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87223,10 +87384,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 requestBody: required: true content: @@ -87249,7 +87410,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -87311,18 +87472,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 responses: '200': description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *552 + default: *554 '422': *7 '404': *6 x-github: @@ -87349,10 +87510,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 - *17 - *19 responses: @@ -87450,9 +87611,9 @@ paths: _links: type: object properties: - self: *236 - html: *236 - pull_request: *236 + self: *238 + html: *238 + pull_request: *238 required: - self - html @@ -87610,10 +87771,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 requestBody: required: true content: @@ -87642,7 +87803,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -87705,10 +87866,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 requestBody: required: true content: @@ -87743,9 +87904,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *553 + default: *555 '404': *6 '422': *7 '403': *27 @@ -87767,9 +87928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -87833,8 +87994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *311 - - *312 + - *313 + - *314 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87847,9 +88008,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &555 + default: &557 value: type: file encoding: base64 @@ -87891,8 +88052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *311 - - *312 + - *313 + - *314 - name: dir description: The alternate path to look for a README file in: path @@ -87912,9 +88073,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *555 + default: *557 '404': *6 '422': *15 x-github: @@ -87936,8 +88097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -87947,7 +88108,7 @@ paths: application/json: schema: type: array - items: &556 + items: &558 title: Release description: A release. type: object @@ -88029,7 +88190,7 @@ paths: author: *4 assets: type: array - items: &557 + items: &559 title: Release Asset description: Data related to a release. type: object @@ -88216,8 +88377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -88293,9 +88454,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: &560 + default: &562 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -88400,9 +88561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *311 - - *312 - - &558 + - *313 + - *314 + - &560 name: asset_id description: The unique identifier of the asset. in: path @@ -88414,9 +88575,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: &559 + default: &561 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 @@ -88451,7 +88612,7 @@ paths: type: User site_admin: false '404': *6 - '302': *454 + '302': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88467,9 +88628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *311 - - *312 - - *558 + - *313 + - *314 + - *560 requestBody: required: false content: @@ -88498,9 +88659,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88516,9 +88677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *311 - - *312 - - *558 + - *313 + - *314 + - *560 responses: '204': description: Response @@ -88542,8 +88703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -88629,16 +88790,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88655,8 +88816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *311 - - *312 + - *313 + - *314 - name: tag description: tag parameter in: path @@ -88669,9 +88830,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -88693,9 +88854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *311 - - *312 - - &561 + - *313 + - *314 + - &563 name: release_id description: The unique identifier of the release. in: path @@ -88709,9 +88870,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: *556 + schema: *558 examples: - default: *560 + default: *562 '401': description: Unauthorized x-github: @@ -88729,9 +88890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 requestBody: required: false content: @@ -88795,9 +88956,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 '404': description: Not Found if the discussion category name is invalid content: @@ -88818,9 +88979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 responses: '204': description: Response @@ -88840,9 +89001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 - *17 - *19 responses: @@ -88852,7 +89013,7 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: default: value: @@ -88933,9 +89094,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: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 - name: name in: query required: true @@ -88961,7 +89122,7 @@ paths: description: Response for successful upload content: application/json: - schema: *557 + schema: *559 examples: response-for-successful-upload: value: @@ -89016,9 +89177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 - 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. @@ -89042,9 +89203,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 @@ -89065,9 +89226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 requestBody: required: true content: @@ -89097,16 +89258,16 @@ paths: description: Reaction exists content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Reaction created content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -89128,10 +89289,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *311 - - *312 - - *561 - - *307 + - *313 + - *314 + - *563 + - *309 responses: '204': description: Response @@ -89155,9 +89316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 - *17 - *19 responses: @@ -89173,8 +89334,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *253 - - &562 + - *255 + - &564 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -89193,69 +89354,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *254 - - *562 - - allOf: - - *255 - - *562 - allOf: - *256 - - *562 - - allOf: - - *563 - - *562 + - *564 - allOf: - *257 - - *562 + - *564 - allOf: - *258 - - *562 + - *564 + - allOf: + - *565 + - *564 - allOf: - *259 - - *562 + - *564 - allOf: - *260 - - *562 + - *564 - allOf: - *261 - - *562 + - *564 - allOf: - *262 - - *562 + - *564 - allOf: - *263 - - *562 + - *564 - allOf: - *264 - - *562 + - *564 - allOf: - *265 - - *562 + - *564 - allOf: - *266 - - *562 + - *564 - allOf: - *267 - - *562 + - *564 - allOf: - *268 - - *562 + - *564 - allOf: - *269 - - *562 + - *564 - allOf: - *270 - - *562 + - *564 - allOf: - *271 - - *562 + - *564 - allOf: - *272 - - *562 + - *564 - allOf: + - *273 + - *564 + - allOf: + - *274 + - *564 + - allOf: + - *566 - *564 - - *562 examples: default: value: @@ -89294,8 +89455,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 - name: includes_parents @@ -89306,7 +89467,7 @@ paths: schema: type: boolean default: true - - *565 + - *567 responses: '200': description: Response @@ -89314,7 +89475,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: value: @@ -89361,8 +89522,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 requestBody: description: Request body required: true @@ -89382,16 +89543,16 @@ paths: - tag - push default: branch - enforcement: *250 + enforcement: *252 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *251 - conditions: *248 + items: *253 + conditions: *250 rules: type: array description: An array of rules within the ruleset. - items: *566 + items: *568 required: - name - enforcement @@ -89422,9 +89583,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: &576 + default: &578 value: id: 42 name: super cool ruleset @@ -89471,12 +89632,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *311 - - *312 - - *567 - - *568 + - *313 + - *314 - *569 - *570 + - *571 + - *572 - *17 - *19 responses: @@ -89484,9 +89645,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 '404': *6 '500': *98 x-github: @@ -89507,17 +89668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *311 - - *312 - - *573 + - *313 + - *314 + - *575 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 '404': *6 '500': *98 x-github: @@ -89545,8 +89706,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89566,9 +89727,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *576 + default: *578 '404': *6 '500': *98 put: @@ -89586,8 +89747,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89612,16 +89773,16 @@ paths: - branch - tag - push - enforcement: *250 + enforcement: *252 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *251 - conditions: *248 + items: *253 + conditions: *250 rules: description: An array of rules within the ruleset. type: array - items: *566 + items: *568 examples: default: value: @@ -89649,9 +89810,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *576 + default: *578 '404': *6 '500': *98 delete: @@ -89669,8 +89830,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89693,8 +89854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 - name: ruleset_id @@ -89710,9 +89871,9 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *577 + default: *579 '404': *6 '500': *98 x-github: @@ -89731,8 +89892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *311 - - *312 + - *313 + - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89750,7 +89911,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: default: value: @@ -89805,21 +89966,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *311 - - *312 - - *277 - - *278 + - *313 + - *314 - *279 - *280 + - *281 + - *282 - *46 - *19 - *17 - - *579 - - *580 - - *281 - - *282 + - *581 + - *582 - *283 - *284 + - *285 + - *286 responses: '200': description: Response @@ -89827,7 +89988,7 @@ paths: application/json: schema: type: array - items: &584 + items: &586 type: object properties: number: *52 @@ -89843,8 +90004,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *581 - resolution: *582 + state: *583 + resolution: *584 resolved_at: type: - string @@ -89938,7 +90099,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *583 + - *585 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -90060,16 +90221,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *311 - - *312 - - *412 - - *284 + - *313 + - *314 + - *414 + - *286 responses: '200': description: Response content: application/json: - schema: *584 + schema: *586 examples: default: value: @@ -90121,9 +90282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 requestBody: required: true content: @@ -90131,8 +90292,8 @@ paths: schema: type: object properties: - state: *581 - resolution: *582 + state: *583 + resolution: *584 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -90151,7 +90312,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *586 examples: default: value: @@ -90226,9 +90387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 - *19 - *17 responses: @@ -90239,7 +90400,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &736 + items: &739 type: object properties: type: @@ -90266,8 +90427,6 @@ paths: - commit details: oneOf: - - *585 - - *586 - *587 - *588 - *589 @@ -90279,6 +90438,8 @@ paths: - *595 - *596 - *597 + - *598 + - *599 examples: default: value: @@ -90364,8 +90525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -90373,14 +90534,14 @@ paths: schema: type: object properties: - reason: &599 + reason: &601 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *598 + placeholder_id: *600 required: - reason - placeholder_id @@ -90397,7 +90558,7 @@ paths: schema: type: object properties: - reason: *599 + reason: *601 expire_at: type: - string @@ -90441,8 +90602,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: - - *311 - - *312 + - *313 + - *314 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -90457,7 +90618,7 @@ paths: properties: incremental_scans: type: array - items: &600 + items: &602 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90485,15 +90646,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *600 + items: *602 backfill_scans: type: array - items: *600 + items: *602 custom_pattern_backfill_scans: type: array items: allOf: - - *600 + - *602 - type: object properties: pattern_name: @@ -90563,8 +90724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *311 - - *312 + - *313 + - *314 - *46 - name: sort description: The property to sort the results by. @@ -90608,9 +90769,9 @@ paths: application/json: schema: type: array - items: *601 + items: *603 examples: - default: *602 + default: *604 '400': *14 '404': *6 x-github: @@ -90633,8 +90794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -90714,7 +90875,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *291 required: - login - type @@ -90804,9 +90965,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &604 + default: &606 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -91039,8 +91200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -91153,7 +91314,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -91300,17 +91461,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *311 - - *312 - - *603 + - *313 + - *314 + - *605 responses: '200': description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *604 + default: *606 '403': *27 '404': *6 x-github: @@ -91334,9 +91495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *311 - - *312 - - *603 + - *313 + - *314 + - *605 requestBody: required: true content: @@ -91416,7 +91577,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *291 required: - login - type @@ -91507,17 +91668,17 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *604 - add_credit: *604 + default: *606 + add_credit: *606 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *101 + schema: *103 examples: invalid_state_transition: value: @@ -91548,9 +91709,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: - - *311 - - *312 - - *603 + - *313 + - *314 + - *605 responses: '202': *37 '400': *14 @@ -91577,17 +91738,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *311 - - *312 - - *603 + - *313 + - *314 + - *605 responses: '202': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 + default: *323 '400': *14 '422': *15 '403': *27 @@ -91613,8 +91774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -91710,8 +91871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91720,7 +91881,7 @@ paths: application/json: schema: type: array - items: &605 + items: &607 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91733,7 +91894,7 @@ paths: - 1124 - -435 '202': *37 - '204': *152 + '204': *154 '422': description: Repository contains more than 10,000 commits x-github: @@ -91753,8 +91914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -91805,7 +91966,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *152 + '204': *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91832,8 +91993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -91905,7 +92066,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *152 + '204': *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91927,8 +92088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -92082,8 +92243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -92093,7 +92254,7 @@ paths: application/json: schema: type: array - items: *605 + items: *607 examples: default: value: @@ -92106,7 +92267,7 @@ paths: - - 0 - 2 - 21 - '204': *152 + '204': *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92126,8 +92287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *311 - - *312 + - *313 + - *314 - name: sha in: path required: true @@ -92183,7 +92344,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: default: value: @@ -92237,8 +92398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -92270,14 +92431,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &607 + schema: &609 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92350,8 +92511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -92377,7 +92538,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: default: value: @@ -92404,8 +92565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -92425,8 +92586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -92508,8 +92669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -92517,7 +92678,7 @@ paths: application/json: schema: type: array - items: &608 + items: &610 title: Tag protection description: Tag protection type: object @@ -92574,8 +92735,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -92598,7 +92759,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -92629,8 +92790,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: - - *311 - - *312 + - *313 + - *314 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92667,8 +92828,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *311 - - *312 + - *313 + - *314 - name: ref in: path required: true @@ -92704,8 +92865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -92715,9 +92876,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 headers: Link: *57 '404': *6 @@ -92737,8 +92898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *311 - - *312 + - *313 + - *314 - *19 - *17 responses: @@ -92746,7 +92907,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &611 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92758,7 +92919,7 @@ paths: required: - names examples: - default: &610 + default: &612 value: names: - octocat @@ -92781,8 +92942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -92813,9 +92974,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: *610 + default: *612 '404': *6 '422': *7 x-github: @@ -92836,9 +92997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *311 - - *312 - - &611 + - *313 + - *314 + - &613 name: per description: The time frame to display results for. in: query @@ -92869,7 +93030,7 @@ paths: - 128 clones: type: array - items: &612 + items: &614 title: Traffic type: object properties: @@ -92956,8 +93117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -93051,8 +93212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -93115,9 +93276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *311 - - *312 - - *611 + - *313 + - *314 + - *613 responses: '200': description: Response @@ -93138,7 +93299,7 @@ paths: - 3782 views: type: array - items: *612 + items: *614 required: - uniques - count @@ -93215,8 +93376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -93252,7 +93413,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *129 examples: default: value: @@ -93490,8 +93651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93514,8 +93675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -93537,8 +93698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -93564,8 +93725,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *311 - - *312 + - *313 + - *314 - name: ref in: path required: true @@ -93657,9 +93818,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 + default: *323 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93700,7 +93861,7 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: default: value: @@ -93889,7 +94050,7 @@ paths: html_url: type: string format: uri - repository: *127 + repository: *129 score: type: number file_size: @@ -93908,7 +94069,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &613 + text_matches: &615 title: Search Result Text Matches type: array items: @@ -94071,7 +94232,7 @@ paths: enum: - author-date - committer-date - - &614 + - &616 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 @@ -94140,7 +94301,7 @@ paths: committer: anyOf: - type: 'null' - - *379 + - *381 comment_count: type: integer message: @@ -94159,7 +94320,7 @@ paths: url: type: string format: uri - verification: *489 + verification: *491 required: - author - committer @@ -94174,7 +94335,7 @@ paths: committer: anyOf: - type: 'null' - - *379 + - *381 parents: type: array items: @@ -94186,12 +94347,12 @@ paths: type: string sha: type: string - repository: *127 + repository: *129 score: type: number node_id: type: string - text_matches: *613 + text_matches: *615 required: - sha - node_id @@ -94373,7 +94534,7 @@ paths: - interactions - created - updated - - *614 + - *616 - *17 - *19 - name: advanced_search @@ -94479,11 +94640,11 @@ paths: type: - string - 'null' - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: type: string state_reason: @@ -94497,7 +94658,7 @@ paths: milestone: anyOf: - type: 'null' - - *235 + - *237 comments: type: integer created_at: @@ -94511,7 +94672,7 @@ paths: - string - 'null' format: date-time - text_matches: *613 + text_matches: *615 pull_request: type: object properties: @@ -94560,7 +94721,7 @@ paths: timeline_url: type: string format: uri - type: *196 + type: *198 performed_via_github_app: anyOf: - type: 'null' @@ -94737,7 +94898,7 @@ paths: enum: - created - updated - - *614 + - *616 - *17 - *19 responses: @@ -94782,7 +94943,7 @@ paths: - 'null' score: type: number - text_matches: *613 + text_matches: *615 required: - id - node_id @@ -94867,7 +95028,7 @@ paths: - forks - help-wanted-issues - updated - - *614 + - *616 - *17 - *19 responses: @@ -95104,7 +95265,7 @@ paths: - admin - pull - push - text_matches: *613 + text_matches: *615 temp_clone_token: type: string allow_merge_commit: @@ -95412,7 +95573,7 @@ paths: - string - 'null' format: uri - text_matches: *613 + text_matches: *615 related: type: - array @@ -95605,7 +95766,7 @@ paths: - followers - repositories - joined - - *614 + - *616 - *17 - *19 responses: @@ -95715,7 +95876,7 @@ paths: type: - boolean - 'null' - text_matches: *613 + text_matches: *615 blog: type: - string @@ -95797,7 +95958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &618 + - &620 name: team_id description: The unique identifier of the team. in: path @@ -95809,9 +95970,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *6 x-github: githubCloudOnly: false @@ -95838,7 +95999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *618 + - *620 requestBody: required: true content: @@ -95902,16 +96063,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '201': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *6 '422': *15 '403': *27 @@ -95939,7 +96100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *618 + - *620 responses: '204': description: Response @@ -95970,7 +96131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *618 + - *620 - *46 - *17 - *19 @@ -95981,9 +96142,9 @@ paths: application/json: schema: type: array - items: *298 + items: *300 examples: - default: *619 + default: *621 headers: Link: *57 x-github: @@ -96012,7 +96173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *618 + - *620 requestBody: required: true content: @@ -96046,9 +96207,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 x-github: triggersNotification: true githubCloudOnly: false @@ -96075,16 +96236,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 responses: '200': description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96109,8 +96270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 requestBody: required: false content: @@ -96133,9 +96294,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *620 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96160,8 +96321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 responses: '204': description: Response @@ -96190,8 +96351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *618 - - *300 + - *620 + - *302 - *46 - *17 - *19 @@ -96202,9 +96363,9 @@ paths: application/json: schema: type: array - items: *301 + items: *303 examples: - default: *621 + default: *623 headers: Link: *57 x-github: @@ -96233,8 +96394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *618 - - *300 + - *620 + - *302 requestBody: required: true content: @@ -96256,9 +96417,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: *302 + default: *304 x-github: triggersNotification: true githubCloudOnly: false @@ -96285,17 +96446,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: *302 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96320,9 +96481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 requestBody: required: true content: @@ -96344,9 +96505,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: *622 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96371,9 +96532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 responses: '204': description: Response @@ -96402,9 +96563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 - 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. @@ -96430,9 +96591,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 x-github: @@ -96461,9 +96622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 requestBody: required: true content: @@ -96495,9 +96656,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96523,8 +96684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 - 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. @@ -96550,9 +96711,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 x-github: @@ -96581,8 +96742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 requestBody: required: true content: @@ -96614,9 +96775,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96640,7 +96801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *618 + - *620 - *17 - *19 responses: @@ -96650,9 +96811,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 headers: Link: *57 x-github: @@ -96678,7 +96839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *618 + - *620 - name: role description: Filters members returned by their role in the team. in: query @@ -96729,7 +96890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *618 + - *620 - *62 responses: '204': @@ -96766,7 +96927,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *618 + - *620 - *62 responses: '204': @@ -96806,7 +96967,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *618 + - *620 - *62 responses: '204': @@ -96843,16 +97004,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *618 + - *620 - *62 responses: '200': description: Response content: application/json: - schema: *308 + schema: *310 examples: - response-if-user-is-a-team-maintainer: *623 + response-if-user-is-a-team-maintainer: *625 '404': *6 x-github: githubCloudOnly: false @@ -96885,7 +97046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *618 + - *620 - *62 requestBody: required: false @@ -96911,9 +97072,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - response-if-users-membership-with-team-is-now-pending: *624 + response-if-users-membership-with-team-is-now-pending: *626 '403': description: Forbidden if team synchronization is set up '422': @@ -96947,7 +97108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *618 + - *620 - *62 responses: '204': @@ -96976,7 +97137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *618 + - *620 - *17 - *19 responses: @@ -96986,9 +97147,9 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *625 + default: *627 headers: Link: *57 '404': *6 @@ -97014,16 +97175,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *618 - - *310 + - *620 + - *312 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *626 + default: *628 '404': description: Not Found if project is not managed by this team x-github: @@ -97047,8 +97208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *618 - - *310 + - *620 + - *312 requestBody: required: false content: @@ -97115,8 +97276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *618 - - *310 + - *620 + - *312 responses: '204': description: Response @@ -97143,7 +97304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *618 + - *620 - *17 - *19 responses: @@ -97153,9 +97314,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 '404': *6 @@ -97185,15 +97346,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *618 - - *311 - - *312 + - *620 + - *313 + - *314 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *627 + schema: *629 examples: alternative-response-with-extra-repository-information: value: @@ -97344,9 +97505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *618 - - *311 - - *312 + - *620 + - *313 + - *314 requestBody: required: false content: @@ -97396,9 +97557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *618 - - *311 - - *312 + - *620 + - *313 + - *314 responses: '204': description: Response @@ -97423,7 +97584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *618 + - *620 - *17 - *19 responses: @@ -97433,9 +97594,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - response-if-child-teams-exist: *628 + response-if-child-teams-exist: *630 headers: Link: *57 '404': *6 @@ -97468,7 +97629,7 @@ paths: application/json: schema: oneOf: - - &630 + - &632 title: Private User description: Private User type: object @@ -97718,7 +97879,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *629 + - *631 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97878,7 +98039,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: default: value: @@ -98081,9 +98242,9 @@ paths: type: integer codespaces: type: array - items: *201 + items: *203 examples: - default: *202 + default: *204 '304': *35 '500': *98 '401': *23 @@ -98222,17 +98383,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '401': *23 '403': *27 '404': *6 @@ -98276,7 +98437,7 @@ paths: type: integer secrets: type: array - items: &631 + items: &633 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -98318,7 +98479,7 @@ paths: - visibility - selected_repositories_url examples: - default: *434 + default: *436 headers: Link: *57 x-github: @@ -98390,13 +98551,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *135 + - *137 responses: '200': description: Response content: application/json: - schema: *631 + schema: *633 examples: default: value: @@ -98426,7 +98587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *135 + - *137 requestBody: required: true content: @@ -98471,7 +98632,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -98499,7 +98660,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *135 + - *137 responses: '204': description: Response @@ -98524,7 +98685,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *135 + - *137 responses: '200': description: Response @@ -98540,9 +98701,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: *632 + default: *634 '401': *23 '403': *27 '404': *6 @@ -98567,7 +98728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *135 + - *137 requestBody: required: true content: @@ -98621,7 +98782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *135 + - *137 - name: repository_id in: path required: true @@ -98654,7 +98815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *135 + - *137 - name: repository_id in: path required: true @@ -98686,15 +98847,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '304': *35 '500': *98 '401': *23 @@ -98720,7 +98881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 requestBody: required: false content: @@ -98750,9 +98911,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '401': *23 '403': *27 '404': *6 @@ -98774,7 +98935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '202': *37 '304': *35 @@ -98803,13 +98964,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '202': description: Response content: application/json: - schema: &633 + schema: &635 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98862,7 +99023,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &634 + default: &636 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98894,7 +99055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *203 + - *205 - name: export_id in: path required: true @@ -98907,9 +99068,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *635 examples: - default: *634 + default: *636 '404': *6 x-github: githubCloudOnly: false @@ -98930,7 +99091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *203 + - *205 responses: '200': description: Response @@ -98946,9 +99107,9 @@ paths: type: integer machines: type: array - items: *433 + items: *435 examples: - default: *635 + default: *637 '304': *35 '500': *98 '401': *23 @@ -98977,7 +99138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *203 + - *205 requestBody: required: true content: @@ -99033,11 +99194,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *319 + repository: *321 machine: anyOf: - type: 'null' - - *433 + - *435 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99834,15 +99995,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '304': *35 '500': *98 '400': *14 @@ -99874,15 +100035,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '500': *98 '401': *23 '403': *27 @@ -99912,9 +100073,9 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: &647 + default: &649 value: - id: 197 name: hello_docker @@ -100015,7 +100176,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 title: Email description: Email type: object @@ -100085,9 +100246,9 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: - default: &649 + default: &651 value: - email: octocat@github.com verified: true @@ -100164,7 +100325,7 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: default: value: @@ -100422,7 +100583,7 @@ paths: application/json: schema: type: array - items: &637 + items: &639 title: GPG Key description: A unique encryption key type: object @@ -100567,7 +100728,7 @@ paths: - subkeys - revoked examples: - default: &663 + default: &665 value: - id: 3 name: Octocat's GPG Key @@ -100652,9 +100813,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: - default: &638 + default: &640 value: id: 3 name: Octocat's GPG Key @@ -100711,7 +100872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &639 + - &641 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100723,9 +100884,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: - default: *638 + default: *640 '404': *6 '304': *35 '403': *27 @@ -100748,7 +100909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *639 + - *641 responses: '204': description: Response @@ -100939,7 +101100,7 @@ paths: type: array items: *66 examples: - default: *119 + default: *121 headers: Link: *57 '404': *6 @@ -100964,7 +101125,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *116 + - *118 responses: '204': description: Response @@ -100990,7 +101151,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *116 + - *118 responses: '204': description: Response @@ -101024,12 +101185,12 @@ paths: application/json: schema: anyOf: - - *191 + - *193 - type: object properties: {} additionalProperties: false examples: - default: *192 + default: *194 '204': description: Response when there are no restrictions x-github: @@ -101053,7 +101214,7 @@ paths: required: true content: application/json: - schema: *500 + schema: *502 examples: default: value: @@ -101064,7 +101225,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *193 examples: default: value: @@ -101145,7 +101306,7 @@ paths: - closed - all default: open - - *199 + - *201 - name: sort description: What to sort results by. in: query @@ -101170,7 +101331,7 @@ paths: type: array items: *81 examples: - default: *200 + default: *202 headers: Link: *57 '404': *6 @@ -101203,7 +101364,7 @@ paths: application/json: schema: type: array - items: &640 + items: &642 title: Key description: Key type: object @@ -101306,9 +101467,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: &641 + default: &643 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101341,15 +101502,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *527 + - *529 responses: '200': description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *641 + default: *643 '404': *6 '304': *35 '403': *27 @@ -101372,7 +101533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *527 + - *529 responses: '204': description: Response @@ -101405,7 +101566,7 @@ paths: application/json: schema: type: array - items: &642 + items: &644 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -101484,7 +101645,7 @@ paths: - account - plan examples: - default: &643 + default: &645 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -101546,9 +101707,9 @@ paths: application/json: schema: type: array - items: *642 + items: *644 examples: - default: *643 + default: *645 headers: Link: *57 '304': *35 @@ -101588,7 +101749,7 @@ paths: application/json: schema: type: array - items: *205 + items: *207 examples: default: value: @@ -101696,7 +101857,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *207 examples: default: value: @@ -101779,7 +101940,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *207 examples: default: value: @@ -101847,7 +102008,7 @@ paths: application/json: schema: type: array - items: *207 + items: *209 examples: default: value: @@ -102109,7 +102270,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -102289,7 +102450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *208 + - *210 - name: exclude in: query required: false @@ -102302,7 +102463,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -102496,7 +102657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *208 + - *210 responses: '302': description: Response @@ -102522,7 +102683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *208 + - *210 responses: '204': description: Response @@ -102551,8 +102712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *208 - - *644 + - *210 + - *646 responses: '204': description: Response @@ -102576,7 +102737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *208 + - *210 - *17 - *19 responses: @@ -102586,9 +102747,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 '404': *6 @@ -102623,9 +102784,9 @@ paths: application/json: schema: type: array - items: *156 + items: *158 examples: - default: *645 + default: *647 headers: Link: *57 '304': *35 @@ -102667,7 +102828,7 @@ paths: - docker - nuget - container - - *646 + - *648 - *19 - *17 responses: @@ -102677,10 +102838,10 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: *647 - '400': *648 + default: *649 + '400': *650 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102700,16 +102861,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 + - *218 responses: '200': description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: &664 + default: &666 value: id: 40201 name: octo-name @@ -102822,8 +102983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 + - *218 responses: '204': description: Response @@ -102853,8 +103014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 + - *218 - name: token description: package token schema: @@ -102886,8 +103047,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: - - *215 - - *216 + - *217 + - *218 - *19 - *17 - name: state @@ -102907,7 +103068,7 @@ paths: application/json: schema: type: array - items: *217 + items: *219 examples: default: value: @@ -102956,15 +103117,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 - *218 + - *220 responses: '200': description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -103000,9 +103161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 - *218 + - *220 responses: '204': description: Response @@ -103032,9 +103193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 - *218 + - *220 responses: '204': description: Response @@ -103092,7 +103253,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -103164,9 +103325,9 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: - default: *649 + default: *651 headers: Link: *57 '304': *35 @@ -103279,7 +103440,7 @@ paths: type: array items: *66 examples: - default: &656 + default: &658 summary: Default response value: - id: 1296269 @@ -103597,9 +103758,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 + default: *323 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103637,9 +103798,9 @@ paths: application/json: schema: type: array - items: *502 + items: *504 examples: - default: *650 + default: *652 headers: Link: *57 '304': *35 @@ -103662,7 +103823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *195 + - *197 responses: '204': description: Response @@ -103685,7 +103846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *195 + - *197 responses: '204': description: Response @@ -103718,7 +103879,7 @@ paths: application/json: schema: type: array - items: &651 + items: &653 title: Social account description: Social media account type: object @@ -103735,7 +103896,7 @@ paths: - provider - url examples: - default: &652 + default: &654 value: - provider: twitter url: https://twitter.com/github @@ -103798,9 +103959,9 @@ paths: application/json: schema: type: array - items: *651 + items: *653 examples: - default: *652 + default: *654 '422': *15 '304': *35 '404': *6 @@ -103888,7 +104049,7 @@ paths: application/json: schema: type: array - items: &653 + items: &655 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103908,7 +104069,7 @@ paths: - title - created_at examples: - default: &677 + default: &680 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103975,9 +104136,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *655 examples: - default: &654 + default: &656 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -104008,7 +104169,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: - - &655 + - &657 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -104020,9 +104181,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *655 examples: - default: *654 + default: *656 '404': *6 '304': *35 '403': *27 @@ -104045,7 +104206,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: - - *655 + - *657 responses: '204': description: Response @@ -104074,7 +104235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &678 + - &681 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 @@ -104099,11 +104260,11 @@ paths: type: array items: *66 examples: - default-response: *656 + default-response: *658 application/vnd.github.v3.star+json: schema: type: array - items: &679 + items: &682 title: Starred Repository description: Starred Repository type: object @@ -104259,8 +104420,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: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response if this repository is starred by you @@ -104288,8 +104449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -104313,8 +104474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -104347,9 +104508,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 '304': *35 @@ -104386,7 +104547,7 @@ paths: application/json: schema: type: array - items: *296 + items: *298 examples: default: value: @@ -104472,10 +104633,10 @@ paths: application/json: schema: oneOf: - - *630 - - *629 + - *632 + - *631 examples: - default-response: &658 + default-response: &660 summary: Default response value: login: octocat @@ -104510,7 +104671,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &659 + response-with-git-hub-plan-information: &661 summary: Response with GitHub plan information value: login: octocat @@ -104570,7 +104731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *657 + - *659 - *17 responses: '200': @@ -104619,11 +104780,11 @@ paths: application/json: schema: oneOf: - - *630 - - *629 + - *632 + - *631 examples: - default-response: *658 - response-with-git-hub-plan-information: *659 + default-response: *660 + response-with-git-hub-plan-information: *661 '404': *6 x-github: githubCloudOnly: false @@ -104672,8 +104833,8 @@ paths: required: - subject_digests examples: - default: *660 - withPredicateType: *661 + default: *662 + withPredicateType: *663 responses: '200': description: Response @@ -104727,7 +104888,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *662 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104931,12 +105092,12 @@ paths: initiator: type: string examples: - default: *375 + default: *377 '201': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -104970,9 +105131,9 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: *647 + default: *649 '403': *27 '401': *23 x-github: @@ -105376,9 +105537,9 @@ paths: application/json: schema: type: array - items: *637 + items: *639 examples: - default: *663 + default: *665 headers: Link: *57 x-github: @@ -105482,7 +105643,7 @@ paths: application/json: schema: *20 examples: - default: *499 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105566,9 +105727,9 @@ paths: application/json: schema: type: array - items: *156 + items: *158 examples: - default: *645 + default: *647 headers: Link: *57 x-github: @@ -105607,7 +105768,7 @@ paths: - docker - nuget - container - - *646 + - *648 - *62 - *19 - *17 @@ -105618,12 +105779,12 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: *647 + default: *649 '403': *27 '401': *23 - '400': *648 + '400': *650 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105643,17 +105804,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *215 - - *216 + - *217 + - *218 - *62 responses: '200': description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: *664 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105674,8 +105835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *215 - - *216 + - *217 + - *218 - *62 responses: '204': @@ -105708,8 +105869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *215 - - *216 + - *217 + - *218 - *62 - name: token description: package token @@ -105742,8 +105903,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: - - *215 - - *216 + - *217 + - *218 - *62 responses: '200': @@ -105752,7 +105913,7 @@ paths: application/json: schema: type: array - items: *217 + items: *219 examples: default: value: @@ -105810,16 +105971,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *215 - - *216 + - *217 - *218 + - *220 - *62 responses: '200': description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -105854,10 +106015,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *215 - - *216 - - *62 + - *217 - *218 + - *62 + - *220 responses: '204': description: Response @@ -105889,10 +106050,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *215 - - *216 - - *62 + - *217 - *218 + - *62 + - *220 responses: '204': description: Response @@ -105939,7 +106100,7 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: default: value: @@ -106014,9 +106175,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *231 + default: *233 headers: Link: *57 '304': *35 @@ -106038,16 +106199,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *232 + - *234 - *62 responses: '200': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 headers: Link: *57 '304': *35 @@ -106069,7 +106230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *232 + - *234 - *62 - *17 - *38 @@ -106081,9 +106242,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *234 + default: *236 headers: Link: *57 '304': *35 @@ -106105,17 +106266,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *232 - - *665 + - *234 + - *667 - *62 responses: '200': description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 headers: Link: *57 '304': *35 @@ -106138,7 +106299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *232 + - *234 - *62 - *38 - *39 @@ -106169,9 +106330,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *240 + default: *242 headers: Link: *57 '304': *35 @@ -106193,7 +106354,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *62 - - *232 + - *234 requestBody: required: true description: Details of the item to add to the project. @@ -106230,10 +106391,10 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - issue: *238 - pull_request: *238 + issue: *240 + pull_request: *240 '304': *35 '403': *27 '401': *23 @@ -106253,9 +106414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *232 + - *234 - *62 - - *241 + - *243 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -106273,9 +106434,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 headers: Link: *57 '304': *35 @@ -106296,9 +106457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *232 + - *234 - *62 - - *241 + - *243 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -106371,13 +106532,13 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - text_field: *240 - number_field: *240 - date_field: *240 - single_select_field: *240 - iteration_field: *240 + text_field: *242 + number_field: *242 + date_field: *242 + single_select_field: *242 + iteration_field: *242 '401': *23 '403': *27 '404': *6 @@ -106397,9 +106558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *232 + - *234 - *62 - - *241 + - *243 responses: '204': description: Response @@ -106645,9 +106806,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -106677,9 +106838,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: *668 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106707,14 +106868,144 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - *62 + - *99 + - *673 + - *100 + - *674 + - *675 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *98 + '503': *69 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -106737,9 +107028,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *676 examples: - default: *672 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106760,10 +107051,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *62 - - *673 - - *674 - - *675 - - *676 + - *99 + - *678 + - *100 + - *679 responses: '200': description: Response when getting a billing usage report @@ -106862,9 +107153,9 @@ paths: application/json: schema: type: array - items: *651 + items: *653 examples: - default: *652 + default: *654 headers: Link: *57 x-github: @@ -106894,9 +107185,9 @@ paths: application/json: schema: type: array - items: *653 + items: *655 examples: - default: *677 + default: *680 headers: Link: *57 x-github: @@ -106921,7 +107212,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *62 - - *678 + - *681 - *46 - *17 - *19 @@ -106933,11 +107224,11 @@ paths: schema: anyOf: - type: array - items: *679 + items: *682 - type: array items: *66 examples: - default-response: *656 + default-response: *658 headers: Link: *57 x-github: @@ -106966,9 +107257,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -107097,7 +107388,7 @@ webhooks: type: string enum: - disabled - enterprise: &680 + enterprise: &683 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -107166,7 +107457,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &681 + installation: &684 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -107187,7 +107478,7 @@ webhooks: required: - id - node_id - organization: &682 + organization: &685 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -107260,7 +107551,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &683 + repository: &686 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108173,10 +108464,10 @@ webhooks: type: string enum: - enabled - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -108252,11 +108543,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - rule: &684 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + rule: &687 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) @@ -108479,11 +108770,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - rule: *684 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + rule: *687 sender: *4 required: - action @@ -108671,11 +108962,11 @@ webhooks: - everyone required: - from - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - rule: *684 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + rule: *687 sender: *4 required: - action @@ -108759,7 +109050,7 @@ webhooks: type: string enum: - completed - check_run: &686 + check_run: &689 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108824,8 +109115,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *392 - repository: *127 + items: *394 + repository: *129 status: type: string enum: @@ -108869,7 +109160,7 @@ webhooks: - examples: - neutral - deployment: *685 + deployment: *688 details_url: type: string examples: @@ -108929,7 +109220,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *392 + items: *394 started_at: type: string format: date-time @@ -108967,10 +109258,10 @@ webhooks: - output - app - pull_requests - installation: *681 - enterprise: *680 - organization: *682 - repository: *683 + installation: *684 + enterprise: *683 + organization: *685 + repository: *686 sender: *4 required: - check_run @@ -109363,11 +109654,11 @@ webhooks: type: string enum: - created - check_run: *686 - installation: *681 - enterprise: *680 - organization: *682 - repository: *683 + check_run: *689 + installation: *684 + enterprise: *683 + organization: *685 + repository: *686 sender: *4 required: - check_run @@ -109763,11 +110054,11 @@ webhooks: type: string enum: - requested_action - check_run: *686 - installation: *681 - enterprise: *680 - organization: *682 - repository: *683 + check_run: *689 + installation: *684 + enterprise: *683 + organization: *685 + repository: *686 requested_action: description: The action requested by the user. type: object @@ -110172,11 +110463,11 @@ webhooks: type: string enum: - rerequested - check_run: *686 - installation: *681 - enterprise: *680 - organization: *682 - repository: *683 + check_run: *689 + installation: *684 + enterprise: *683 + organization: *685 + repository: *686 sender: *4 required: - check_run @@ -111168,10 +111459,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -111856,10 +112147,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -112538,10 +112829,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -112710,7 +113001,7 @@ webhooks: required: - login - id - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -112862,20 +113153,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &687 + commit_oid: &690 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: *680 - installation: *681 - organization: *682 - ref: &688 + enterprise: *683 + installation: *684 + organization: *685 + ref: &691 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: *683 + repository: *686 sender: *4 required: - action @@ -113042,7 +113333,7 @@ webhooks: required: - login - id - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113283,12 +113574,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *687 - enterprise: *680 - installation: *681 - organization: *682 - ref: *688 - repository: *683 + commit_oid: *690 + enterprise: *683 + installation: *684 + organization: *685 + ref: *691 + repository: *686 sender: *4 required: - action @@ -113386,7 +113677,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113571,12 +113862,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *687 - enterprise: *680 - installation: *681 - organization: *682 - ref: *688 - repository: *683 + commit_oid: *690 + enterprise: *683 + installation: *684 + organization: *685 + ref: *691 + repository: *686 sender: *4 required: - action @@ -113745,7 +114036,7 @@ webhooks: required: - login - id - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113922,12 +114213,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *687 - enterprise: *680 - installation: *681 - organization: *682 - ref: *688 - repository: *683 + commit_oid: *690 + enterprise: *683 + installation: *684 + organization: *685 + ref: *691 + repository: *686 sender: *4 required: - action @@ -114030,7 +114321,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114210,9 +114501,9 @@ webhooks: type: - string - 'null' - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -114220,7 +114511,7 @@ webhooks: type: - string - 'null' - repository: *683 + repository: *686 sender: *4 required: - action @@ -114319,7 +114610,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114466,12 +114757,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *687 - enterprise: *680 - installation: *681 - organization: *682 - ref: *688 - repository: *683 + commit_oid: *690 + enterprise: *683 + installation: *684 + organization: *685 + ref: *691 + repository: *686 sender: *4 required: - action @@ -114733,10 +115024,10 @@ webhooks: - updated_at - author_association - body - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -114817,18 +115108,18 @@ webhooks: type: - string - 'null' - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *682 - pusher_type: &689 + organization: *685 + pusher_type: &692 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &690 + ref: &693 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -114838,7 +115129,7 @@ webhooks: enum: - tag - branch - repository: *683 + repository: *686 sender: *4 required: - ref @@ -114920,10 +115211,10 @@ webhooks: type: string enum: - created - definition: *242 - enterprise: *680 - installation: *681 - organization: *682 + definition: *244 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -115008,9 +115299,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -115087,10 +115378,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *242 - enterprise: *680 - installation: *681 - organization: *682 + definition: *244 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -115167,10 +115458,10 @@ webhooks: type: string enum: - updated - definition: *242 - enterprise: *680 - installation: *681 - organization: *682 + definition: *244 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -115247,19 +115538,19 @@ webhooks: type: string enum: - updated - enterprise: *680 - installation: *681 - repository: *683 - organization: *682 + enterprise: *683 + installation: *684 + repository: *686 + organization: *685 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *246 + items: *248 old_property_values: type: array description: The old custom property values for the repository. - items: *246 + items: *248 required: - action - repository @@ -115335,18 +115626,18 @@ webhooks: title: delete event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 - pusher_type: *689 - ref: *690 + enterprise: *683 + installation: *684 + organization: *685 + pusher_type: *692 + ref: *693 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *683 + repository: *686 sender: *4 required: - ref @@ -115430,11 +115721,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115518,11 +115809,11 @@ webhooks: type: string enum: - auto_reopened - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115606,11 +115897,11 @@ webhooks: type: string enum: - created - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115692,11 +115983,11 @@ webhooks: type: string enum: - dismissed - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115778,11 +116069,11 @@ webhooks: type: string enum: - fixed - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115865,11 +116156,11 @@ webhooks: type: string enum: - reintroduced - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115951,11 +116242,11 @@ webhooks: type: string enum: - reopened - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -116032,9 +116323,9 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - key: &691 + enterprise: *683 + installation: *684 + key: &694 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -116072,8 +116363,8 @@ webhooks: - verified - created_at - read_only - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -116150,11 +116441,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - key: *691 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + key: *694 + organization: *685 + repository: *686 sender: *4 required: - action @@ -116726,12 +117017,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: &695 + workflow: &698 title: Workflow type: - object @@ -117469,13 +117760,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *464 + deployment: *466 pull_requests: type: array - items: *545 - repository: *683 - organization: *682 - installation: *681 + items: *547 + repository: *686 + organization: *685 + installation: *684 sender: *4 responses: '200': @@ -117546,7 +117837,7 @@ webhooks: type: string enum: - approved - approver: &692 + approver: &695 type: object properties: avatar_url: @@ -117589,11 +117880,11 @@ webhooks: type: string comment: type: string - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - reviewers: &693 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + reviewers: &696 type: array items: type: object @@ -117674,7 +117965,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &694 + workflow_job_run: &697 type: object properties: conclusion: @@ -118420,18 +118711,18 @@ webhooks: type: string enum: - rejected - approver: *692 + approver: *695 comment: type: string - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - reviewers: *693 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + reviewers: *696 sender: *4 since: type: string - workflow_job_run: *694 + workflow_job_run: *697 workflow_job_runs: type: array items: @@ -119148,13 +119439,13 @@ webhooks: type: string enum: - requested - enterprise: *680 + enterprise: *683 environment: type: string - installation: *681 - organization: *682 - repository: *683 - requestor: &700 + installation: *684 + organization: *685 + repository: *686 + requestor: &703 title: User type: - object @@ -121097,12 +121388,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: *695 + workflow: *698 workflow_run: title: Deployment Workflow Run type: @@ -121793,7 +122084,7 @@ webhooks: type: string enum: - answered - answer: &698 + answer: &701 type: object properties: author_association: @@ -121953,7 +122244,7 @@ webhooks: - created_at - updated_at - body - discussion: &696 + discussion: &699 title: Discussion description: A Discussion in a repository. type: object @@ -122249,7 +122540,7 @@ webhooks: - id labels: type: array - items: *510 + items: *512 required: - repository_url - category @@ -122271,10 +122562,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122401,11 +122692,11 @@ webhooks: - from required: - category - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122488,11 +122779,11 @@ webhooks: type: string enum: - closed - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122574,7 +122865,7 @@ webhooks: type: string enum: - created - comment: &697 + comment: &700 type: object properties: author_association: @@ -122734,11 +123025,11 @@ webhooks: - updated_at - body - reactions - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122821,12 +123112,12 @@ webhooks: type: string enum: - deleted - comment: *697 - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + comment: *700 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122921,12 +123212,12 @@ webhooks: - from required: - body - comment: *697 - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + comment: *700 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123010,11 +123301,11 @@ webhooks: type: string enum: - created - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123096,11 +123387,11 @@ webhooks: type: string enum: - deleted - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123200,11 +123491,11 @@ webhooks: type: string required: - from - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123286,10 +123577,10 @@ webhooks: type: string enum: - labeled - discussion: *696 - enterprise: *680 - installation: *681 - label: &699 + discussion: *699 + enterprise: *683 + installation: *684 + label: &702 title: Label type: object properties: @@ -123322,8 +123613,8 @@ webhooks: - color - default - description - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123406,11 +123697,11 @@ webhooks: type: string enum: - locked - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123492,11 +123783,11 @@ webhooks: type: string enum: - pinned - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123578,11 +123869,11 @@ webhooks: type: string enum: - reopened - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123667,16 +123958,16 @@ webhooks: changes: type: object properties: - new_discussion: *696 - new_repository: *683 + new_discussion: *699 + new_repository: *686 required: - new_discussion - new_repository - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123759,10 +124050,10 @@ webhooks: type: string enum: - unanswered - discussion: *696 - old_answer: *698 - organization: *682 - repository: *683 + discussion: *699 + old_answer: *701 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123844,12 +124135,12 @@ webhooks: type: string enum: - unlabeled - discussion: *696 - enterprise: *680 - installation: *681 - label: *699 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123932,11 +124223,11 @@ webhooks: type: string enum: - unlocked - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -124018,11 +124309,11 @@ webhooks: type: string enum: - unpinned - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -124095,7 +124386,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *680 + enterprise: *683 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -124773,9 +125064,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - forkee @@ -124921,9 +125212,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pages: description: The pages that were updated. type: array @@ -124961,7 +125252,7 @@ webhooks: - action - sha - html_url - repository: *683 + repository: *686 sender: *4 required: - pages @@ -125037,10 +125328,10 @@ webhooks: type: string enum: - created - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: &701 + organization: *685 + repositories: &704 description: An array of repository objects that the installation can access. type: array @@ -125066,8 +125357,8 @@ webhooks: - name - full_name - private - repository: *683 - requester: *700 + repository: *686 + requester: *703 sender: *4 required: - action @@ -125142,11 +125433,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: *701 - repository: *683 + organization: *685 + repositories: *704 + repository: *686 requester: type: - 'null' @@ -125223,11 +125514,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: *701 - repository: *683 + organization: *685 + repositories: *704 + repository: *686 requester: type: - 'null' @@ -125304,10 +125595,10 @@ webhooks: type: string enum: - added - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories_added: &702 + organization: *685 + repositories_added: &705 description: An array of repository objects, which were added to the installation. type: array @@ -125353,15 +125644,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *683 - repository_selection: &703 + repository: *686 + repository_selection: &706 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *700 + requester: *703 sender: *4 required: - action @@ -125440,10 +125731,10 @@ webhooks: type: string enum: - removed - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories_added: *702 + organization: *685 + repositories_added: *705 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -125470,9 +125761,9 @@ webhooks: - name - full_name - private - repository: *683 - repository_selection: *703 - requester: *700 + repository: *686 + repository_selection: *706 + requester: *703 sender: *4 required: - action @@ -125551,11 +125842,11 @@ webhooks: type: string enum: - suspend - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: *701 - repository: *683 + organization: *685 + repositories: *704 + repository: *686 requester: type: - 'null' @@ -125737,10 +126028,10 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 target_type: type: string @@ -125819,11 +126110,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: *701 - repository: *683 + organization: *685 + repositories: *704 + repository: *686 requester: type: - 'null' @@ -126071,8 +126362,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126889,8 +127180,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126907,7 +127198,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -127251,8 +127542,8 @@ webhooks: - state - locked - assignee - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -127332,7 +127623,7 @@ webhooks: type: string enum: - deleted - comment: &704 + comment: &707 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -127499,8 +127790,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128313,8 +128604,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128331,7 +128622,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -128677,8 +128968,8 @@ webhooks: - state - locked - assignee - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -128758,7 +129049,7 @@ webhooks: type: string enum: - edited - changes: &728 + changes: &731 description: The changes to the comment. type: object properties: @@ -128770,9 +129061,9 @@ webhooks: type: string required: - from - comment: *704 - enterprise: *680 - installation: *681 + comment: *707 + enterprise: *683 + installation: *684 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129588,8 +129879,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129606,7 +129897,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -129950,8 +130241,8 @@ webhooks: - state - locked - assignee - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130041,9 +130332,9 @@ webhooks: type: number blocking_issue: *81 blocking_issue_repo: *66 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130137,9 +130428,9 @@ webhooks: type: number blocking_issue: *81 blocking_issue_repo: *66 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130232,9 +130523,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130328,9 +130619,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130415,10 +130706,10 @@ webhooks: type: string enum: - assigned - assignee: *700 - enterprise: *680 - installation: *681 - issue: &707 + assignee: *703 + enterprise: *683 + installation: *684 + issue: &710 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131230,11 +131521,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131251,7 +131542,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -131354,8 +131645,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -131435,8 +131726,8 @@ webhooks: type: string enum: - closed - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132253,11 +132544,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132274,7 +132565,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -132520,8 +132811,8 @@ webhooks: required: - state - closed_at - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -132600,8 +132891,8 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133409,11 +133700,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133430,7 +133721,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -133532,8 +133823,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -133612,8 +133903,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134444,11 +134735,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134465,7 +134756,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -134546,7 +134837,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &705 + milestone: &708 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134689,8 +134980,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -134789,8 +135080,8 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135602,11 +135893,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135620,7 +135911,7 @@ webhooks: timeline_url: type: string format: uri - type: *196 + type: *198 title: description: Title of the issue type: string @@ -135726,9 +136017,9 @@ webhooks: - active_lock_reason - body - reactions - label: *699 - organization: *682 - repository: *683 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -135808,8 +136099,8 @@ webhooks: type: string enum: - labeled - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136620,11 +136911,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136638,7 +136929,7 @@ webhooks: timeline_url: type: string format: uri - type: *196 + type: *198 title: description: Title of the issue type: string @@ -136744,9 +137035,9 @@ webhooks: - active_lock_reason - body - reactions - label: *699 - organization: *682 - repository: *683 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -136826,8 +137117,8 @@ webhooks: type: string enum: - locked - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137663,11 +137954,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137681,7 +137972,7 @@ webhooks: timeline_url: type: string format: uri - type: *196 + type: *198 title: description: Title of the issue type: string @@ -137764,8 +138055,8 @@ webhooks: format: uri user_view_type: type: string - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -137844,8 +138135,8 @@ webhooks: type: string enum: - milestoned - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138675,11 +138966,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138696,7 +138987,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -138776,9 +139067,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *705 - organization: *682 - repository: *683 + milestone: *708 + organization: *685 + repository: *686 sender: *4 required: - action @@ -139670,11 +139961,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139770,7 +140061,7 @@ webhooks: required: - login - id - type: *196 + type: *198 required: - id - number @@ -140251,8 +140542,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141064,11 +141355,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141085,7 +141376,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -141187,8 +141478,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -141268,9 +141559,9 @@ webhooks: type: string enum: - pinned - enterprise: *680 - installation: *681 - issue: &706 + enterprise: *683 + installation: *684 + issue: &709 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -142076,11 +142367,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142097,7 +142388,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -142199,8 +142490,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -142279,8 +142570,8 @@ webhooks: type: string enum: - reopened - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143114,11 +143405,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143215,9 +143506,9 @@ webhooks: format: uri user_view_type: type: string - type: *196 - organization: *682 - repository: *683 + type: *198 + organization: *685 + repository: *686 sender: *4 required: - action @@ -144106,11 +144397,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144127,7 +144418,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -144709,11 +145000,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *680 - installation: *681 - issue: *706 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *709 + organization: *685 + repository: *686 sender: *4 required: - action @@ -144793,12 +145084,12 @@ webhooks: type: string enum: - typed - enterprise: *680 - installation: *681 - issue: *707 - type: *196 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *710 + type: *198 + organization: *685 + repository: *686 sender: *4 required: - action @@ -144879,7 +145170,7 @@ webhooks: type: string enum: - unassigned - assignee: &731 + assignee: &734 title: User type: - object @@ -144951,11 +145242,11 @@ webhooks: required: - login - id - enterprise: *680 - installation: *681 - issue: *707 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *710 + organization: *685 + repository: *686 sender: *4 required: - action @@ -145034,12 +145325,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *680 - installation: *681 - issue: *707 - label: *699 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *710 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -145119,8 +145410,8 @@ webhooks: type: string enum: - unlocked - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145954,11 +146245,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145975,7 +146266,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -146055,8 +146346,8 @@ webhooks: format: uri user_view_type: type: string - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146136,11 +146427,11 @@ webhooks: type: string enum: - unpinned - enterprise: *680 - installation: *681 - issue: *706 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *709 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146219,12 +146510,12 @@ webhooks: type: string enum: - untyped - enterprise: *680 - installation: *681 - issue: *707 - type: *196 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *710 + type: *198 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146304,11 +146595,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - label: *699 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146386,11 +146677,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - label: *699 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146500,11 +146791,11 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - label: *699 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146586,9 +146877,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *680 - installation: *681 - marketplace_purchase: &708 + enterprise: *683 + installation: *684 + marketplace_purchase: &711 title: Marketplace Purchase type: object required: @@ -146676,8 +146967,8 @@ webhooks: type: integer unit_count: type: integer - organization: *682 - previous_marketplace_purchase: &709 + organization: *685 + previous_marketplace_purchase: &712 title: Marketplace Purchase type: object properties: @@ -146761,7 +147052,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *683 + repository: *686 sender: *4 required: - action @@ -146841,10 +147132,10 @@ webhooks: - changed effective_date: type: string - enterprise: *680 - installation: *681 - marketplace_purchase: *708 - organization: *682 + enterprise: *683 + installation: *684 + marketplace_purchase: *711 + organization: *685 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146932,7 +147223,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *683 + repository: *686 sender: *4 required: - action @@ -147014,10 +147305,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *680 - installation: *681 - marketplace_purchase: *708 - organization: *682 + enterprise: *683 + installation: *684 + marketplace_purchase: *711 + organization: *685 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147103,7 +147394,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *683 + repository: *686 sender: *4 required: - action @@ -147184,8 +147475,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 marketplace_purchase: title: Marketplace Purchase type: object @@ -147271,9 +147562,9 @@ webhooks: type: integer unit_count: type: integer - organization: *682 - previous_marketplace_purchase: *709 - repository: *683 + organization: *685 + previous_marketplace_purchase: *712 + repository: *686 sender: *4 required: - action @@ -147353,12 +147644,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *680 - installation: *681 - marketplace_purchase: *708 - organization: *682 - previous_marketplace_purchase: *709 - repository: *683 + enterprise: *683 + installation: *684 + marketplace_purchase: *711 + organization: *685 + previous_marketplace_purchase: *712 + repository: *686 sender: *4 required: - action @@ -147460,11 +147751,11 @@ webhooks: type: string required: - to - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 sender: *4 required: - action @@ -147566,11 +147857,11 @@ webhooks: type: - string - 'null' - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 sender: *4 required: - action @@ -147649,11 +147940,11 @@ webhooks: type: string enum: - removed - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 sender: *4 required: - action @@ -147731,11 +148022,11 @@ webhooks: type: string enum: - added - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147813,7 +148104,7 @@ webhooks: required: - login - id - team: &710 + team: &713 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -148043,11 +148334,11 @@ webhooks: type: string enum: - removed - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148126,7 +148417,7 @@ webhooks: required: - login - id - team: *710 + team: *713 required: - action - scope @@ -148208,8 +148499,8 @@ webhooks: type: string enum: - checks_requested - installation: *681 - merge_group: &711 + installation: *684 + merge_group: &714 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -148228,15 +148519,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *396 + head_commit: *398 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -148322,10 +148613,10 @@ webhooks: - merged - invalidated - dequeued - installation: *681 - merge_group: *711 - organization: *682 - repository: *683 + installation: *684 + merge_group: *714 + organization: *685 + repository: *686 sender: *4 required: - action @@ -148398,7 +148689,7 @@ webhooks: type: string enum: - deleted - enterprise: *680 + enterprise: *683 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -148507,12 +148798,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *681 - organization: *682 + installation: *684 + organization: *685 repository: anyOf: - type: 'null' - - *683 + - *686 sender: *4 required: - action @@ -148592,11 +148883,11 @@ webhooks: type: string enum: - closed - enterprise: *680 - installation: *681 - milestone: *705 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + milestone: *708 + organization: *685 + repository: *686 sender: *4 required: - action @@ -148675,9 +148966,9 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - milestone: &712 + enterprise: *683 + installation: *684 + milestone: &715 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148819,8 +149110,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -148899,11 +149190,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - milestone: *705 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + milestone: *708 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149013,11 +149304,11 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - milestone: *705 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + milestone: *708 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149097,11 +149388,11 @@ webhooks: type: string enum: - opened - enterprise: *680 - installation: *681 - milestone: *712 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + milestone: *715 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149180,11 +149471,11 @@ webhooks: type: string enum: - blocked - blocked_user: *700 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + blocked_user: *703 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149263,11 +149554,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *700 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + blocked_user: *703 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149346,9 +149637,9 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - membership: &713 + enterprise: *683 + installation: *684 + membership: &716 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -149458,8 +149749,8 @@ webhooks: - role - organization_url - user - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149537,11 +149828,11 @@ webhooks: type: string enum: - member_added - enterprise: *680 - installation: *681 - membership: *713 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + membership: *716 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149620,8 +149911,8 @@ webhooks: type: string enum: - member_invited - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -149743,10 +150034,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 - user: *700 + user: *703 required: - action - invitation @@ -149824,11 +150115,11 @@ webhooks: type: string enum: - member_removed - enterprise: *680 - installation: *681 - membership: *713 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + membership: *716 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149915,11 +150206,11 @@ webhooks: properties: from: type: string - enterprise: *680 - installation: *681 - membership: *713 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + membership: *716 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149995,9 +150286,9 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 package: description: Information about the package. type: object @@ -150520,7 +150811,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &714 + items: &717 title: Ruby Gems metadata type: object properties: @@ -150617,7 +150908,7 @@ webhooks: - owner - package_version - registry - repository: *683 + repository: *686 sender: *4 required: - action @@ -150693,9 +150984,9 @@ webhooks: type: string enum: - updated - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 package: description: Information about the package. type: object @@ -151057,7 +151348,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *714 + items: *717 source_url: type: string format: uri @@ -151128,7 +151419,7 @@ webhooks: - owner - package_version - registry - repository: *683 + repository: *686 sender: *4 required: - action @@ -151309,12 +151600,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *680 + enterprise: *683 id: type: integer - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - id @@ -151391,7 +151682,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &715 + personal_access_token_request: &718 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -151541,10 +151832,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *680 - organization: *682 + enterprise: *683 + organization: *685 sender: *4 - installation: *681 + installation: *684 required: - action - personal_access_token_request @@ -151621,11 +151912,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *715 - enterprise: *680 - organization: *682 + personal_access_token_request: *718 + enterprise: *683 + organization: *685 sender: *4 - installation: *681 + installation: *684 required: - action - personal_access_token_request @@ -151701,11 +151992,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *715 - enterprise: *680 - organization: *682 + personal_access_token_request: *718 + enterprise: *683 + organization: *685 sender: *4 - installation: *681 + installation: *684 required: - action - personal_access_token_request @@ -151780,11 +152071,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *715 - organization: *682 - enterprise: *680 + personal_access_token_request: *718 + organization: *685 + enterprise: *683 sender: *4 - installation: *681 + installation: *684 required: - action - personal_access_token_request @@ -151889,7 +152180,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *716 + last_response: *719 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -151921,8 +152212,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 zen: description: Random string of GitHub zen. @@ -152167,10 +152458,10 @@ webhooks: - from required: - note - enterprise: *680 - installation: *681 - organization: *682 - project_card: &717 + enterprise: *683 + installation: *684 + organization: *685 + project_card: &720 title: Project Card type: object properties: @@ -152293,7 +152584,7 @@ webhooks: - creator - created_at - updated_at - repository: *683 + repository: *686 sender: *4 required: - action @@ -152374,11 +152665,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - project_card: *717 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project_card: *720 + repository: *686 sender: *4 required: - action @@ -152458,9 +152749,9 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 project_card: title: Project Card type: object @@ -152590,7 +152881,7 @@ webhooks: repository: anyOf: - type: 'null' - - *683 + - *686 sender: *4 required: - action @@ -152684,11 +152975,11 @@ webhooks: - from required: - note - enterprise: *680 - installation: *681 - organization: *682 - project_card: *717 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project_card: *720 + repository: *686 sender: *4 required: - action @@ -152782,9 +153073,9 @@ webhooks: - from required: - column_id - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 project_card: allOf: - title: Project Card @@ -152981,7 +153272,7 @@ webhooks: type: string required: - after_id - repository: *683 + repository: *686 sender: *4 required: - action @@ -153061,10 +153352,10 @@ webhooks: type: string enum: - closed - enterprise: *680 - installation: *681 - organization: *682 - project: &719 + enterprise: *683 + installation: *684 + organization: *685 + project: &722 title: Project type: object properties: @@ -153191,7 +153482,7 @@ webhooks: - creator - created_at - updated_at - repository: *683 + repository: *686 sender: *4 required: - action @@ -153271,10 +153562,10 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - project_column: &718 + enterprise: *683 + installation: *684 + organization: *685 + project_column: &721 title: Project Column type: object properties: @@ -153314,7 +153605,7 @@ webhooks: - name - created_at - updated_at - repository: *683 + repository: *686 sender: *4 required: - action @@ -153393,14 +153684,14 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - project_column: *718 + enterprise: *683 + installation: *684 + organization: *685 + project_column: *721 repository: anyOf: - type: 'null' - - *683 + - *686 sender: *4 required: - action @@ -153489,11 +153780,11 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 - project_column: *718 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project_column: *721 + repository: *686 sender: *4 required: - action @@ -153573,11 +153864,11 @@ webhooks: type: string enum: - moved - enterprise: *680 - installation: *681 - organization: *682 - project_column: *718 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project_column: *721 + repository: *686 sender: *4 required: - action @@ -153657,11 +153948,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - project: *719 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project: *722 + repository: *686 sender: *4 required: - action @@ -153741,14 +154032,14 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - project: *719 + enterprise: *683 + installation: *684 + organization: *685 + project: *722 repository: anyOf: - type: 'null' - - *683 + - *686 sender: *4 required: - action @@ -153849,11 +154140,11 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 - project: *719 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project: *722 + repository: *686 sender: *4 required: - action @@ -153932,11 +154223,11 @@ webhooks: type: string enum: - reopened - enterprise: *680 - installation: *681 - organization: *682 - project: *719 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project: *722 + repository: *686 sender: *4 required: - action @@ -154017,9 +154308,9 @@ webhooks: type: string enum: - closed - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -154100,9 +154391,9 @@ webhooks: type: string enum: - created - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -154183,9 +154474,9 @@ webhooks: type: string enum: - deleted - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -154306,9 +154597,9 @@ webhooks: type: string to: type: string - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -154391,7 +154682,7 @@ webhooks: type: string enum: - archived - changes: &723 + changes: &726 type: object properties: archived_at: @@ -154407,9 +154698,9 @@ webhooks: - string - 'null' format: date-time - installation: *681 - organization: *682 - projects_v2_item: &720 + installation: *684 + organization: *685 + projects_v2_item: &723 title: Projects v2 Item description: An item belonging to a project type: object @@ -154427,7 +154718,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *237 + content_type: *239 creator: *4 created_at: type: string @@ -154549,9 +154840,9 @@ webhooks: - 'null' to: type: string - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -154633,9 +154924,9 @@ webhooks: type: string enum: - created - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -154716,9 +155007,9 @@ webhooks: type: string enum: - deleted - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -154823,7 +155114,7 @@ webhooks: oneOf: - type: string - type: integer - - &721 + - &724 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -154847,7 +155138,7 @@ webhooks: required: - id - name - - &722 + - &725 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -154887,8 +155178,8 @@ webhooks: oneOf: - type: string - type: integer - - *721 - - *722 + - *724 + - *725 type: - 'null' - string @@ -154911,9 +155202,9 @@ webhooks: - 'null' required: - body - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -155010,9 +155301,9 @@ webhooks: type: - string - 'null' - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -155095,10 +155386,10 @@ webhooks: type: string enum: - restored - changes: *723 - installation: *681 - organization: *682 - projects_v2_item: *720 + changes: *726 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -155180,9 +155471,9 @@ webhooks: type: string enum: - reopened - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -155263,9 +155554,9 @@ webhooks: type: string enum: - created - installation: *681 - organization: *682 - projects_v2_status_update: *724 + installation: *684 + organization: *685 + projects_v2_status_update: *727 sender: *4 required: - action @@ -155346,9 +155637,9 @@ webhooks: type: string enum: - deleted - installation: *681 - organization: *682 - projects_v2_status_update: *724 + installation: *684 + organization: *685 + projects_v2_status_update: *727 sender: *4 required: - action @@ -155494,9 +155785,9 @@ webhooks: - string - 'null' format: date - installation: *681 - organization: *682 - projects_v2_status_update: *724 + installation: *684 + organization: *685 + projects_v2_status_update: *727 sender: *4 required: - action @@ -155567,10 +155858,10 @@ webhooks: title: public event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - repository @@ -155647,13 +155938,13 @@ webhooks: type: string enum: - assigned - assignee: *700 - enterprise: *680 - installation: *681 - number: &725 + assignee: *703 + enterprise: *683 + installation: *684 + number: &728 description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -158002,7 +158293,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -158084,11 +158375,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -160430,7 +160721,7 @@ webhooks: - draft reason: type: string - repository: *683 + repository: *686 sender: *4 required: - action @@ -160512,11 +160803,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -162858,7 +163149,7 @@ webhooks: - draft reason: type: string - repository: *683 + repository: *686 sender: *4 required: - action @@ -162940,13 +163231,13 @@ webhooks: type: string enum: - closed - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: &726 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: &729 allOf: - - *545 + - *547 - type: object properties: allow_auto_merge: @@ -163008,7 +163299,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *683 + repository: *686 sender: *4 required: - action @@ -163089,12 +163380,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -163174,11 +163465,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *680 - milestone: *235 - number: *725 - organization: *682 - pull_request: &727 + enterprise: *683 + milestone: *237 + number: *728 + organization: *685 + pull_request: &730 title: Pull Request type: object properties: @@ -165505,7 +165796,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -165584,11 +165875,11 @@ webhooks: type: string enum: - dequeued - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -167934,7 +168225,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *683 + repository: *686 sender: *4 required: - action @@ -168058,12 +168349,12 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -168143,11 +168434,11 @@ webhooks: type: string enum: - enqueued - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -170478,7 +170769,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -170558,11 +170849,11 @@ webhooks: type: string enum: - labeled - enterprise: *680 - installation: *681 - label: *699 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + label: *702 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -172910,7 +173201,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -172991,10 +173282,10 @@ webhooks: type: string enum: - locked - enterprise: *680 - installation: *681 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -175340,7 +175631,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -175420,12 +175711,12 @@ webhooks: type: string enum: - milestoned - enterprise: *680 - milestone: *235 - number: *725 - organization: *682 - pull_request: *727 - repository: *683 + enterprise: *683 + milestone: *237 + number: *728 + organization: *685 + pull_request: *730 + repository: *686 sender: *4 required: - action @@ -175504,12 +175795,12 @@ webhooks: type: string enum: - opened - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -175590,12 +175881,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -175675,12 +175966,12 @@ webhooks: type: string enum: - reopened - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -176055,9 +176346,9 @@ webhooks: - start_side - side - reactions - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: type: object properties: @@ -178287,7 +178578,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *683 + repository: *686 sender: *4 required: - action @@ -178367,7 +178658,7 @@ webhooks: type: string enum: - deleted - comment: &729 + comment: &732 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -178660,9 +178951,9 @@ webhooks: - start_side - side - reactions - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: type: object properties: @@ -180880,7 +181171,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *683 + repository: *686 sender: *4 required: - action @@ -180960,11 +181251,11 @@ webhooks: type: string enum: - edited - changes: *728 - comment: *729 - enterprise: *680 - installation: *681 - organization: *682 + changes: *731 + comment: *732 + enterprise: *683 + installation: *684 + organization: *685 pull_request: type: object properties: @@ -183185,7 +183476,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *683 + repository: *686 sender: *4 required: - action @@ -183266,9 +183557,9 @@ webhooks: type: string enum: - dismissed - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -185501,7 +185792,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 + repository: *686 review: description: The review that was affected. type: object @@ -185752,9 +186043,9 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -187868,8 +188159,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 - review: &730 + repository: *686 + review: &733 description: The review that was affected. type: object properties: @@ -188107,12 +188398,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -190459,7 +190750,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 requested_reviewer: title: User type: @@ -190545,12 +190836,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -192904,7 +193195,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193099,12 +193390,12 @@ webhooks: type: string enum: - review_requested - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -195453,7 +195744,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 requested_reviewer: title: User type: @@ -195540,12 +195831,12 @@ webhooks: type: string enum: - review_requested - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -197885,7 +198176,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 requested_team: title: Team description: Groups of organization members that gives permissions @@ -198069,9 +198360,9 @@ webhooks: type: string enum: - submitted - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -200307,8 +200598,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 - review: *730 + repository: *686 + review: *733 sender: *4 required: - action @@ -200388,9 +200679,9 @@ webhooks: type: string enum: - resolved - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -202521,7 +202812,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 + repository: *686 sender: *4 thread: type: object @@ -202918,9 +203209,9 @@ webhooks: type: string enum: - unresolved - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -205034,7 +205325,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 + repository: *686 sender: *4 thread: type: object @@ -205433,10 +205724,10 @@ webhooks: type: string before: type: string - enterprise: *680 - installation: *681 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -207771,7 +208062,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -207853,11 +208144,11 @@ webhooks: type: string enum: - unassigned - assignee: *731 - enterprise: *680 - installation: *681 - number: *725 - organization: *682 + assignee: *734 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -210207,7 +210498,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -210286,11 +210577,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *680 - installation: *681 - label: *699 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + label: *702 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -212629,7 +212920,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -212710,10 +213001,10 @@ webhooks: type: string enum: - unlocked - enterprise: *680 - installation: *681 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -215042,7 +215333,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -215245,7 +215536,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *680 + enterprise: *683 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -215340,8 +215631,8 @@ webhooks: - url - author - committer - installation: *681 - organization: *682 + installation: *684 + organization: *685 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215929,9 +216220,9 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 registry_package: type: object properties: @@ -216408,7 +216699,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *714 + items: *717 summary: type: string tag_name: @@ -216464,7 +216755,7 @@ webhooks: - owner - package_version - registry - repository: *683 + repository: *686 sender: *4 required: - action @@ -216542,9 +216833,9 @@ webhooks: type: string enum: - updated - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 registry_package: type: object properties: @@ -216856,7 +217147,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *714 + items: *717 summary: type: string tag_name: @@ -216906,7 +217197,7 @@ webhooks: - owner - package_version - registry - repository: *683 + repository: *686 sender: *4 required: - action @@ -216983,10 +217274,10 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - release: &732 + enterprise: *683 + installation: *684 + organization: *685 + release: &735 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -217317,7 +217608,7 @@ webhooks: - updated_at - zipball_url - body - repository: *683 + repository: *686 sender: *4 required: - action @@ -217394,11 +217685,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - release: *732 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + release: *735 + repository: *686 sender: *4 required: - action @@ -217515,11 +217806,11 @@ webhooks: type: boolean required: - to - enterprise: *680 - installation: *681 - organization: *682 - release: *732 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + release: *735 + repository: *686 sender: *4 required: - action @@ -217597,9 +217888,9 @@ webhooks: type: string enum: - prereleased - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -217935,7 +218226,7 @@ webhooks: - string - 'null' format: uri - repository: *683 + repository: *686 sender: *4 required: - action @@ -218011,10 +218302,10 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 - release: &733 + enterprise: *683 + installation: *684 + organization: *685 + release: &736 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218347,7 +218638,7 @@ webhooks: - string - 'null' format: uri - repository: *683 + repository: *686 sender: *4 required: - action @@ -218423,11 +218714,11 @@ webhooks: type: string enum: - released - enterprise: *680 - installation: *681 - organization: *682 - release: *732 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + release: *735 + repository: *686 sender: *4 required: - action @@ -218503,11 +218794,11 @@ webhooks: type: string enum: - unpublished - enterprise: *680 - installation: *681 - organization: *682 - release: *733 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + release: *736 + repository: *686 sender: *4 required: - action @@ -218583,11 +218874,11 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_advisory: *601 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_advisory: *603 sender: *4 required: - action @@ -218663,11 +218954,11 @@ webhooks: type: string enum: - reported - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_advisory: *601 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_advisory: *603 sender: *4 required: - action @@ -218743,10 +219034,10 @@ webhooks: type: string enum: - archived - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -218823,10 +219114,10 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -218904,10 +219195,10 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -218992,10 +219283,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219110,10 +219401,10 @@ webhooks: - 'null' items: type: string - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219185,10 +219476,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 status: type: string @@ -219269,10 +219560,10 @@ webhooks: type: string enum: - privatized - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219349,10 +219640,10 @@ webhooks: type: string enum: - publicized - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219446,10 +219737,10 @@ webhooks: - name required: - repository - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219529,11 +219820,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_ruleset: *273 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_ruleset: *275 sender: *4 required: - action @@ -219611,11 +219902,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_ruleset: *273 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_ruleset: *275 sender: *4 required: - action @@ -219693,11 +219984,11 @@ webhooks: type: string enum: - edited - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_ruleset: *273 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_ruleset: *275 changes: type: object properties: @@ -219716,16 +220007,16 @@ webhooks: properties: added: type: array - items: *248 + items: *250 deleted: type: array - items: *248 + items: *250 updated: type: array items: type: object properties: - condition: *248 + condition: *250 changes: type: object properties: @@ -219758,16 +220049,16 @@ webhooks: properties: added: type: array - items: *566 + items: *568 deleted: type: array - items: *566 + items: *568 updated: type: array items: type: object properties: - rule: *566 + rule: *568 changes: type: object properties: @@ -220004,10 +220295,10 @@ webhooks: - from required: - owner - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220085,10 +220376,10 @@ webhooks: type: string enum: - unarchived - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220166,7 +220457,7 @@ webhooks: type: string enum: - create - alert: &734 + alert: &737 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -220290,10 +220581,10 @@ webhooks: type: string enum: - open - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220503,10 +220794,10 @@ webhooks: type: string enum: - dismissed - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220584,11 +220875,11 @@ webhooks: type: string enum: - reopen - alert: *734 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *737 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220790,10 +221081,10 @@ webhooks: enum: - fixed - open - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220871,7 +221162,7 @@ webhooks: type: string enum: - created - alert: &735 + alert: &738 type: object properties: number: *52 @@ -220981,10 +221272,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221065,11 +221356,11 @@ webhooks: type: string enum: - created - alert: *735 - installation: *681 - location: *736 - organization: *682 - repository: *683 + alert: *738 + installation: *684 + location: *739 + organization: *685 + repository: *686 sender: *4 required: - location @@ -221307,11 +221598,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *735 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *738 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221389,11 +221680,11 @@ webhooks: type: string enum: - reopened - alert: *735 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *738 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221471,11 +221762,11 @@ webhooks: type: string enum: - resolved - alert: *735 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *738 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221553,11 +221844,11 @@ webhooks: type: string enum: - validated - alert: *735 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *738 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221687,10 +221978,10 @@ webhooks: - organization - enterprise - - repository: *683 - enterprise: *680 - installation: *681 - organization: *682 + repository: *686 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -221768,11 +222059,11 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - security_advisory: &737 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + security_advisory: &740 description: The details of the security advisory, including summary, description, and severity. type: object @@ -221958,11 +222249,11 @@ webhooks: type: string enum: - updated - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - security_advisory: *737 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + security_advisory: *740 sender: *4 required: - action @@ -222035,10 +222326,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -222224,11 +222515,11 @@ webhooks: from: type: object properties: - security_and_analysis: *247 - enterprise: *680 - installation: *681 - organization: *682 - repository: *319 + security_and_analysis: *249 + enterprise: *683 + installation: *684 + organization: *685 + repository: *321 sender: *4 required: - changes @@ -222306,12 +222597,12 @@ webhooks: type: string enum: - cancelled - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: &738 + sponsorship: &741 type: object properties: created_at: @@ -222616,12 +222907,12 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - sponsorship @@ -222709,12 +223000,12 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - changes @@ -222791,17 +223082,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &739 + effective_date: &742 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: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - sponsorship @@ -222875,7 +223166,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &740 + changes: &743 type: object properties: tier: @@ -222919,13 +223210,13 @@ webhooks: - from required: - tier - effective_date: *739 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + effective_date: *742 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - changes @@ -223002,13 +223293,13 @@ webhooks: type: string enum: - tier_changed - changes: *740 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + changes: *743 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - changes @@ -223082,10 +223373,10 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223169,10 +223460,10 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223606,15 +223897,15 @@ webhooks: type: - string - 'null' - enterprise: *680 + enterprise: *683 id: description: The unique identifier of the status. type: integer - installation: *681 + installation: *684 name: type: string - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 sha: description: The Commit SHA. @@ -223730,9 +224021,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -223822,9 +224113,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -223914,9 +224205,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -224006,9 +224297,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -224085,12 +224376,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - team: &741 + team: &744 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -224320,9 +224611,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -224792,7 +225083,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - team @@ -224868,9 +225159,9 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -225340,7 +225631,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - team @@ -225417,9 +225708,9 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -225889,7 +226180,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - team @@ -226033,9 +226324,9 @@ webhooks: - from required: - permissions - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -226505,7 +226796,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - changes @@ -226583,9 +226874,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -227055,7 +227346,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - team @@ -227131,10 +227422,10 @@ webhooks: type: string enum: - started - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -227207,17 +227498,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *680 + enterprise: *683 inputs: type: - object - 'null' additionalProperties: true - installation: *681 - organization: *682 + installation: *684 + organization: *685 ref: type: string - repository: *683 + repository: *686 sender: *4 workflow: type: string @@ -227299,10 +227590,10 @@ webhooks: type: string enum: - completed - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 workflow_job: allOf: @@ -227558,7 +227849,7 @@ webhooks: type: string required: - conclusion - deployment: *464 + deployment: *466 required: - action - repository @@ -227637,10 +227928,10 @@ webhooks: type: string enum: - in_progress - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 workflow_job: allOf: @@ -227922,7 +228213,7 @@ webhooks: required: - status - steps - deployment: *464 + deployment: *466 required: - action - repository @@ -228001,10 +228292,10 @@ webhooks: type: string enum: - queued - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 workflow_job: type: object @@ -228150,7 +228441,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *466 required: - action - repository @@ -228229,10 +228520,10 @@ webhooks: type: string enum: - waiting - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 workflow_job: type: object @@ -228379,7 +228670,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *466 required: - action - repository @@ -228459,12 +228750,12 @@ webhooks: type: string enum: - completed - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: *695 + workflow: *698 workflow_run: title: Workflow Run type: object @@ -229483,12 +229774,12 @@ webhooks: type: string enum: - in_progress - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: *695 + workflow: *698 workflow_run: title: Workflow Run type: object @@ -230492,12 +230783,12 @@ webhooks: type: string enum: - requested - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: *695 + workflow: *698 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index ec7c8fe6a..06d5a9f16 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -62212,6 +62212,403 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -711003,6 +711400,390 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 560ae0d99..8d9c7153a 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -905,7 +905,7 @@ paths: - subscriptions_url - type - url - type: &289 + type: &291 type: string description: The type of credit the user is receiving. enum: @@ -1038,7 +1038,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &102 + schema: &104 title: Validation Error Simple description: Validation Error Simple type: object @@ -1071,7 +1071,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &603 + - &605 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1656,7 +1656,7 @@ paths: schema: type: integer default: 30 - - &174 + - &176 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 @@ -1672,7 +1672,7 @@ paths: application/json: schema: type: array - items: &175 + items: &177 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1768,7 +1768,7 @@ paths: - installation_id - repository_id examples: - default: &176 + default: &178 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1831,7 +1831,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &101 + schema: &103 title: Validation Error description: Validation Error type: object @@ -1903,7 +1903,7 @@ paths: description: Response content: application/json: - schema: &177 + schema: &179 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2038,7 +2038,7 @@ paths: - request - response examples: - default: &178 + default: &180 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7716,7 +7716,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &148 + code_scanning_options: &150 type: - object - 'null' @@ -7914,7 +7914,7 @@ paths: description: Response content: application/json: - schema: &150 + schema: &152 type: array description: A list of default code security configurations items: @@ -7930,7 +7930,7 @@ paths: default configuration: *41 examples: - default: &151 + default: &153 value: - default_for_new_repos: public configuration: @@ -8261,7 +8261,7 @@ paths: - *40 - *43 responses: - '204': &152 + '204': &154 description: A header with no content is returned. '400': *14 '403': *27 @@ -8388,7 +8388,7 @@ paths: default: value: default_for_new_repos: all - configuration: &149 + configuration: &151 value: id: 1325 target_type: organization @@ -8473,7 +8473,7 @@ paths: application/json: schema: type: array - items: &153 + items: &155 type: object description: Repositories associated with a code security configuration and attachment status @@ -8818,7 +8818,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &154 + repository: &156 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -8912,7 +8912,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &158 + - &160 name: state in: query description: |- @@ -8921,7 +8921,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &159 + - &161 name: severity in: query description: |- @@ -8930,7 +8930,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &160 + - &162 name: ecosystem in: query description: |- @@ -8939,14 +8939,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &161 + - &163 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 - - &162 + - &164 name: epss_percentage in: query description: |- @@ -8958,7 +8958,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &163 + - &165 name: has in: query description: |- @@ -8972,7 +8972,7 @@ paths: type: string enum: - patch - - &164 + - &166 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8982,7 +8982,7 @@ paths: enum: - development - runtime - - &165 + - &167 name: sort in: query description: |- @@ -9000,7 +9000,7 @@ paths: - *46 - *38 - *39 - - &166 + - &168 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -9013,7 +9013,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &167 + - &169 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -9033,7 +9033,7 @@ paths: application/json: schema: type: array - items: &168 + items: &170 type: object description: A Dependabot alert. properties: @@ -9103,7 +9103,7 @@ paths: - direct - transitive - - security_advisory: &456 + security_advisory: &458 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -9332,7 +9332,7 @@ paths: 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_at: &144 + dismissed_at: &146 type: - string - 'null' @@ -9363,7 +9363,7 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: &143 + fixed_at: &145 type: - string - 'null' @@ -9371,7 +9371,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &457 + auto_dismissed_at: &459 type: - string - 'null' @@ -9398,7 +9398,7 @@ paths: - repository additionalProperties: false examples: - default: &169 + default: &171 value: - number: 2 state: dismissed @@ -9745,7 +9745,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &277 + - &279 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9756,7 +9756,7 @@ paths: enum: - open - resolved - - &278 + - &280 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -9766,7 +9766,7 @@ paths: required: false schema: type: string - - &279 + - &281 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9775,7 +9775,7 @@ paths: required: false schema: type: string - - &280 + - &282 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. @@ -9791,7 +9791,7 @@ paths: - *17 - *38 - *39 - - &281 + - &283 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9800,7 +9800,7 @@ paths: required: false schema: type: string - - &282 + - &284 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9809,7 +9809,7 @@ paths: schema: type: boolean default: false - - &283 + - &285 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9818,7 +9818,7 @@ paths: schema: type: boolean default: false - - &284 + - &286 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -9834,7 +9834,7 @@ paths: application/json: schema: type: array - items: &285 + items: &287 type: object properties: number: *52 @@ -9850,14 +9850,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &581 + state: &583 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: &582 + resolution: &584 type: - string - 'null' @@ -9964,14 +9964,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &583 + - &585 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &585 + - &587 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -10028,7 +10028,7 @@ paths: - blob_url - commit_sha - commit_url - - &586 + - &588 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -10089,7 +10089,7 @@ paths: - page_url - commit_sha - commit_url - - &587 + - &589 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -10104,7 +10104,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &588 + - &590 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -10119,7 +10119,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &589 + - &591 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -10134,7 +10134,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &590 + - &592 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -10149,7 +10149,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &591 + - &593 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -10164,7 +10164,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &592 + - &594 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -10179,7 +10179,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &593 + - &595 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -10194,7 +10194,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &594 + - &596 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -10209,7 +10209,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &595 + - &597 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -10224,7 +10224,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &596 + - &598 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -10239,7 +10239,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &597 + - &599 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -10260,7 +10260,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &286 + default: &288 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -11195,7 +11195,7 @@ paths: milestone: anyOf: - type: 'null' - - &235 + - &237 title: Milestone description: A collection of related issues and pull requests. @@ -11367,7 +11367,7 @@ paths: timeline_url: type: string format: uri - type: &196 + type: &198 title: Issue Type description: The type of issue. type: @@ -11476,7 +11476,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &615 + sub_issues_summary: &617 title: Sub-issues Summary type: object properties: @@ -11497,7 +11497,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &616 + issue_dependencies_summary: &618 title: Issue Dependencies Summary type: object properties: @@ -11516,7 +11516,7 @@ paths: - total_blocking issue_field_values: type: array - items: &617 + items: &619 title: Issue Field Value description: A value assigned to an issue field type: object @@ -11611,7 +11611,7 @@ paths: - user - created_at - updated_at - comment: &503 + comment: &505 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -12186,7 +12186,7 @@ paths: url: type: string format: uri - user: &629 + user: &631 title: Public User description: Public User type: object @@ -14081,7 +14081,7 @@ paths: - closed - all default: open - - &199 + - &201 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -14132,7 +14132,7 @@ paths: type: array items: *81 examples: - default: &200 + default: &202 value: - id: 1 node_id: MDU6SXNzdWUx @@ -15544,14 +15544,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &311 + - &313 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &312 + - &314 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -15622,7 +15622,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &320 + '301': &322 description: Moved permanently content: application/json: @@ -15644,7 +15644,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &532 + - &534 name: all description: If `true`, show notifications marked as read. in: query @@ -15652,7 +15652,7 @@ paths: schema: type: boolean default: false - - &533 + - &535 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -15662,7 +15662,7 @@ paths: type: boolean default: false - *71 - - &534 + - &536 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: @@ -15694,7 +15694,7 @@ paths: properties: id: type: string - repository: &127 + repository: &129 title: Minimal Repository description: Minimal Repository type: object @@ -16033,7 +16033,7 @@ paths: type: boolean examples: - false - security_and_analysis: &247 + security_and_analysis: &249 type: - object - 'null' @@ -16198,7 +16198,7 @@ paths: - url - subscription_url examples: - default: &535 + default: &537 value: - id: '1' repository: @@ -16747,7 +16747,7 @@ paths: application/json: schema: type: array - items: &156 + items: &158 title: Organization Simple description: A GitHub organization. type: object @@ -16819,7 +16819,7 @@ paths: - avatar_url - description examples: - default: &645 + default: &647 value: - login: github id: 1 @@ -17116,22 +17116,21 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access - "/organizations/{org}/settings/billing/usage": + "/organizations/{org}/settings/billing/premium_request/usage": get: - summary: Get billing usage report for an organization - description: |- - Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. - - **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. tags: - billing - operationId: billing/get-github-billing-usage-report-org + operationId: billing/get-github-billing-premium-request-usage-report-org externalDocs: description: API method documentation - url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization parameters: - *97 - - &673 + - &99 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, @@ -17140,16 +17139,16 @@ paths: required: false schema: type: integer - - &674 + - &673 name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: type: integer - - &675 + - &100 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is @@ -17158,7 +17157,169 @@ paths: required: false schema: type: integer - - &676 + - name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &674 + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &675 + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *98 + '503': *69 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing + "/organizations/{org}/settings/billing/usage": + get: + summary: Get billing usage report for an organization + description: |- + Gets a report of the total usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account. + + **Note:** This endpoint is only available to organizations with access to the enhanced billing platform. For more information, see "[About the enhanced billing platform](https://docs.github.com/billing/using-the-new-billing-platform)." + tags: + - billing + operationId: billing/get-github-billing-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + parameters: + - *97 + - *99 + - &678 + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer + - *100 + - &679 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -17274,7 +17435,7 @@ paths: description: Response content: application/json: - schema: &99 + schema: &101 title: Organization Full description: Organization Full type: object @@ -17669,7 +17830,7 @@ paths: - updated_at - archived_at examples: - default-response: &100 + default-response: &102 value: login: github id: 1 @@ -17986,17 +18147,17 @@ paths: description: Response content: application/json: - schema: *99 + schema: *101 examples: - default: *100 + default: *102 '422': description: Validation failed content: application/json: schema: oneOf: - - *101 - - *102 + - *103 + - *104 '409': *45 x-github: githubCloudOnly: false @@ -18110,7 +18271,7 @@ paths: type: integer repository_cache_usages: type: array - items: &325 + items: &327 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -18186,7 +18347,7 @@ paths: type: integer runners: type: array - items: &103 + items: &105 title: GitHub-hosted hosted runner description: A Github-hosted hosted runner. type: object @@ -18243,7 +18404,7 @@ paths: - size_gb - display_name - source - machine_size_details: &106 + machine_size_details: &108 title: Github-owned VM details. description: Provides details of a particular machine spec. type: object @@ -18348,7 +18509,7 @@ paths: - public_ip_enabled - platform examples: - default: &126 + default: &128 value: total_count: 2 runners: @@ -18475,9 +18636,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *105 examples: - default: &107 + default: &109 value: id: 5 name: My hosted ubuntu runner @@ -18532,7 +18693,7 @@ paths: type: integer images: type: array - items: &104 + items: &106 title: GitHub-hosted runner image details. description: Provides details of a hosted runner image type: object @@ -18572,7 +18733,7 @@ paths: - display_name - source examples: - default: &105 + default: &107 value: id: ubuntu-20.04 platform: linux-x64 @@ -18612,9 +18773,9 @@ paths: type: integer images: type: array - items: *104 + items: *106 examples: - default: *105 + default: *107 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -18702,7 +18863,7 @@ paths: type: integer machine_specs: type: array - items: *106 + items: *108 examples: default: value: @@ -18772,7 +18933,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#get-a-github-hosted-runner-for-an-organization parameters: - *97 - - &108 + - &110 name: hosted_runner_id description: Unique identifier of the GitHub-hosted runner. in: path @@ -18784,9 +18945,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *105 examples: - default: *107 + default: *109 headers: Link: *57 x-github: @@ -18807,7 +18968,7 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#update-a-github-hosted-runner-for-an-organization parameters: - *97 - - *108 + - *110 requestBody: required: true content: @@ -18845,9 +19006,9 @@ paths: description: Response content: application/json: - schema: *103 + schema: *105 examples: - default: *107 + default: *109 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -18864,15 +19025,15 @@ paths: url: https://docs.github.com/rest/actions/hosted-runners#delete-a-github-hosted-runner-for-an-organization parameters: - *97 - - *108 + - *110 responses: '202': description: Response content: application/json: - schema: *103 + schema: *105 examples: - default: *107 + default: *109 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -18898,7 +19059,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &109 + schema: &111 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -18912,7 +19073,7 @@ paths: required: - include_claim_keys examples: - default: &110 + default: &112 value: include_claim_keys: - repo @@ -18939,15 +19100,15 @@ paths: required: true content: application/json: - schema: *109 + schema: *111 examples: - default: *110 + default: *112 responses: '201': description: Empty response content: application/json: - schema: &136 + schema: &138 title: Empty Object description: An object without any properties. type: object @@ -18986,7 +19147,7 @@ paths: schema: type: object properties: - enabled_repositories: &111 + enabled_repositories: &113 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -18999,7 +19160,7 @@ paths: description: The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. - allowed_actions: &112 + allowed_actions: &114 type: string description: The permissions policy that controls the actions and reusable workflows that are allowed to run. @@ -19007,12 +19168,12 @@ paths: - all - local_only - selected - selected_actions_url: &331 + selected_actions_url: &333 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` is set to `selected`. - sha_pinning_required: &113 + sha_pinning_required: &115 type: boolean description: Whether actions must be pinned to a full-length commit SHA. @@ -19054,9 +19215,9 @@ paths: schema: type: object properties: - enabled_repositories: *111 - allowed_actions: *112 - sha_pinning_required: *113 + enabled_repositories: *113 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled_repositories examples: @@ -19090,7 +19251,7 @@ paths: description: Response content: application/json: - schema: &335 + schema: &337 type: object properties: days: @@ -19132,7 +19293,7 @@ paths: required: true content: application/json: - schema: &336 + schema: &338 type: object properties: days: @@ -19175,7 +19336,7 @@ paths: description: Response content: application/json: - schema: &114 + schema: &116 type: object properties: approval_policy: @@ -19189,7 +19350,7 @@ paths: required: - approval_policy examples: - default: &337 + default: &339 value: approval_policy: first_time_contributors '404': *6 @@ -19220,7 +19381,7 @@ paths: required: true content: application/json: - schema: *114 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -19248,7 +19409,7 @@ paths: description: Response content: application/json: - schema: &338 + schema: &340 type: object required: - run_workflows_from_fork_pull_requests @@ -19274,7 +19435,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: &115 + default: &117 value: run_workflows_from_fork_pull_requests: true send_write_tokens_to_workflows: false @@ -19302,7 +19463,7 @@ paths: required: true content: application/json: - schema: &339 + schema: &341 type: object required: - run_workflows_from_fork_pull_requests @@ -19325,7 +19486,7 @@ paths: description: Whether workflows triggered by pull requests from forks require approval from a repository administrator to run. examples: - default: *115 + default: *117 responses: '204': description: Empty response for successful settings update @@ -19375,7 +19536,7 @@ paths: type: array items: *66 examples: - default: &119 + default: &121 value: total_count: 1 repositories: @@ -19560,7 +19721,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *97 - - &116 + - &118 name: repository_id description: The unique identifier of the repository. in: path @@ -19589,7 +19750,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *97 - - *116 + - *118 responses: '204': description: Response @@ -19618,7 +19779,7 @@ paths: description: Response content: application/json: - schema: &117 + schema: &119 type: object properties: github_owned_allowed: @@ -19640,7 +19801,7 @@ paths: items: type: string examples: - default: &118 + default: &120 value: github_owned_allowed: true verified_allowed: false @@ -19673,9 +19834,9 @@ paths: required: false content: application/json: - schema: *117 + schema: *119 examples: - selected_actions: *118 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -19807,7 +19968,7 @@ paths: type: array items: *66 examples: - default: *119 + default: *121 '403': *27 '404': *6 x-github: @@ -19876,7 +20037,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *97 - - *116 + - *118 responses: '204': description: No content @@ -19903,7 +20064,7 @@ paths: url: https://docs.github.com/rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *97 - - *116 + - *118 responses: '204': description: No content @@ -19937,17 +20098,17 @@ paths: description: Response content: application/json: - schema: &340 + schema: &342 type: object properties: - default_workflow_permissions: &120 + default_workflow_permissions: &122 type: string description: The default workflow permissions granted to the GITHUB_TOKEN when running workflows. enum: - read - write - can_approve_pull_request_reviews: &121 + can_approve_pull_request_reviews: &123 type: boolean description: Whether GitHub Actions can approve pull requests. Enabling this can be a security risk. @@ -19955,7 +20116,7 @@ paths: - default_workflow_permissions - can_approve_pull_request_reviews examples: - default: &122 + default: &124 summary: Give read-only permission, and allow approving PRs. value: default_workflow_permissions: read @@ -19988,13 +20149,13 @@ paths: required: false content: application/json: - schema: &341 + schema: &343 type: object properties: - default_workflow_permissions: *120 - can_approve_pull_request_reviews: *121 + default_workflow_permissions: *122 + can_approve_pull_request_reviews: *123 examples: - default: *122 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20039,7 +20200,7 @@ paths: type: number runner_groups: type: array - items: &123 + items: &125 type: object properties: id: @@ -20229,9 +20390,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *125 examples: - default: &125 + default: &127 value: id: 2 name: octo-runner-group @@ -20267,7 +20428,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - *97 - - &124 + - &126 name: runner_group_id description: Unique identifier of the self-hosted runner group. in: path @@ -20279,7 +20440,7 @@ paths: description: Response content: application/json: - schema: *123 + schema: *125 examples: default: value: @@ -20316,7 +20477,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - *97 - - *124 + - *126 requestBody: required: true content: @@ -20372,9 +20533,9 @@ paths: description: Response content: application/json: - schema: *123 + schema: *125 examples: - default: *125 + default: *127 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -20394,7 +20555,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - *97 - - *124 + - *126 responses: '204': description: Response @@ -20418,7 +20579,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-github-hosted-runners-in-a-group-for-an-organization parameters: - *97 - - *124 + - *126 - *17 - *19 responses: @@ -20436,9 +20597,9 @@ paths: type: number runners: type: array - items: *103 + items: *105 examples: - default: *126 + default: *128 headers: Link: *57 x-github: @@ -20461,7 +20622,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *97 - - *124 + - *126 - *19 - *17 responses: @@ -20479,9 +20640,9 @@ paths: type: number repositories: type: array - items: *127 + items: *129 examples: - default: &632 + default: &634 value: total_count: 1 repositories: @@ -20734,7 +20895,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - *97 - - *124 + - *126 requestBody: required: true content: @@ -20779,8 +20940,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *97 - - *124 - - *116 + - *126 + - *118 responses: '204': description: Response @@ -20803,8 +20964,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - *97 - - *124 - - *116 + - *126 + - *118 responses: '204': description: Response @@ -20828,7 +20989,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - *97 - - *124 + - *126 - *17 - *19 responses: @@ -20846,7 +21007,7 @@ paths: type: number runners: type: array - items: &129 + items: &131 title: Self hosted runners description: A self hosted runner type: object @@ -20880,7 +21041,7 @@ paths: type: boolean labels: type: array - items: &132 + items: &134 title: Self hosted runner label description: A label for a self hosted runner type: object @@ -20910,7 +21071,7 @@ paths: - busy - labels examples: - default: &130 + default: &132 value: total_count: 2 runners: @@ -20970,7 +21131,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - *97 - - *124 + - *126 requestBody: required: true content: @@ -21015,8 +21176,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - *97 - - *124 - - &128 + - *126 + - &130 name: runner_id description: Unique identifier of the self-hosted runner. in: path @@ -21045,8 +21206,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - *97 - - *124 - - *128 + - *126 + - *130 responses: '204': description: Response @@ -21094,9 +21255,9 @@ paths: type: integer runners: type: array - items: *129 + items: *131 examples: - default: *130 + default: *132 headers: Link: *57 x-github: @@ -21128,7 +21289,7 @@ paths: application/json: schema: type: array - items: &342 + items: &344 title: Runner Application description: Runner Application type: object @@ -21153,7 +21314,7 @@ paths: - download_url - filename examples: - default: &343 + default: &345 value: - os: osx architecture: x64 @@ -21239,7 +21400,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &344 + '201': &346 description: Response content: application/json: @@ -21249,7 +21410,7 @@ paths: - runner - encoded_jit_config properties: - runner: *129 + runner: *131 encoded_jit_config: type: string description: The base64 encoded runner configuration. @@ -21312,7 +21473,7 @@ paths: description: Response content: application/json: - schema: &131 + schema: &133 title: Authentication Token description: Authentication Token type: object @@ -21354,7 +21515,7 @@ paths: - token - expires_at examples: - default: &345 + default: &347 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -21391,9 +21552,9 @@ paths: description: Response content: application/json: - schema: *131 + schema: *133 examples: - default: &346 + default: &348 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -21419,15 +21580,15 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 responses: '200': description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: &347 + default: &349 value: id: 23 name: MBP @@ -21469,7 +21630,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - *97 - - *128 + - *130 responses: '204': description: Response @@ -21496,9 +21657,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 responses: - '200': &133 + '200': &135 description: Response content: application/json: @@ -21512,7 +21673,7 @@ paths: type: integer labels: type: array - items: *132 + items: *134 examples: default: value: @@ -21552,7 +21713,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 requestBody: required: true content: @@ -21576,7 +21737,7 @@ paths: - gpu - accelerated responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -21601,7 +21762,7 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 requestBody: required: true content: @@ -21626,7 +21787,7 @@ paths: - gpu - accelerated responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -21651,9 +21812,9 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 + - *130 responses: - '200': &348 + '200': &350 description: Response content: application/json: @@ -21667,7 +21828,7 @@ paths: type: integer labels: type: array - items: *132 + items: *134 examples: default: value: @@ -21709,8 +21870,8 @@ paths: url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - *97 - - *128 - - &349 + - *130 + - &351 name: name description: The name of a self-hosted runner's custom label. in: path @@ -21718,7 +21879,7 @@ paths: schema: type: string responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -21761,7 +21922,7 @@ paths: type: integer secrets: type: array - items: &134 + items: &136 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -21842,7 +22003,7 @@ paths: description: Response content: application/json: - schema: &361 + schema: &363 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -21877,7 +22038,7 @@ paths: - key_id - key examples: - default: &362 + default: &364 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -21903,7 +22064,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#get-an-organization-secret parameters: - *97 - - &135 + - &137 name: secret_name description: The name of the secret. in: path @@ -21915,7 +22076,7 @@ paths: description: Response content: application/json: - schema: *134 + schema: *136 examples: default: value: @@ -21946,7 +22107,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#create-or-update-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -22003,7 +22164,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -22030,7 +22191,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#delete-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '204': description: Response @@ -22057,7 +22218,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 - *19 - *17 responses: @@ -22075,9 +22236,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: &139 + default: &141 value: total_count: 1 repositories: @@ -22170,7 +22331,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -22223,7 +22384,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -22257,7 +22418,7 @@ paths: url: https://docs.github.com/rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -22290,7 +22451,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *97 - - &330 + - &332 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)." @@ -22314,7 +22475,7 @@ paths: type: integer variables: type: array - items: &137 + items: &139 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -22452,7 +22613,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -22478,7 +22639,7 @@ paths: url: https://docs.github.com/rest/actions/variables#get-an-organization-variable parameters: - *97 - - &138 + - &140 name: name description: The name of the variable. in: path @@ -22490,7 +22651,7 @@ paths: description: Response content: application/json: - schema: *137 + schema: *139 examples: default: value: @@ -22521,7 +22682,7 @@ paths: url: https://docs.github.com/rest/actions/variables#update-an-organization-variable parameters: - *97 - - *138 + - *140 requestBody: required: true content: @@ -22584,7 +22745,7 @@ paths: url: https://docs.github.com/rest/actions/variables#delete-an-organization-variable parameters: - *97 - - *138 + - *140 responses: '204': description: Response @@ -22611,7 +22772,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *97 - - *138 + - *140 - *19 - *17 responses: @@ -22629,9 +22790,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: *139 + default: *141 '409': description: Response when the visibility of the variable is not set to `selected` @@ -22658,7 +22819,7 @@ paths: url: https://docs.github.com/rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *97 - - *138 + - *140 requestBody: required: true content: @@ -22708,7 +22869,7 @@ paths: url: https://docs.github.com/rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *97 - - *138 + - *140 - name: repository_id in: path required: true @@ -22743,7 +22904,7 @@ paths: url: https://docs.github.com/rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *97 - - *138 + - *140 - name: repository_id in: path required: true @@ -23025,12 +23186,12 @@ paths: required: - subject_digests examples: - default: &660 + default: &662 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &661 + withPredicateType: &663 value: subject_digests: - sha256:abc123 @@ -23089,7 +23250,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &662 + default: &664 value: attestations_subject_digests: - sha256:abc: @@ -23385,7 +23546,7 @@ paths: initiator: type: string examples: - default: &375 + default: &377 value: attestations: - bundle: @@ -23604,7 +23765,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &140 + schema: &142 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -23630,7 +23791,7 @@ paths: application/json: schema: type: array - items: &141 + items: &143 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -23661,7 +23822,7 @@ paths: team_managers: description: The campaign team managers type: array - items: &157 + items: &159 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -23738,7 +23899,7 @@ paths: parent: anyOf: - type: 'null' - - &211 + - &213 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -23874,7 +24035,7 @@ paths: - string - 'null' format: date-time - state: *140 + state: *142 contact_link: description: The contact link of the campaign. type: @@ -24091,9 +24252,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *143 examples: - default: &142 + default: &144 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -24176,9 +24337,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *143 examples: - default: *142 + default: *144 '404': *6 '422': description: Unprocessable Entity @@ -24256,7 +24417,7 @@ paths: - string - 'null' format: uri - state: *140 + state: *142 examples: default: value: @@ -24266,9 +24427,9 @@ paths: description: Response content: application/json: - schema: *141 + schema: *143 examples: - default: *142 + default: *144 '400': description: Bad Request content: @@ -24335,17 +24496,17 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *97 - - &400 + - &402 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`, but not both. in: query required: false - schema: &145 + schema: &147 type: string description: The name of the tool used to generate the code scanning analysis. - - &401 + - &403 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 @@ -24353,7 +24514,7 @@ paths: or `tool_name`, but not both. in: query required: false - schema: &146 + schema: &148 type: - string - 'null' @@ -24369,7 +24530,7 @@ paths: be returned. in: query required: false - schema: &403 + schema: &405 type: string description: State of a code scanning alert. enum: @@ -24392,7 +24553,7 @@ paths: be returned. in: query required: false - schema: &404 + schema: &406 type: string description: Severity of a code scanning alert. enum: @@ -24418,13 +24579,13 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: &405 + instances_url: &407 type: string description: The REST API URL for fetching the list of instances for an alert. format: uri readOnly: true - state: &147 + state: &149 type: - string - 'null' @@ -24434,13 +24595,13 @@ paths: - dismissed - fixed - - fixed_at: *143 + fixed_at: *145 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *144 - dismissed_reason: &406 + dismissed_at: *146 + dismissed_reason: &408 type: - string - 'null' @@ -24451,14 +24612,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &407 + dismissed_comment: &409 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &408 + rule: &410 type: object properties: id: @@ -24519,26 +24680,26 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &409 + tool: &411 type: object properties: - name: *145 + name: *147 version: type: - string - 'null' description: The version of the tool used to generate the code scanning analysis. - guid: *146 - most_recent_instance: &410 + guid: *148 + most_recent_instance: &412 type: object properties: - ref: &402 + ref: &404 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &420 + analysis_key: &422 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -24549,13 +24710,13 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &421 + category: &423 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code. - state: *147 + state: *149 commit_sha: type: string message: @@ -25061,7 +25222,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *148 + code_scanning_options: *150 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -25204,7 +25365,7 @@ paths: application/json: schema: *41 examples: - default: *149 + default: *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25232,9 +25393,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *152 examples: - default: *151 + default: *153 '304': *35 '403': *27 '404': *6 @@ -25286,7 +25447,7 @@ paths: - 32 - 91 responses: - '204': *152 + '204': *154 '400': *14 '403': *27 '404': *6 @@ -25321,7 +25482,7 @@ paths: application/json: schema: *41 examples: - default: *149 + default: *151 '304': *35 '403': *27 '404': *6 @@ -25605,7 +25766,7 @@ paths: - *97 - *43 responses: - '204': *152 + '204': *154 '400': *14 '403': *27 '404': *6 @@ -25743,7 +25904,7 @@ paths: default: value: default_for_new_repos: all - configuration: *149 + configuration: *151 '403': *27 '404': *6 x-github: @@ -25796,13 +25957,13 @@ paths: application/json: schema: type: array - items: *153 + items: *155 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *154 + repository: *156 '403': *27 '404': *6 x-github: @@ -25842,7 +26003,7 @@ paths: type: integer codespaces: type: array - items: &201 + items: &203 type: object title: Codespace description: A codespace. @@ -25873,11 +26034,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *127 + repository: *129 machine: anyOf: - type: 'null' - - &433 + - &435 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26164,7 +26325,7 @@ paths: - pulls_url - recent_folders examples: - default: &202 + default: &204 value: total_count: 3 codespaces: @@ -26788,7 +26949,7 @@ paths: type: integer secrets: type: array - items: &155 + items: &157 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26829,7 +26990,7 @@ paths: - updated_at - visibility examples: - default: &434 + default: &436 value: total_count: 2 secrets: @@ -26867,7 +27028,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &437 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26902,7 +27063,7 @@ paths: - key_id - key examples: - default: &436 + default: &438 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26926,15 +27087,15 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '200': description: Response content: application/json: - schema: *155 + schema: *157 examples: - default: &438 + default: &440 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26962,7 +27123,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -27017,7 +27178,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -27044,7 +27205,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '204': description: Response @@ -27070,7 +27231,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 - *19 - *17 responses: @@ -27088,9 +27249,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: *139 + default: *141 '404': *6 x-github: githubCloudOnly: false @@ -27113,7 +27274,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -27164,7 +27325,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -27198,7 +27359,7 @@ paths: url: https://docs.github.com/rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -27401,7 +27562,7 @@ paths: currently being billed. seats: type: array - items: &204 + items: &206 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -27414,12 +27575,12 @@ paths: organization: anyOf: - type: 'null' - - *156 + - *158 assigning_team: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - *157 + - *159 - *58 type: - 'null' @@ -27932,7 +28093,7 @@ paths: application/json: schema: type: array - items: &293 + items: &295 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -28247,7 +28408,7 @@ paths: - date additionalProperties: true examples: - default: &294 + default: &296 value: - date: '2024-06-24' total_active_users: 24 @@ -28349,7 +28510,7 @@ paths: '500': *98 '403': *27 '404': *6 - '422': &295 + '422': &297 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -28377,11 +28538,11 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *97 - - *158 - - *159 - *160 - *161 - *162 + - *163 + - *164 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -28397,14 +28558,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *163 - - *164 - *165 + - *166 + - *167 - *46 - *38 - *39 - - *166 - - *167 + - *168 + - *169 - *17 responses: '200': @@ -28413,9 +28574,9 @@ paths: application/json: schema: type: array - items: *168 + items: *170 examples: - default: *169 + default: *171 '304': *35 '400': *14 '403': *27 @@ -28459,7 +28620,7 @@ paths: type: integer secrets: type: array - items: &170 + items: &172 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28538,7 +28699,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &462 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28557,7 +28718,7 @@ paths: - key_id - key examples: - default: &461 + default: &463 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28581,13 +28742,13 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#get-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '200': description: Response content: application/json: - schema: *170 + schema: *172 examples: default: value: @@ -28616,7 +28777,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -28671,7 +28832,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -28696,7 +28857,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#delete-an-organization-secret parameters: - *97 - - *135 + - *137 responses: '204': description: Response @@ -28721,7 +28882,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 - *19 - *17 responses: @@ -28739,9 +28900,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: *139 + default: *141 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28763,7 +28924,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -28814,7 +28975,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -28846,7 +29007,7 @@ paths: url: https://docs.github.com/rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *97 - - *135 + - *137 - name: repository_id in: path required: true @@ -28884,7 +29045,7 @@ paths: application/json: schema: type: array - items: &213 + items: &215 title: Package description: A software package type: object @@ -28937,7 +29098,7 @@ paths: repository: anyOf: - type: 'null' - - *127 + - *129 created_at: type: string format: date-time @@ -28955,7 +29116,7 @@ paths: - created_at - updated_at examples: - default: &214 + default: &216 value: - id: 197 name: hello_docker @@ -29122,7 +29283,7 @@ paths: application/json: schema: type: array - items: &193 + items: &195 title: Organization Invitation description: Organization Invitation type: object @@ -29176,7 +29337,7 @@ paths: - invitation_teams_url - node_id examples: - default: &194 + default: &196 value: - id: 1 login: monalisa @@ -29243,7 +29404,7 @@ paths: application/json: schema: type: array - items: &171 + items: &173 title: Org Hook description: Org Hook type: object @@ -29428,9 +29589,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *173 examples: - default: &172 + default: &174 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29478,7 +29639,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *97 - - &173 + - &175 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. @@ -29491,9 +29652,9 @@ paths: description: Response content: application/json: - schema: *171 + schema: *173 examples: - default: *172 + default: *174 '404': *6 x-github: githubCloudOnly: false @@ -29521,7 +29682,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *97 - - *173 + - *175 requestBody: required: false content: @@ -29567,7 +29728,7 @@ paths: description: Response content: application/json: - schema: *171 + schema: *173 examples: default: value: @@ -29609,7 +29770,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *97 - - *173 + - *175 responses: '204': description: Response @@ -29637,7 +29798,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *97 - - *173 + - *175 responses: '200': description: Response @@ -29668,7 +29829,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *97 - - *173 + - *175 requestBody: required: false content: @@ -29719,9 +29880,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *97 - - *173 + - *175 - *17 - - *174 + - *176 responses: '200': description: Response @@ -29729,9 +29890,9 @@ paths: application/json: schema: type: array - items: *175 + items: *177 examples: - default: *176 + default: *178 '400': *14 '422': *15 x-github: @@ -29757,16 +29918,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *97 - - *173 + - *175 - *16 responses: '200': description: Response content: application/json: - schema: *177 + schema: *179 examples: - default: *178 + default: *180 '400': *14 '422': *15 x-github: @@ -29792,7 +29953,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *97 - - *173 + - *175 - *16 responses: '202': *37 @@ -29822,7 +29983,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *97 - - *173 + - *175 responses: '204': description: Response @@ -29845,7 +30006,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *97 - - &183 + - &185 name: actor_type in: path description: The type of the actor @@ -29858,14 +30019,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &184 + - &186 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &179 + - &181 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`.' @@ -29873,7 +30034,7 @@ paths: required: true schema: type: string - - &180 + - &182 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) @@ -29968,12 +30129,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *97 - - *179 - - *180 + - *181 + - *182 - *19 - *17 - *46 - - &189 + - &191 name: sort description: The property to sort the results by. in: query @@ -30053,14 +30214,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *97 - - *179 - - *180 + - *181 + - *182 responses: '200': description: Response content: application/json: - schema: &181 + schema: &183 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30076,7 +30237,7 @@ paths: type: integer format: int64 examples: - default: &182 + default: &184 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30097,23 +30258,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *97 - - &185 + - &187 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *179 - - *180 + - *181 + - *182 responses: '200': description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 x-github: enabledForGitHubApps: true category: orgs @@ -30132,18 +30293,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *97 - - *179 - - *180 - - *183 - - *184 + - *181 + - *182 + - *185 + - *186 responses: '200': description: Response content: application/json: - schema: *181 + schema: *183 examples: - default: *182 + default: *184 x-github: enabledForGitHubApps: true category: orgs @@ -30161,9 +30322,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *97 - - *179 - - *180 - - &186 + - *181 + - *182 + - &188 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30176,7 +30337,7 @@ paths: description: Response content: application/json: - schema: &187 + schema: &189 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30192,7 +30353,7 @@ paths: type: integer format: int64 examples: - default: &188 + default: &190 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30229,18 +30390,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *97 - - *185 - - *179 - - *180 - - *186 + - *187 + - *181 + - *182 + - *188 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 x-github: enabledForGitHubApps: true category: orgs @@ -30258,19 +30419,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *97 - - *183 - - *184 - - *179 - - *180 + - *185 - *186 + - *181 + - *182 + - *188 responses: '200': description: Response content: application/json: - schema: *187 + schema: *189 examples: - default: *188 + default: *190 x-github: enabledForGitHubApps: true category: orgs @@ -30288,13 +30449,13 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *97 - - *185 - - *179 - - *180 + - *187 + - *181 + - *182 - *19 - *17 - *46 - - *189 + - *191 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -30378,7 +30539,7 @@ paths: application/json: schema: *20 examples: - default: &499 + default: &501 value: id: 1 account: @@ -30544,12 +30705,12 @@ paths: application/json: schema: anyOf: - - &191 + - &193 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &190 + limit: &192 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30577,7 +30738,7 @@ paths: properties: {} additionalProperties: false examples: - default: &192 + default: &194 value: limit: collaborators_only origin: organization @@ -30606,13 +30767,13 @@ paths: required: true content: application/json: - schema: &500 + schema: &502 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *190 + limit: *192 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30637,9 +30798,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *192 + default: *194 '422': *15 x-github: githubCloudOnly: false @@ -30715,9 +30876,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 headers: Link: *57 '404': *6 @@ -30794,7 +30955,7 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: default: value: @@ -30849,7 +31010,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *97 - - &195 + - &197 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30880,7 +31041,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *97 - - *195 + - *197 - *17 - *19 responses: @@ -30890,9 +31051,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: &212 + default: &214 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30935,7 +31096,7 @@ paths: application/json: schema: type: array - items: *196 + items: *198 examples: default: value: @@ -31023,9 +31184,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: - default: &197 + default: &199 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -31058,7 +31219,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *97 - - &198 + - &200 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -31114,9 +31275,9 @@ paths: description: Response content: application/json: - schema: *196 + schema: *198 examples: - default: *197 + default: *199 '404': *6 '422': *7 x-github: @@ -31141,7 +31302,7 @@ paths: url: https://docs.github.com/rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *97 - - *198 + - *200 responses: '204': description: Response @@ -31204,7 +31365,7 @@ paths: - closed - all default: open - - *199 + - *201 - name: type description: Can be the name of an issue type. in: query @@ -31235,7 +31396,7 @@ paths: type: array items: *81 examples: - default: *200 + default: *202 headers: Link: *57 '404': *6 @@ -31394,9 +31555,9 @@ paths: type: integer codespaces: type: array - items: *201 + items: *203 examples: - default: *202 + default: *204 '304': *35 '500': *98 '401': *23 @@ -31423,7 +31584,7 @@ paths: parameters: - *97 - *62 - - &203 + - &205 name: codespace_name in: path required: true @@ -31458,15 +31619,15 @@ paths: parameters: - *97 - *62 - - *203 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: &432 + default: &434 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31646,7 +31807,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *204 + schema: *206 examples: default: value: @@ -31722,7 +31883,7 @@ paths: description: Response content: application/json: - schema: &205 + schema: &207 title: Org Membership description: Org Membership type: object @@ -31771,7 +31932,7 @@ paths: format: uri examples: - https://api.github.com/orgs/octocat - organization: *156 + organization: *158 user: anyOf: - type: 'null' @@ -31791,7 +31952,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &206 + response-if-user-has-an-active-admin-membership-with-organization: &208 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31888,9 +32049,9 @@ paths: description: Response content: application/json: - schema: *205 + schema: *207 examples: - response-if-user-already-had-membership-with-organization: *206 + response-if-user-already-had-membership-with-organization: *208 '422': *15 '403': *27 x-github: @@ -31962,7 +32123,7 @@ paths: application/json: schema: type: array - items: &207 + items: &209 title: Migration description: A migration. type: object @@ -32300,7 +32461,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -32479,7 +32640,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *97 - - &208 + - &210 name: migration_id description: The unique identifier of the migration. in: path @@ -32507,7 +32668,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -32677,7 +32838,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *97 - - *208 + - *210 responses: '302': description: Response @@ -32699,7 +32860,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *97 - - *208 + - *210 responses: '204': description: Response @@ -32723,8 +32884,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *97 - - *208 - - &644 + - *210 + - &646 name: repo_name description: repo_name parameter in: path @@ -32752,7 +32913,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *97 - - *208 + - *210 - *17 - *19 responses: @@ -32762,9 +32923,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: &219 + default: &221 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32917,7 +33078,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &210 + items: &212 title: Organization Role description: Organization roles type: object @@ -33094,7 +33255,7 @@ paths: parameters: - *97 - *64 - - &209 + - &211 name: role_id description: The unique identifier of the role. in: path @@ -33131,7 +33292,7 @@ paths: parameters: - *97 - *64 - - *209 + - *211 responses: '204': description: Response @@ -33184,7 +33345,7 @@ paths: parameters: - *97 - *62 - - *209 + - *211 responses: '204': description: Response @@ -33216,7 +33377,7 @@ paths: parameters: - *97 - *62 - - *209 + - *211 responses: '204': description: Response @@ -33245,13 +33406,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *97 - - *209 + - *211 responses: '200': description: Response content: application/json: - schema: *210 + schema: *212 examples: default: value: @@ -33302,7 +33463,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *97 - - *209 + - *211 - *17 - *19 responses: @@ -33381,7 +33542,7 @@ paths: parent: anyOf: - type: 'null' - - *211 + - *213 type: description: The ownership type of the team type: string @@ -33414,7 +33575,7 @@ paths: - type - parent examples: - default: *212 + default: *214 headers: Link: *57 '404': @@ -33444,7 +33605,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *97 - - *209 + - *211 - *17 - *19 responses: @@ -33473,7 +33634,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *211 + items: *213 name: type: - string @@ -33783,7 +33944,7 @@ paths: - nuget - container - *97 - - &646 + - &648 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33819,12 +33980,12 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: *214 + default: *216 '403': *27 '401': *23 - '400': &648 + '400': &650 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33846,7 +34007,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &215 + - &217 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 @@ -33864,7 +34025,7 @@ paths: - docker - nuget - container - - &216 + - &218 name: package_name description: The name of the package. in: path @@ -33877,7 +34038,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *215 examples: default: value: @@ -33929,8 +34090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *215 - - *216 + - *217 + - *218 - *97 responses: '204': @@ -33963,8 +34124,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *215 - - *216 + - *217 + - *218 - *97 - name: token description: package token @@ -33997,8 +34158,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: - - *215 - - *216 + - *217 + - *218 - *97 - *19 - *17 @@ -34019,7 +34180,7 @@ paths: application/json: schema: type: array - items: &217 + items: &219 title: Package Version description: A version of a software package type: object @@ -34154,10 +34315,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *215 - - *216 + - *217 + - *218 - *97 - - &218 + - &220 name: package_version_id description: Unique identifier of the package version. in: path @@ -34169,7 +34330,7 @@ paths: description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -34205,10 +34366,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *215 - - *216 - - *97 + - *217 - *218 + - *97 + - *220 responses: '204': description: Response @@ -34240,10 +34401,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *215 - - *216 - - *97 + - *217 - *218 + - *97 + - *220 responses: '204': description: Response @@ -34273,7 +34434,7 @@ paths: - *97 - *17 - *19 - - &220 + - &222 name: sort description: The property by which to sort the results. in: query @@ -34284,7 +34445,7 @@ paths: - created_at default: created_at - *46 - - &221 + - &223 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34296,7 +34457,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &222 + - &224 name: repository description: The name of the repository to use to filter the results. in: query @@ -34305,7 +34466,7 @@ paths: type: string examples: - Hello-World - - &223 + - &225 name: permission description: The permission to use to filter the results. in: query @@ -34314,7 +34475,7 @@ paths: type: string examples: - issues_read - - &224 + - &226 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) @@ -34324,7 +34485,7 @@ paths: schema: type: string format: date-time - - &225 + - &227 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) @@ -34334,7 +34495,7 @@ paths: schema: type: string format: date-time - - &226 + - &228 name: token_id description: The ID of the token in: query @@ -34610,7 +34771,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *152 + '204': *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34651,9 +34812,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -34679,14 +34840,14 @@ paths: - *97 - *17 - *19 - - *220 - - *46 - - *221 - *222 + - *46 - *223 - *224 - *225 - *226 + - *227 + - *228 responses: '500': *98 '422': *15 @@ -34927,7 +35088,7 @@ paths: responses: '500': *98 '404': *6 - '204': *152 + '204': *154 '403': *27 '422': *15 x-github: @@ -34968,9 +35129,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -35012,7 +35173,7 @@ paths: type: integer configurations: type: array - items: &227 + items: &229 title: Organization private registry description: Private registry configuration for an organization type: object @@ -35271,7 +35432,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &228 + org-private-registry-with-selected-visibility: &230 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -35363,15 +35524,15 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *97 - - *135 + - *137 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *227 + schema: *229 examples: - default: *228 + default: *230 '404': *6 x-github: githubCloudOnly: false @@ -35393,7 +35554,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *97 - - *135 + - *137 requestBody: required: true content: @@ -35490,7 +35651,7 @@ paths: url: https://docs.github.com/rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *97 - - *135 + - *137 responses: '204': description: Response @@ -35536,7 +35697,7 @@ paths: application/json: schema: type: array - items: &229 + items: &231 title: Project description: Projects are a way to organize columns and cards of work. @@ -35718,7 +35879,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -35756,7 +35917,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &317 + '410': &319 description: Gone content: application/json: @@ -35799,7 +35960,7 @@ paths: application/json: schema: type: array - items: &230 + items: &232 title: Projects v2 Project description: A projects v2 project type: object @@ -35873,7 +36034,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &724 + - &727 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -35958,7 +36119,7 @@ paths: - deleted_at - deleted_by examples: - default: &231 + default: &233 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -36061,7 +36222,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-organization parameters: - - &232 + - &234 name: project_number description: The project's number. in: path @@ -36074,9 +36235,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 headers: Link: *57 '304': *35 @@ -36098,7 +36259,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-organization parameters: - - *232 + - *234 - *97 - *17 - *38 @@ -36110,7 +36271,7 @@ paths: application/json: schema: type: array - items: &233 + items: &235 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -36260,7 +36421,7 @@ paths: - updated_at - project_url examples: - default: &234 + default: &236 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -36303,8 +36464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-organization parameters: - - *232 - - &665 + - *234 + - &667 name: field_id description: The unique identifier of the field. in: path @@ -36317,9 +36478,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 headers: Link: *57 '304': *35 @@ -36342,7 +36503,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *232 + - *234 - *97 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -36373,7 +36534,7 @@ paths: application/json: schema: type: array - items: &239 + items: &241 title: Projects v2 Item description: An item belonging to a project type: object @@ -36390,7 +36551,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &237 + content_type: &239 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -36447,7 +36608,7 @@ paths: - updated_at - archived_at examples: - default: &240 + default: &242 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -37142,7 +37303,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-organization-owned-project parameters: - *97 - - *232 + - *234 requestBody: required: true description: Details of the item to add to the project. @@ -37179,7 +37340,7 @@ paths: description: Response content: application/json: - schema: &666 + schema: &668 title: Projects v2 Item description: An item belonging to a project type: object @@ -37193,7 +37354,7 @@ paths: content: oneOf: - *81 - - &445 + - &447 title: Pull Request Simple description: Pull Request Simple type: object @@ -37313,7 +37474,7 @@ paths: milestone: anyOf: - type: 'null' - - *235 + - *237 active_lock_reason: type: - string @@ -37368,7 +37529,7 @@ paths: type: - array - 'null' - items: *157 + items: *159 head: type: object properties: @@ -37412,7 +37573,7 @@ paths: _links: type: object properties: - comments: &236 + comments: &238 title: Link description: Hypermedia Link type: object @@ -37421,13 +37582,13 @@ paths: type: string required: - href - commits: *236 - statuses: *236 - html: *236 - issue: *236 - review_comments: *236 - review_comment: *236 - self: *236 + commits: *238 + statuses: *238 + html: *238 + issue: *238 + review_comments: *238 + review_comment: *238 + self: *238 required: - comments - commits @@ -37438,7 +37599,7 @@ paths: - review_comment - self author_association: *67 - auto_merge: &542 + auto_merge: &544 title: Auto merge description: The status of auto merging a pull request. type: @@ -37540,7 +37701,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *237 + content_type: *239 creator: *4 created_at: type: string @@ -37577,7 +37738,7 @@ paths: - updated_at - archived_at examples: - issue: &238 + issue: &240 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -37632,7 +37793,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *238 + pull_request: *240 '304': *35 '403': *27 '401': *23 @@ -37652,9 +37813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *232 + - *234 - *97 - - &241 + - &243 name: item_id description: The unique identifier of the project item. in: path @@ -37678,9 +37839,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 headers: Link: *57 '304': *35 @@ -37701,9 +37862,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-organization parameters: - - *232 + - *234 - *97 - - *241 + - *243 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -37776,13 +37937,13 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - text_field: *240 - number_field: *240 - date_field: *240 - single_select_field: *240 - iteration_field: *240 + text_field: *242 + number_field: *242 + date_field: *242 + single_select_field: *242 + iteration_field: *242 '401': *23 '403': *27 '404': *6 @@ -37802,9 +37963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-organization parameters: - - *232 + - *234 - *97 - - *241 + - *243 responses: '204': description: Response @@ -37836,7 +37997,7 @@ paths: application/json: schema: type: array - items: &242 + items: &244 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -37912,7 +38073,7 @@ paths: - property_name - value_type examples: - default: &243 + default: &245 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -37971,7 +38132,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *242 + items: *244 minItems: 1 maxItems: 100 required: @@ -38001,9 +38162,9 @@ paths: application/json: schema: type: array - items: *242 + items: *244 examples: - default: *243 + default: *245 '403': *27 '404': *6 x-github: @@ -38025,7 +38186,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *97 - - &244 + - &246 name: custom_property_name description: The custom property name in: path @@ -38037,9 +38198,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: &245 + default: &247 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -38074,7 +38235,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *97 - - *244 + - *246 requestBody: required: true content: @@ -38152,9 +38313,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *244 examples: - default: *245 + default: *247 '403': *27 '404': *6 x-github: @@ -38178,9 +38339,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *97 - - *244 + - *246 responses: - '204': *152 + '204': *154 '403': *27 '404': *6 x-github: @@ -38242,7 +38403,7 @@ paths: - octocat/Hello-World properties: type: array - items: &246 + items: &248 title: Custom Property Value description: Custom property name and associated value type: object @@ -38332,7 +38493,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *246 + items: *248 required: - repository_names - properties @@ -38522,9 +38683,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -38727,7 +38888,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &321 title: Full Repository description: Full Repository type: object @@ -39192,7 +39353,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &450 + code_of_conduct: &452 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -39222,7 +39383,7 @@ paths: - key - name - html_url - security_and_analysis: *247 + security_and_analysis: *249 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -39306,7 +39467,7 @@ paths: - network_count - subscribers_count examples: - default: &321 + default: &323 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -39827,7 +39988,7 @@ paths: - *97 - *17 - *19 - - &565 + - &567 name: targets description: | A comma-separated list of rule targets to filter by. @@ -39846,7 +40007,7 @@ paths: application/json: schema: type: array - items: &273 + items: &275 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -39881,7 +40042,7 @@ paths: source: type: string description: The name of the source - enforcement: &250 + enforcement: &252 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -39894,7 +40055,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &251 + items: &253 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -39965,7 +40126,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &248 + - &250 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -39989,7 +40150,7 @@ paths: match. items: type: string - - &252 + - &254 title: Organization ruleset conditions type: object description: |- @@ -40003,7 +40164,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *248 + - *250 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -40037,7 +40198,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *248 + - *250 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -40059,7 +40220,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *248 + - *250 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -40072,7 +40233,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &249 + items: &251 title: Repository ruleset property targeting definition type: object @@ -40105,7 +40266,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *249 + items: *251 required: - repository_property type: @@ -40113,12 +40274,12 @@ paths: - object rules: type: array - items: &566 + items: &568 title: Repository Rule type: object description: A repository rule. oneOf: - - &253 + - &255 title: creation description: Only allow users with bypass permission to create matching refs. @@ -40130,7 +40291,7 @@ paths: type: string enum: - creation - - &254 + - &256 title: update description: Only allow users with bypass permission to update matching refs. @@ -40151,7 +40312,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &255 + - &257 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -40163,7 +40324,7 @@ paths: type: string enum: - deletion - - &256 + - &258 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -40175,7 +40336,7 @@ paths: type: string enum: - required_linear_history - - &563 + - &565 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -40253,7 +40414,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &257 + - &259 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -40277,7 +40438,7 @@ paths: type: string required: - required_deployment_environments - - &258 + - &260 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -40289,7 +40450,7 @@ paths: type: string enum: - required_signatures - - &259 + - &261 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -40351,7 +40512,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &260 + - &262 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -40399,7 +40560,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &261 + - &263 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -40411,7 +40572,7 @@ paths: type: string enum: - non_fast_forward - - &262 + - &264 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -40447,7 +40608,7 @@ paths: required: - operator - pattern - - &263 + - &265 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -40483,7 +40644,7 @@ paths: required: - operator - pattern - - &264 + - &266 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -40519,7 +40680,7 @@ paths: required: - operator - pattern - - &265 + - &267 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -40555,7 +40716,7 @@ paths: required: - operator - pattern - - &266 + - &268 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -40591,7 +40752,7 @@ paths: required: - operator - pattern - - &267 + - &269 title: file_path_restriction description: Prevent commits that include changes in specified file and folder paths from being pushed to the commit @@ -40616,7 +40777,7 @@ paths: type: string required: - restricted_file_paths - - &268 + - &270 title: max_file_path_length description: Prevent commits that include file paths that exceed the specified character limit from being pushed @@ -40640,7 +40801,7 @@ paths: maximum: 32767 required: - max_file_path_length - - &269 + - &271 title: file_extension_restriction description: Prevent commits that include files with specified file extensions from being pushed to the commit graph. @@ -40663,7 +40824,7 @@ paths: type: string required: - restricted_file_extensions - - &270 + - &272 title: max_file_size description: Prevent commits with individual files that exceed the specified limit from being pushed to the commit @@ -40688,7 +40849,7 @@ paths: maximum: 100 required: - max_file_size - - &271 + - &273 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -40738,7 +40899,7 @@ paths: - repository_id required: - workflows - - &272 + - &274 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -40799,7 +40960,7 @@ paths: - tool required: - code_scanning_tools - - &564 + - &566 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code @@ -40897,22 +41058,20 @@ paths: - push - repository default: branch - enforcement: *250 + enforcement: *252 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *251 - conditions: *252 + items: *253 + conditions: *254 rules: type: array description: An array of rules within the ruleset. - items: &275 + items: &277 title: Repository Rule type: object description: A repository rule. oneOf: - - *253 - - *254 - *255 - *256 - *257 @@ -40931,6 +41090,8 @@ paths: - *270 - *271 - *272 + - *273 + - *274 required: - name - enforcement @@ -40968,9 +41129,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: &274 + default: &276 value: id: 21 name: super cool ruleset @@ -41025,7 +41186,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *97 - - &567 + - &569 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 @@ -41040,7 +41201,7 @@ paths: in: query schema: type: string - - &568 + - &570 name: time_period description: |- The time period to filter by. @@ -41056,14 +41217,14 @@ paths: - week - month default: day - - &569 + - &571 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 - - &570 + - &572 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -41083,7 +41244,7 @@ paths: description: Response content: application/json: - schema: &571 + schema: &573 title: Rule Suites description: Response type: array @@ -41139,7 +41300,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &572 + default: &574 value: - id: 21 actor_id: 12 @@ -41183,7 +41344,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *97 - - &573 + - &575 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -41199,7 +41360,7 @@ paths: description: Response content: application/json: - schema: &574 + schema: &576 title: Rule Suite description: Response type: object @@ -41306,7 +41467,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &575 + default: &577 value: id: 21 actor_id: 12 @@ -41379,9 +41540,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 '404': *6 '500': *98 put: @@ -41425,16 +41586,16 @@ paths: - tag - push - repository - enforcement: *250 + enforcement: *252 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *251 - conditions: *252 + items: *253 + conditions: *254 rules: description: An array of rules within the ruleset. type: array - items: *275 + items: *277 examples: default: value: @@ -41469,9 +41630,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *274 + default: *276 '404': *6 '500': *98 delete: @@ -41528,7 +41689,7 @@ paths: application/json: schema: type: array - items: &276 + items: &278 title: Ruleset version type: object description: The historical version of a ruleset @@ -41552,7 +41713,7 @@ paths: type: string format: date-time examples: - default: &577 + default: &579 value: - version_id: 3 actor: @@ -41605,9 +41766,9 @@ paths: description: Response content: application/json: - schema: &578 + schema: &580 allOf: - - *276 + - *278 - type: object required: - state @@ -41677,14 +41838,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *97 - - *277 - - *278 - *279 - *280 + - *281 + - *282 - *46 - *19 - *17 - - &579 + - &581 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 @@ -41694,7 +41855,7 @@ paths: required: false schema: type: string - - &580 + - &582 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 @@ -41704,10 +41865,10 @@ paths: required: false schema: type: string - - *281 - - *282 - *283 - *284 + - *285 + - *286 responses: '200': description: Response @@ -41715,9 +41876,9 @@ paths: application/json: schema: type: array - items: *285 + items: *287 examples: - default: *286 + default: *288 headers: Link: *57 '404': *6 @@ -41758,7 +41919,7 @@ paths: related to push protection. type: object properties: - pattern_config_version: &288 + pattern_config_version: &290 type: - string - 'null' @@ -41768,7 +41929,7 @@ paths: provider_pattern_overrides: type: array description: Overrides for partner patterns. - items: &287 + items: &289 type: object properties: token_type: @@ -41837,7 +41998,7 @@ paths: custom_pattern_overrides: type: array description: Overrides for custom patterns defined by the organization. - items: *287 + items: *289 examples: default: value: @@ -41894,7 +42055,7 @@ paths: schema: type: object properties: - pattern_config_version: *288 + pattern_config_version: *290 provider_pattern_settings: type: array description: Pattern settings for provider patterns. @@ -41920,7 +42081,7 @@ paths: token_type: type: string description: The ID of the pattern to configure. - custom_pattern_version: *288 + custom_pattern_version: *290 push_protection_setting: type: string description: Push protection setting to set for the pattern. @@ -42018,7 +42179,7 @@ paths: application/json: schema: type: array - items: &601 + items: &603 description: A repository security advisory. type: object properties: @@ -42262,7 +42423,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *291 credits_detailed: type: - array @@ -42273,7 +42434,7 @@ paths: type: object properties: user: *4 - type: *289 + type: *291 state: type: string description: The state of the user's acceptance of the @@ -42299,7 +42460,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *157 + items: *159 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -42337,7 +42498,7 @@ paths: - private_fork additionalProperties: false examples: - default: &602 + default: &604 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -42724,9 +42885,9 @@ paths: application/json: schema: type: array - items: *211 + items: *213 examples: - default: *212 + default: *214 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42811,7 +42972,7 @@ paths: description: Response content: application/json: - schema: &667 + schema: &669 type: object properties: total_minutes_used: @@ -42881,7 +43042,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &668 + default: &670 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -42917,7 +43078,7 @@ paths: description: Response content: application/json: - schema: &669 + schema: &671 type: object properties: total_gigabytes_bandwidth_used: @@ -42935,7 +43096,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &670 + default: &672 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -42967,7 +43128,7 @@ paths: description: Response content: application/json: - schema: &671 + schema: &676 type: object properties: days_left_in_billing_cycle: @@ -42985,7 +43146,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &672 + default: &677 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -43027,7 +43188,7 @@ paths: type: integer network_configurations: type: array - items: &290 + items: &292 title: Hosted compute network configuration description: A hosted compute network configuration. type: object @@ -43152,9 +43313,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: &291 + default: &293 value: id: 123456789ABCDEF name: My network configuration @@ -43183,7 +43344,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#get-a-hosted-compute-network-configuration-for-an-organization parameters: - *97 - - &292 + - &294 name: network_configuration_id description: Unique identifier of the hosted compute network configuration. in: path @@ -43195,9 +43356,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *291 + default: *293 headers: Link: *57 x-github: @@ -43219,7 +43380,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#update-a-hosted-compute-network-configuration-for-an-organization parameters: - *97 - - *292 + - *294 requestBody: required: true content: @@ -43258,9 +43419,9 @@ paths: description: Response content: application/json: - schema: *290 + schema: *292 examples: - default: *291 + default: *293 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43280,7 +43441,7 @@ paths: url: https://docs.github.com/rest/orgs/network-configurations#delete-a-hosted-compute-network-configuration-from-an-organization parameters: - *97 - - *292 + - *294 responses: '204': description: Response @@ -43425,13 +43586,13 @@ paths: application/json: schema: type: array - items: *293 + items: *295 examples: - default: *294 + default: *296 '500': *98 '403': *27 '404': *6 - '422': *295 + '422': *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43459,9 +43620,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 headers: Link: *57 '403': *27 @@ -43555,7 +43716,7 @@ paths: description: Response content: application/json: - schema: &296 + schema: &298 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -43629,7 +43790,7 @@ paths: parent: anyOf: - type: 'null' - - *211 + - *213 members_count: type: integer examples: @@ -43954,7 +44115,7 @@ paths: - repos_count - organization examples: - default: &297 + default: &299 value: id: 1 node_id: MDQ6VGVhbTE= @@ -44031,9 +44192,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *6 x-github: githubCloudOnly: false @@ -44118,16 +44279,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '201': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *6 '422': *15 '403': *27 @@ -44197,7 +44358,7 @@ paths: application/json: schema: type: array - items: &298 + items: &300 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -44308,7 +44469,7 @@ paths: - updated_at - url examples: - default: &619 + default: &621 value: - author: login: octocat @@ -44417,9 +44578,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: &299 + default: &301 value: author: login: octocat @@ -44493,7 +44654,7 @@ paths: parameters: - *97 - *64 - - &300 + - &302 name: discussion_number description: The number that identifies the discussion. in: path @@ -44505,9 +44666,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44531,7 +44692,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 requestBody: required: false content: @@ -44554,9 +44715,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: &620 + default: &622 value: author: login: octocat @@ -44628,7 +44789,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 responses: '204': description: Response @@ -44656,7 +44817,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 - *46 - *17 - *19 @@ -44667,7 +44828,7 @@ paths: application/json: schema: type: array - items: &301 + items: &303 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -44747,7 +44908,7 @@ paths: - updated_at - url examples: - default: &621 + default: &623 value: - author: login: octocat @@ -44817,7 +44978,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 requestBody: required: true content: @@ -44839,9 +45000,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: &302 + default: &304 value: author: login: octocat @@ -44909,8 +45070,8 @@ paths: parameters: - *97 - *64 - - *300 - - &303 + - *302 + - &305 name: comment_number description: The number that identifies the comment. in: path @@ -44922,9 +45083,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: *302 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44948,8 +45109,8 @@ paths: parameters: - *97 - *64 - - *300 - - *303 + - *302 + - *305 requestBody: required: true content: @@ -44971,9 +45132,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: &622 + default: &624 value: author: login: octocat @@ -45039,8 +45200,8 @@ paths: parameters: - *97 - *64 - - *300 - - *303 + - *302 + - *305 responses: '204': description: Response @@ -45068,8 +45229,8 @@ paths: parameters: - *97 - *64 - - *300 - - *303 + - *302 + - *305 - 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. @@ -45095,7 +45256,7 @@ paths: application/json: schema: type: array - items: &304 + items: &306 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -45139,7 +45300,7 @@ paths: - content - created_at examples: - default: &306 + default: &308 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45191,8 +45352,8 @@ paths: parameters: - *97 - *64 - - *300 - - *303 + - *302 + - *305 requestBody: required: true content: @@ -45225,9 +45386,9 @@ paths: team discussion comment content: application/json: - schema: *304 + schema: *306 examples: - default: &305 + default: &307 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -45256,9 +45417,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45283,9 +45444,9 @@ paths: parameters: - *97 - *64 - - *300 - - *303 - - &307 + - *302 + - *305 + - &309 name: reaction_id description: The unique identifier of the reaction. in: path @@ -45319,7 +45480,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 - 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. @@ -45345,9 +45506,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 x-github: @@ -45375,7 +45536,7 @@ paths: parameters: - *97 - *64 - - *300 + - *302 requestBody: required: true content: @@ -45407,16 +45568,16 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -45441,8 +45602,8 @@ paths: parameters: - *97 - *64 - - *300 - - *307 + - *302 + - *309 responses: '204': description: Response @@ -45477,9 +45638,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 headers: Link: *57 x-github: @@ -45563,7 +45724,7 @@ paths: description: Response content: application/json: - schema: &308 + schema: &310 title: Team Membership description: Team Membership type: object @@ -45591,7 +45752,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &623 + response-if-user-is-a-team-maintainer: &625 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -45654,9 +45815,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - response-if-users-membership-with-team-is-now-pending: &624 + response-if-users-membership-with-team-is-now-pending: &626 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -45729,7 +45890,7 @@ paths: application/json: schema: type: array - items: &309 + items: &311 title: Team Project description: A team's access to a project. type: object @@ -45798,7 +45959,7 @@ paths: - updated_at - permissions examples: - default: &625 + default: &627 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45863,7 +46024,7 @@ paths: parameters: - *97 - *64 - - &310 + - &312 name: project_id description: The unique identifier of the project. in: path @@ -45875,9 +46036,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: &626 + default: &628 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -45941,7 +46102,7 @@ paths: parameters: - *97 - *64 - - *310 + - *312 requestBody: required: false content: @@ -46010,7 +46171,7 @@ paths: parameters: - *97 - *64 - - *310 + - *312 responses: '204': description: Response @@ -46048,9 +46209,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -46081,14 +46242,14 @@ paths: parameters: - *97 - *64 - - *311 - - *312 + - *313 + - *314 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &627 + schema: &629 title: Team Repository description: A team's access to a repository. type: object @@ -46731,8 +46892,8 @@ paths: parameters: - *97 - *64 - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -46779,8 +46940,8 @@ paths: parameters: - *97 - *64 - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -46815,9 +46976,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - response-if-child-teams-exist: &628 + response-if-child-teams-exist: &630 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -46944,7 +47105,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#get-a-project-column parameters: - - &313 + - &315 name: column_id description: The unique identifier of the column. in: path @@ -46956,7 +47117,7 @@ paths: description: Response content: application/json: - schema: &314 + schema: &316 title: Project Column description: Project columns contain cards of work. type: object @@ -47010,7 +47171,7 @@ paths: - created_at - updated_at examples: - default: &315 + default: &317 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -47045,7 +47206,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#update-an-existing-project-column parameters: - - *313 + - *315 requestBody: required: true content: @@ -47070,9 +47231,9 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: - default: *315 + default: *317 '304': *35 '403': *27 '401': *23 @@ -47097,7 +47258,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#delete-a-project-column parameters: - - *313 + - *315 responses: '204': description: Response @@ -47126,7 +47287,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#move-a-project-column parameters: - - *313 + - *315 requestBody: required: true content: @@ -47187,15 +47348,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#get-a-project parameters: - - *310 + - *312 responses: '200': description: Response content: application/json: - schema: *229 + schema: *231 examples: - default: &316 + default: &318 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -47252,7 +47413,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#update-a-project parameters: - - *310 + - *312 requestBody: required: false content: @@ -47301,9 +47462,9 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: - default: *316 + default: *318 '404': description: Not Found if the authenticated user does not have access to the project @@ -47324,7 +47485,7 @@ paths: items: type: string '401': *23 - '410': *317 + '410': *319 '422': *7 x-github: githubCloudOnly: false @@ -47347,7 +47508,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#delete-a-project parameters: - - *310 + - *312 responses: '204': description: Delete Success @@ -47368,7 +47529,7 @@ paths: items: type: string '401': *23 - '410': *317 + '410': *319 '404': *6 x-github: githubCloudOnly: false @@ -47392,7 +47553,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#list-project-collaborators parameters: - - *310 + - *312 - 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 @@ -47449,7 +47610,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#add-project-collaborator parameters: - - *310 + - *312 - *62 requestBody: required: false @@ -47504,7 +47665,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *310 + - *312 - *62 responses: '204': @@ -47536,7 +47697,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *310 + - *312 - *62 responses: '200': @@ -47607,7 +47768,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#list-project-columns parameters: - - *310 + - *312 - *17 - *19 responses: @@ -47617,7 +47778,7 @@ paths: application/json: schema: type: array - items: *314 + items: *316 examples: default: value: @@ -47655,7 +47816,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/columns#create-a-project-column parameters: - - *310 + - *312 requestBody: required: true content: @@ -47679,7 +47840,7 @@ paths: description: Response content: application/json: - schema: *314 + schema: *316 examples: default: value: @@ -47744,7 +47905,7 @@ paths: resources: type: object properties: - core: &318 + core: &320 title: Rate Limit type: object properties: @@ -47761,21 +47922,21 @@ paths: - remaining - reset - used - graphql: *318 - search: *318 - code_search: *318 - source_import: *318 - integration_manifest: *318 - code_scanning_upload: *318 - actions_runner_registration: *318 - scim: *318 - dependency_snapshots: *318 - dependency_sbom: *318 - code_scanning_autofix: *318 + graphql: *320 + search: *320 + code_search: *320 + source_import: *320 + integration_manifest: *320 + code_scanning_upload: *320 + actions_runner_registration: *320 + scim: *320 + dependency_snapshots: *320 + dependency_sbom: *320 + code_scanning_autofix: *320 required: - core - search - rate: *318 + rate: *320 required: - rate - resources @@ -47880,14 +48041,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *319 + schema: *321 examples: default-response: summary: Default response @@ -48388,7 +48549,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *320 + '301': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48406,8 +48567,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -48655,10 +48816,10 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 - '307': &322 + default: *323 + '307': &324 description: Temporary Redirect content: application/json: @@ -48687,8 +48848,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -48710,7 +48871,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *322 + '307': *324 '404': *6 '409': *45 x-github: @@ -48734,11 +48895,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 - - &353 + - &355 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -48761,7 +48922,7 @@ paths: type: integer artifacts: type: array - items: &323 + items: &325 title: Artifact description: An artifact type: object @@ -48856,7 +49017,7 @@ paths: - expires_at - updated_at examples: - default: &354 + default: &356 value: total_count: 2 artifacts: @@ -48917,9 +49078,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *311 - - *312 - - &324 + - *313 + - *314 + - &326 name: artifact_id description: The unique identifier of the artifact. in: path @@ -48931,7 +49092,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *325 examples: default: value: @@ -48969,9 +49130,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *311 - - *312 - - *324 + - *313 + - *314 + - *326 responses: '204': description: Response @@ -48995,9 +49156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *311 - - *312 - - *324 + - *313 + - *314 + - *326 - name: archive_format in: path required: true @@ -49011,7 +49172,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49034,14 +49195,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *325 + schema: *327 examples: default: value: @@ -49067,11 +49228,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 - - &326 + - &328 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 @@ -49105,7 +49266,7 @@ paths: description: Response content: application/json: - schema: &327 + schema: &329 title: Repository actions caches description: Repository actions caches type: object @@ -49155,7 +49316,7 @@ paths: - total_count - actions_caches examples: - default: &328 + default: &330 value: total_count: 1 actions_caches: @@ -49187,23 +49348,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: - - *311 - - *312 + - *313 + - *314 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *326 + - *328 responses: '200': description: Response content: application/json: - schema: *327 + schema: *329 examples: - default: *328 + default: *330 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49223,8 +49384,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: - - *311 - - *312 + - *313 + - *314 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -49255,9 +49416,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *311 - - *312 - - &329 + - *313 + - *314 + - &331 name: job_id description: The unique identifier of the job. in: path @@ -49269,7 +49430,7 @@ paths: description: Response content: application/json: - schema: &357 + schema: &359 title: Job description: Information of a job execution in a workflow run type: object @@ -49616,9 +49777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *311 - - *312 - - *329 + - *313 + - *314 + - *331 responses: '302': description: Response @@ -49646,9 +49807,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *311 - - *312 - - *329 + - *313 + - *314 + - *331 requestBody: required: false content: @@ -49670,7 +49831,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -49694,8 +49855,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Status response @@ -49745,8 +49906,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -49780,7 +49941,7 @@ paths: description: Empty response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -49809,8 +49970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -49828,7 +49989,7 @@ paths: type: integer secrets: type: array - items: &359 + items: &361 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -49849,7 +50010,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &362 value: total_count: 2 secrets: @@ -49882,9 +50043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *311 - - *312 - - *330 + - *313 + - *314 + - *332 - *19 responses: '200': @@ -49901,7 +50062,7 @@ paths: type: integer variables: type: array - items: &363 + items: &365 title: Actions Variable type: object properties: @@ -49935,7 +50096,7 @@ paths: - created_at - updated_at examples: - default: &364 + default: &366 value: total_count: 2 variables: @@ -49968,8 +50129,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -49978,12 +50139,12 @@ paths: schema: type: object properties: - enabled: &332 + enabled: &334 type: boolean description: Whether GitHub Actions is enabled on the repository. - allowed_actions: *112 - selected_actions_url: *331 - sha_pinning_required: *113 + allowed_actions: *114 + selected_actions_url: *333 + sha_pinning_required: *115 required: - enabled examples: @@ -50011,8 +50172,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -50023,9 +50184,9 @@ paths: schema: type: object properties: - enabled: *332 - allowed_actions: *112 - sha_pinning_required: *113 + enabled: *334 + allowed_actions: *114 + sha_pinning_required: *115 required: - enabled examples: @@ -50055,14 +50216,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &333 + schema: &335 type: object properties: access_level: @@ -50079,7 +50240,7 @@ paths: required: - access_level examples: - default: &334 + default: &336 value: access_level: organization x-github: @@ -50103,15 +50264,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: application/json: - schema: *333 + schema: *335 examples: - default: *334 + default: *336 responses: '204': description: Response @@ -50135,14 +50296,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *335 + schema: *337 examples: default: value: @@ -50166,8 +50327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Empty response for successful settings update @@ -50177,7 +50338,7 @@ paths: required: true content: application/json: - schema: *336 + schema: *338 examples: default: summary: Set retention days @@ -50201,16 +50362,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *114 + schema: *116 examples: - default: *337 + default: *339 '404': *6 x-github: enabledForGitHubApps: true @@ -50229,8 +50390,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -50240,7 +50401,7 @@ paths: required: true content: application/json: - schema: *114 + schema: *116 examples: default: summary: Set approval policy to first time contributors @@ -50264,16 +50425,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *338 + schema: *340 examples: - default: *115 + default: *117 '403': *27 '404': *6 x-github: @@ -50293,15 +50454,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: application/json: - schema: *339 + schema: *341 examples: - default: *115 + default: *117 responses: '204': description: Empty response for successful settings update @@ -50325,16 +50486,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *117 + schema: *119 examples: - default: *118 + default: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50353,8 +50514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -50362,9 +50523,9 @@ paths: required: false content: application/json: - schema: *117 + schema: *119 examples: - selected_actions: *118 + selected_actions: *120 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -50386,16 +50547,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *340 + schema: *342 examples: - default: *122 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50416,8 +50577,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Success response @@ -50428,9 +50589,9 @@ paths: required: true content: application/json: - schema: *341 + schema: *343 examples: - default: *122 + default: *124 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50457,8 +50618,8 @@ paths: in: query schema: type: string - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -50476,9 +50637,9 @@ paths: type: integer runners: type: array - items: *129 + items: *131 examples: - default: *130 + default: *132 headers: Link: *57 x-github: @@ -50502,8 +50663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -50511,9 +50672,9 @@ paths: application/json: schema: type: array - items: *342 + items: *344 examples: - default: *343 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50535,8 +50696,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -50579,7 +50740,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *344 + '201': *346 '404': *6 '422': *7 '409': *45 @@ -50610,16 +50771,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '201': description: Response content: application/json: - schema: *131 + schema: *133 examples: - default: *345 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50647,16 +50808,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '201': description: Response content: application/json: - schema: *131 + schema: *133 examples: - default: *346 + default: *348 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50678,17 +50839,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 responses: '200': description: Response content: application/json: - schema: *129 + schema: *131 examples: - default: *347 + default: *349 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50709,9 +50870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 responses: '204': description: Response @@ -50737,11 +50898,11 @@ 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: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 responses: - '200': *133 + '200': *135 '404': *6 x-github: githubCloudOnly: false @@ -50763,9 +50924,9 @@ 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: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 requestBody: required: true content: @@ -50789,7 +50950,7 @@ paths: - gpu - accelerated responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -50813,9 +50974,9 @@ 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: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 requestBody: required: true content: @@ -50840,7 +51001,7 @@ paths: - gpu - accelerated responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -50864,11 +51025,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: - - *311 - - *312 - - *128 + - *313 + - *314 + - *130 responses: - '200': *348 + '200': *350 '404': *6 x-github: githubCloudOnly: false @@ -50895,12 +51056,12 @@ 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: - - *311 - - *312 - - *128 - - *349 + - *313 + - *314 + - *130 + - *351 responses: - '200': *133 + '200': *135 '404': *6 '422': *7 x-github: @@ -50926,9 +51087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *311 - - *312 - - &367 + - *313 + - *314 + - &369 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. @@ -50936,7 +51097,7 @@ paths: required: false schema: type: string - - &368 + - &370 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -50944,7 +51105,7 @@ paths: required: false schema: type: string - - &369 + - &371 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -50953,7 +51114,7 @@ paths: required: false schema: type: string - - &370 + - &372 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 @@ -50980,7 +51141,7 @@ paths: - pending - *17 - *19 - - &371 + - &373 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)." @@ -50989,7 +51150,7 @@ paths: schema: type: string format: date-time - - &350 + - &352 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -50998,13 +51159,13 @@ paths: schema: type: boolean default: false - - &372 + - &374 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &373 + - &375 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -51027,7 +51188,7 @@ paths: type: integer workflow_runs: type: array - items: &351 + items: &353 title: Workflow Run description: An invocation of a workflow type: object @@ -51144,7 +51305,7 @@ paths: type: - array - 'null' - items: &392 + items: &394 title: Pull Request Minimal type: object properties: @@ -51271,7 +51432,7 @@ paths: head_commit: anyOf: - type: 'null' - - &396 + - &398 title: Simple Commit description: A commit. type: object @@ -51345,8 +51506,8 @@ paths: - timestamp - author - committer - repository: *127 - head_repository: *127 + repository: *129 + head_repository: *129 head_repository_id: type: integer examples: @@ -51386,7 +51547,7 @@ paths: - workflow_url - pull_requests examples: - default: &374 + default: &376 value: total_count: 1 workflow_runs: @@ -51622,24 +51783,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *311 - - *312 - - &352 + - *313 + - *314 + - &354 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *350 + - *352 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: &355 + default: &357 value: id: 30433642 name: Build @@ -51880,9 +52041,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '204': description: Response @@ -51905,9 +52066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '200': description: Response @@ -52035,15 +52196,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '201': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -52070,12 +52231,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 - *17 - *19 - - *353 + - *355 responses: '200': description: Response @@ -52091,9 +52252,9 @@ paths: type: integer artifacts: type: array - items: *323 + items: *325 examples: - default: *354 + default: *356 headers: Link: *57 x-github: @@ -52117,25 +52278,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *311 - - *312 - - *352 - - &356 + - *313 + - *314 + - *354 + - &358 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *350 + - *352 responses: '200': description: Response content: application/json: - schema: *351 + schema: *353 examples: - default: *355 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52158,10 +52319,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *311 - - *312 - - *352 - - *356 + - *313 + - *314 + - *354 + - *358 - *17 - *19 responses: @@ -52179,9 +52340,9 @@ paths: type: integer jobs: type: array - items: *357 + items: *359 examples: - default: &358 + default: &360 value: total_count: 1 jobs: @@ -52294,10 +52455,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *311 - - *312 - - *352 - - *356 + - *313 + - *314 + - *354 + - *358 responses: '302': description: Response @@ -52325,15 +52486,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '202': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -52360,9 +52521,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: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 requestBody: required: true content: @@ -52429,15 +52590,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '202': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -52464,9 +52625,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 - 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 @@ -52496,9 +52657,9 @@ paths: type: integer jobs: type: array - items: *357 + items: *359 examples: - default: *358 + default: *360 headers: Link: *57 x-github: @@ -52523,9 +52684,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '302': description: Response @@ -52552,9 +52713,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '204': description: Response @@ -52581,9 +52742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '200': description: Response @@ -52652,7 +52813,7 @@ paths: items: type: object properties: - type: &469 + type: &471 type: string description: The type of reviewer. enum: @@ -52663,7 +52824,7 @@ paths: reviewer: anyOf: - *4 - - *157 + - *159 required: - environment - wait_timer @@ -52738,9 +52899,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 requestBody: required: true content: @@ -52790,7 +52951,7 @@ paths: application/json: schema: type: array - items: &464 + items: &466 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -52902,7 +53063,7 @@ paths: - created_at - updated_at examples: - default: &465 + default: &467 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -52958,9 +53119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 requestBody: required: false content: @@ -52982,7 +53143,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -53005,9 +53166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 requestBody: required: false content: @@ -53029,7 +53190,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -53061,9 +53222,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *311 - - *312 - - *352 + - *313 + - *314 + - *354 responses: '200': description: Response @@ -53200,8 +53361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -53219,9 +53380,9 @@ paths: type: integer secrets: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -53246,16 +53407,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *362 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53277,17 +53438,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: &482 + default: &484 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -53313,9 +53474,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 requestBody: required: true content: @@ -53346,7 +53507,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -53372,9 +53533,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '204': description: Response @@ -53399,9 +53560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *311 - - *312 - - *330 + - *313 + - *314 + - *332 - *19 responses: '200': @@ -53418,9 +53579,9 @@ paths: type: integer variables: type: array - items: *363 + items: *365 examples: - default: *364 + default: *366 headers: Link: *57 x-github: @@ -53443,8 +53604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -53471,7 +53632,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -53496,17 +53657,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *311 - - *312 - - *138 + - *313 + - *314 + - *140 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: &483 + default: &485 value: name: USERNAME value: octocat @@ -53532,9 +53693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *311 - - *312 - - *138 + - *313 + - *314 + - *140 requestBody: required: true content: @@ -53576,9 +53737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *311 - - *312 - - *138 + - *313 + - *314 + - *140 responses: '204': description: Response @@ -53603,8 +53764,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -53622,7 +53783,7 @@ paths: type: integer workflows: type: array - items: &365 + items: &367 title: Workflow description: A GitHub Actions workflow type: object @@ -53740,9 +53901,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *311 - - *312 - - &366 + - *313 + - *314 + - &368 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -53757,7 +53918,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *367 examples: default: value: @@ -53790,9 +53951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *311 - - *312 - - *366 + - *313 + - *314 + - *368 responses: '204': description: Response @@ -53817,9 +53978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *311 - - *312 - - *366 + - *313 + - *314 + - *368 responses: '204': description: Response @@ -53870,9 +54031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *311 - - *312 - - *366 + - *313 + - *314 + - *368 responses: '204': description: Response @@ -53899,19 +54060,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *311 - - *312 - - *366 - - *367 + - *313 + - *314 - *368 - *369 - *370 - - *17 - - *19 - *371 - - *350 - *372 + - *17 + - *19 - *373 + - *352 + - *374 + - *375 responses: '200': description: Response @@ -53927,9 +54088,9 @@ paths: type: integer workflow_runs: type: array - items: *351 + items: *353 examples: - default: *374 + default: *376 headers: Link: *57 x-github: @@ -53961,9 +54122,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *311 - - *312 - - *366 + - *313 + - *314 + - *368 responses: '200': description: Response @@ -54024,8 +54185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *311 - - *312 + - *313 + - *314 - *46 - *17 - *38 @@ -54193,8 +54354,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -54231,8 +54392,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *311 - - *312 + - *313 + - *314 - name: assignee in: path required: true @@ -54268,8 +54429,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -54381,8 +54542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *38 - *39 @@ -54438,7 +54599,7 @@ paths: initiator: type: string examples: - default: *375 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54458,8 +54619,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -54467,7 +54628,7 @@ paths: application/json: schema: type: array - items: &376 + items: &378 title: Autolink reference description: An autolink reference. type: object @@ -54526,8 +54687,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -54566,9 +54727,9 @@ paths: description: response content: application/json: - schema: *376 + schema: *378 examples: - default: &377 + default: &379 value: id: 1 key_prefix: TICKET- @@ -54599,9 +54760,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *311 - - *312 - - &378 + - *313 + - *314 + - &380 name: autolink_id description: The unique identifier of the autolink. in: path @@ -54613,9 +54774,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *378 examples: - default: *377 + default: *379 '404': *6 x-github: githubCloudOnly: false @@ -54635,9 +54796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *311 - - *312 - - *378 + - *313 + - *314 + - *380 responses: '204': description: Response @@ -54661,8 +54822,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response if Dependabot is enabled @@ -54712,8 +54873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-dependabot-security-updates parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -54734,8 +54895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-dependabot-security-updates parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -54755,8 +54916,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *311 - - *312 + - *313 + - *314 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -54794,7 +54955,7 @@ paths: - url protected: type: boolean - protection: &380 + protection: &382 title: Branch Protection description: Branch Protection type: object @@ -54837,7 +54998,7 @@ paths: required: - contexts - checks - enforce_admins: &383 + enforce_admins: &385 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -54854,7 +55015,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &385 + required_pull_request_reviews: &387 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -54876,7 +55037,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *157 + items: *159 apps: description: The list of apps with review dismissal access. @@ -54908,7 +55069,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *157 + items: *159 apps: description: The list of apps allowed to bypass pull request requirements. @@ -54938,7 +55099,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &382 + restrictions: &384 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -55001,7 +55162,7 @@ paths: type: string teams: type: array - items: *157 + items: *159 apps: type: array items: @@ -55231,9 +55392,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *311 - - *312 - - &381 + - *313 + - *314 + - &383 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). @@ -55247,14 +55408,14 @@ paths: description: Response content: application/json: - schema: &391 + schema: &393 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &441 + commit: &443 title: Commit description: Commit type: object @@ -55293,7 +55454,7 @@ paths: author: anyOf: - type: 'null' - - &379 + - &381 title: Git User description: Metaproperties for Git author/committer information. @@ -55314,7 +55475,7 @@ paths: committer: anyOf: - type: 'null' - - *379 + - *381 message: type: string examples: @@ -55338,7 +55499,7 @@ paths: required: - sha - url - verification: &489 + verification: &491 title: Verification type: object properties: @@ -55374,14 +55535,14 @@ paths: author: oneOf: - *4 - - *136 + - *138 type: - 'null' - object committer: oneOf: - *4 - - *136 + - *138 type: - 'null' - object @@ -55418,7 +55579,7 @@ paths: type: integer files: type: array - items: &452 + items: &454 title: Diff Entry description: Diff Entry type: object @@ -55514,7 +55675,7 @@ paths: - self protected: type: boolean - protection: *380 + protection: *382 protection_url: type: string format: uri @@ -55623,7 +55784,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *320 + '301': *322 '404': *6 x-github: githubCloudOnly: false @@ -55645,15 +55806,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *380 + schema: *382 examples: default: value: @@ -55847,9 +56008,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -56109,7 +56270,7 @@ paths: url: type: string format: uri - required_status_checks: &388 + required_status_checks: &390 title: Status Check Policy description: Status Check Policy type: object @@ -56190,7 +56351,7 @@ paths: items: *4 teams: type: array - items: *157 + items: *159 apps: type: array items: *5 @@ -56208,7 +56369,7 @@ paths: items: *4 teams: type: array - items: *157 + items: *159 apps: type: array items: *5 @@ -56268,7 +56429,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *382 + restrictions: *384 required_conversation_resolution: type: object properties: @@ -56380,9 +56541,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56407,17 +56568,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: &384 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -56439,17 +56600,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *384 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56468,9 +56629,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56495,17 +56656,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: &386 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -56601,9 +56762,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -56701,9 +56862,9 @@ paths: description: Response content: application/json: - schema: *385 + schema: *387 examples: - default: *386 + default: *388 '422': *15 x-github: githubCloudOnly: false @@ -56724,9 +56885,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56753,17 +56914,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: &387 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -56786,17 +56947,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *383 + schema: *385 examples: - default: *387 + default: *389 '404': *6 x-github: githubCloudOnly: false @@ -56816,9 +56977,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56843,17 +57004,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: &389 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -56879,9 +57040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -56933,9 +57094,9 @@ paths: description: Response content: application/json: - schema: *388 + schema: *390 examples: - default: *389 + default: *391 '404': *6 '422': *15 x-github: @@ -56957,9 +57118,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -56983,9 +57144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response @@ -57019,9 +57180,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -57088,9 +57249,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -57154,9 +57315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: content: application/json: @@ -57222,15 +57383,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response content: application/json: - schema: *382 + schema: *384 examples: default: value: @@ -57321,9 +57482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '204': description: Response @@ -57346,9 +57507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response @@ -57358,7 +57519,7 @@ paths: type: array items: *5 examples: - default: &390 + default: &392 value: - id: 1 slug: octoapp @@ -57415,9 +57576,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57451,7 +57612,7 @@ paths: type: array items: *5 examples: - default: *390 + default: *392 '422': *15 x-github: githubCloudOnly: false @@ -57472,9 +57633,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57508,7 +57669,7 @@ paths: type: array items: *5 examples: - default: *390 + default: *392 '422': *15 x-github: githubCloudOnly: false @@ -57529,9 +57690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57565,7 +57726,7 @@ paths: type: array items: *5 examples: - default: *390 + default: *392 '422': *15 x-github: githubCloudOnly: false @@ -57587,9 +57748,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response @@ -57597,9 +57758,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 '404': *6 x-github: githubCloudOnly: false @@ -57619,9 +57780,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -57657,9 +57818,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -57680,9 +57841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: false content: @@ -57718,9 +57879,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -57741,9 +57902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: content: application/json: @@ -57778,9 +57939,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 '422': *15 x-github: githubCloudOnly: false @@ -57802,9 +57963,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 responses: '200': description: Response @@ -57838,9 +57999,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57898,9 +58059,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -57958,9 +58119,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -58020,9 +58181,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 requestBody: required: true content: @@ -58044,7 +58205,7 @@ paths: description: Response content: application/json: - schema: *391 + schema: *393 examples: default: value: @@ -58160,8 +58321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -58440,7 +58601,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &395 title: CheckRun description: A check performed on the code of a given code change type: object @@ -58575,8 +58736,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *392 - deployment: &685 + items: *394 + deployment: &688 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -58863,9 +59024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *311 - - *312 - - &394 + - *313 + - *314 + - &396 name: check_run_id description: The unique identifier of the check run. in: path @@ -58877,9 +59038,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: &395 + default: &397 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -58979,9 +59140,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *311 - - *312 - - *394 + - *313 + - *314 + - *396 requestBody: required: true content: @@ -59221,9 +59382,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *395 examples: - default: *395 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59243,9 +59404,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *311 - - *312 - - *394 + - *313 + - *314 + - *396 - *17 - *19 responses: @@ -59355,15 +59516,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *311 - - *312 - - *394 + - *313 + - *314 + - *396 responses: '201': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -59401,8 +59562,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -59424,7 +59585,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &397 + schema: &399 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -59506,12 +59667,12 @@ paths: type: - array - 'null' - items: *392 + items: *394 app: anyOf: - type: 'null' - *5 - repository: *127 + repository: *129 created_at: type: - string @@ -59522,7 +59683,7 @@ paths: - string - 'null' format: date-time - head_commit: *396 + head_commit: *398 latest_check_runs_count: type: integer check_runs_url: @@ -59550,7 +59711,7 @@ paths: - check_runs_url - pull_requests examples: - default: &398 + default: &400 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -59841,9 +60002,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59862,8 +60023,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -59924,7 +60085,7 @@ paths: required: - app_id - setting - repository: *127 + repository: *129 examples: default: value: @@ -60172,9 +60333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *311 - - *312 - - &399 + - *313 + - *314 + - &401 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -60186,9 +60347,9 @@ paths: description: Response content: application/json: - schema: *397 + schema: *399 examples: - default: *398 + default: *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60211,17 +60372,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *311 - - *312 - - *399 - - &447 + - *313 + - *314 + - *401 + - &449 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &448 + - &450 name: status description: Returns check runs with the specified `status`. in: query @@ -60260,9 +60421,9 @@ paths: type: integer check_runs: type: array - items: *393 + items: *395 examples: - default: &449 + default: &451 value: total_count: 1 check_runs: @@ -60364,15 +60525,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *311 - - *312 - - *399 + - *313 + - *314 + - *401 responses: '201': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -60399,21 +60560,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *311 - - *312 - - *400 - - *401 + - *313 + - *314 + - *402 + - *403 - *19 - *17 - - &418 + - &420 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: *402 - - &419 + schema: *404 + - &421 name: pr description: The number of the pull request for the results you want to list. in: query @@ -60438,13 +60599,13 @@ paths: be returned. in: query required: false - schema: *403 + schema: *405 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *404 + schema: *406 responses: '200': description: Response @@ -60460,19 +60621,19 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *405 - state: *147 - fixed_at: *143 + instances_url: *407 + state: *149 + fixed_at: *145 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *144 - dismissed_reason: *406 - dismissed_comment: *407 - rule: *408 - tool: *409 - most_recent_instance: *410 + dismissed_at: *146 + dismissed_reason: *408 + dismissed_comment: *409 + rule: *410 + tool: *411 + most_recent_instance: *412 dismissal_approved_by: anyOf: - type: 'null' @@ -60595,7 +60756,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &411 + '403': &413 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -60622,9 +60783,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *311 - - *312 - - &412 + - *313 + - *314 + - &414 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -60638,7 +60799,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &415 type: object properties: number: *52 @@ -60646,16 +60807,16 @@ paths: updated_at: *54 url: *55 html_url: *56 - instances_url: *405 - state: *147 - fixed_at: *143 + instances_url: *407 + state: *149 + fixed_at: *145 dismissed_by: anyOf: - type: 'null' - *4 - dismissed_at: *144 - dismissed_reason: *406 - dismissed_comment: *407 + dismissed_at: *146 + dismissed_reason: *408 + dismissed_comment: *409 rule: type: object properties: @@ -60717,8 +60878,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *409 - most_recent_instance: *410 + tool: *411 + most_recent_instance: *412 dismissal_approved_by: anyOf: - type: 'null' @@ -60814,7 +60975,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -60834,9 +60995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 requestBody: required: true content: @@ -60851,8 +61012,8 @@ paths: enum: - open - dismissed - dismissed_reason: *406 - dismissed_comment: *407 + dismissed_reason: *408 + dismissed_comment: *409 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -60871,7 +61032,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *415 examples: default: value: @@ -60947,7 +61108,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &417 + '403': &419 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -60974,15 +61135,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: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 responses: '200': description: Response content: application/json: - schema: &414 + schema: &416 type: object properties: status: @@ -61009,13 +61170,13 @@ paths: - description - started_at examples: - default: &415 + default: &417 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &416 + '400': &418 description: Bad Request content: application/json: @@ -61026,7 +61187,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': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61051,29 +61212,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: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 responses: '200': description: OK content: application/json: - schema: *414 + schema: *416 examples: - default: *415 + default: *417 '202': description: Accepted content: application/json: - schema: *414 + schema: *416 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *416 + '400': *418 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -61105,9 +61266,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: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 requestBody: required: false content: @@ -61153,8 +61314,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *416 - '403': *417 + '400': *418 + '403': *419 '404': *6 '422': description: Unprocessable Entity @@ -61178,13 +61339,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 - *19 - *17 - - *418 - - *419 + - *420 + - *421 responses: '200': description: Response @@ -61192,7 +61353,7 @@ paths: application/json: schema: type: array - items: *410 + items: *412 examples: default: value: @@ -61231,7 +61392,7 @@ paths: end_column: 50 classifications: - source - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61265,25 +61426,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *311 - - *312 - - *400 - - *401 + - *313 + - *314 + - *402 + - *403 - *19 - *17 - - *419 + - *421 - 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: *402 + schema: *404 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &422 + schema: &424 type: string description: An identifier for the upload. examples: @@ -61305,23 +61466,23 @@ paths: application/json: schema: type: array - items: &423 + items: &425 type: object properties: - ref: *402 - commit_sha: &431 + ref: *404 + commit_sha: &433 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: *420 + analysis_key: *422 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *421 + category: *423 error: type: string examples: @@ -61346,8 +61507,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *422 - tool: *409 + sarif_id: *424 + tool: *411 deletable: type: boolean warning: @@ -61409,7 +61570,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61445,8 +61606,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: - - *311 - - *312 + - *313 + - *314 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61459,7 +61620,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *425 examples: response: summary: application/json response @@ -61513,7 +61674,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *411 + '403': *413 '404': *6 '422': description: Response if analysis could not be processed @@ -61600,8 +61761,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: - - *311 - - *312 + - *313 + - *314 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -61657,7 +61818,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': *417 + '403': *419 '404': *6 '503': *69 x-github: @@ -61679,8 +61840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -61688,7 +61849,7 @@ paths: application/json: schema: type: array - items: &424 + items: &426 title: CodeQL Database description: A CodeQL database. type: object @@ -61800,7 +61961,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': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61829,8 +61990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - name: language in: path description: The language of the CodeQL database. @@ -61842,7 +62003,7 @@ paths: description: Response content: application/json: - schema: *424 + schema: *426 examples: default: value: @@ -61874,9 +62035,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': &454 + '302': &456 description: Found - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -61898,8 +62059,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *311 - - *312 + - *313 + - *314 - name: language in: path description: The language of the CodeQL database. @@ -61909,7 +62070,7 @@ paths: responses: '204': description: Response - '403': *417 + '403': *419 '404': *6 '503': *69 x-github: @@ -61937,8 +62098,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -61947,7 +62108,7 @@ paths: type: object additionalProperties: false properties: - language: &425 + language: &427 type: string description: The language targeted by the CodeQL query enum: @@ -62026,7 +62187,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &429 + schema: &431 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -62036,7 +62197,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *425 + query_language: *427 query_pack_url: type: string description: The download url for the query pack. @@ -62084,7 +62245,7 @@ paths: items: type: object properties: - repository: &426 + repository: &428 title: Repository Identifier description: Repository Identifier type: object @@ -62126,7 +62287,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &430 + analysis_status: &432 type: string description: The new status of the CodeQL variant analysis repository task. @@ -62158,7 +62319,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &427 + access_mismatch_repos: &429 type: object properties: repository_count: @@ -62173,7 +62334,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: *426 + items: *428 required: - repository_count - repositories @@ -62196,8 +62357,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *427 - over_limit_repos: *427 + no_codeql_db_repos: *429 + over_limit_repos: *429 required: - access_mismatch_repos - not_found_repos @@ -62213,7 +62374,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &428 + value: &430 summary: Default response value: id: 1 @@ -62365,10 +62526,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *428 + value: *430 repository_lists: summary: Response for a successful variant analysis submission - value: *428 + value: *430 '404': *6 '422': description: Unable to process variant analysis submission @@ -62396,8 +62557,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: - - *311 - - *312 + - *313 + - *314 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -62409,9 +62570,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *431 examples: - default: *428 + default: *430 '404': *6 '503': *69 x-github: @@ -62434,7 +62595,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: - - *311 + - *313 - name: repo in: path description: The name of the controller repository. @@ -62469,7 +62630,7 @@ paths: type: object properties: repository: *51 - analysis_status: *430 + analysis_status: *432 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -62594,8 +62755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -62688,7 +62849,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *411 + '403': *413 '404': *6 '503': *69 x-github: @@ -62709,8 +62870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -62779,7 +62940,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -62804,7 +62965,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *417 + '403': *419 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -62875,8 +63036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -62884,7 +63045,7 @@ paths: schema: type: object properties: - commit_sha: *431 + commit_sha: *433 ref: type: string description: |- @@ -62944,7 +63105,7 @@ paths: schema: type: object properties: - id: *422 + id: *424 url: type: string description: The REST API URL for checking the status of the upload. @@ -62958,7 +63119,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': *417 + '403': *419 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -62981,8 +63142,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *311 - - *312 + - *313 + - *314 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -63030,7 +63191,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': *411 + '403': *413 '404': description: Not Found if the sarif id does not match any upload '503': *69 @@ -63055,8 +63216,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -63112,7 +63273,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': *152 + '204': *154 '304': *35 '403': *27 '404': *6 @@ -63137,8 +63298,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *311 - - *312 + - *313 + - *314 - 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 @@ -63266,8 +63427,8 @@ paths: parameters: - *17 - *19 - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -63283,7 +63444,7 @@ paths: type: integer codespaces: type: array - items: *201 + items: *203 examples: default: value: @@ -63581,8 +63742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -63646,17 +63807,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '400': *14 '401': *23 '403': *27 @@ -63685,8 +63846,8 @@ paths: parameters: - *17 - *19 - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -63750,8 +63911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -63788,9 +63949,9 @@ paths: type: integer machines: type: array - items: *433 + items: *435 examples: - default: &635 + default: &637 value: total_count: 2 machines: @@ -63830,8 +63991,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *311 - - *312 + - *313 + - *314 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -63918,8 +64079,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: - - *311 - - *312 + - *313 + - *314 - 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 @@ -63988,8 +64149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -64007,7 +64168,7 @@ paths: type: integer secrets: type: array - items: &437 + items: &439 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -64028,7 +64189,7 @@ paths: - created_at - updated_at examples: - default: *434 + default: *436 headers: Link: *57 x-github: @@ -64051,16 +64212,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *435 + schema: *437 examples: - default: *436 + default: *438 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -64080,17 +64241,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '200': description: Response content: application/json: - schema: *437 + schema: *439 examples: - default: *438 + default: *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64110,9 +64271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 requestBody: required: true content: @@ -64140,7 +64301,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -64164,9 +64325,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '204': description: Response @@ -64194,8 +64355,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *311 - - *312 + - *313 + - *314 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -64233,7 +64394,7 @@ paths: application/json: schema: type: array - items: &439 + items: &441 title: Collaborator description: Collaborator type: object @@ -64426,8 +64587,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *311 - - *312 + - *313 + - *314 - *62 responses: '204': @@ -64474,8 +64635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *311 - - *312 + - *313 + - *314 - *62 requestBody: required: false @@ -64502,7 +64663,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &502 + schema: &504 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -64514,7 +64675,7 @@ paths: format: int64 examples: - 42 - repository: *127 + repository: *129 invitee: anyOf: - type: 'null' @@ -64690,7 +64851,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *101 + schema: *103 '403': *27 x-github: triggersNotification: true @@ -64730,8 +64891,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *311 - - *312 + - *313 + - *314 - *62 responses: '204': @@ -64763,8 +64924,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *311 - - *312 + - *313 + - *314 - *62 responses: '200': @@ -64785,7 +64946,7 @@ paths: user: anyOf: - type: 'null' - - *439 + - *441 required: - permission - role_name @@ -64839,8 +65000,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -64850,7 +65011,7 @@ paths: application/json: schema: type: array - items: &440 + items: &442 title: Commit Comment description: Commit Comment type: object @@ -64908,7 +65069,7 @@ paths: - created_at - updated_at examples: - default: &443 + default: &445 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -64967,17 +65128,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '200': description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: &444 + default: &446 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65034,8 +65195,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -65058,7 +65219,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: default: value: @@ -65109,8 +65270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '204': @@ -65132,8 +65293,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -65160,9 +65321,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 @@ -65183,8 +65344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -65217,16 +65378,16 @@ paths: description: Reaction exists content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Reaction created content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -65248,10 +65409,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *311 - - *312 + - *313 + - *314 - *80 - - *307 + - *309 responses: '204': description: Response @@ -65300,8 +65461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *311 - - *312 + - *313 + - *314 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -65357,9 +65518,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: &549 + default: &551 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -65453,9 +65614,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *311 - - *312 - - &442 + - *313 + - *314 + - &444 name: commit_sha description: The SHA of the commit. in: path @@ -65527,9 +65688,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *311 - - *312 - - *442 + - *313 + - *314 + - *444 - *17 - *19 responses: @@ -65539,9 +65700,9 @@ paths: application/json: schema: type: array - items: *440 + items: *442 examples: - default: *443 + default: *445 headers: Link: *57 x-github: @@ -65569,9 +65730,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *311 - - *312 - - *442 + - *313 + - *314 + - *444 requestBody: required: true content: @@ -65606,9 +65767,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *442 examples: - default: *444 + default: *446 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -65636,9 +65797,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *311 - - *312 - - *442 + - *313 + - *314 + - *444 - *17 - *19 responses: @@ -65648,9 +65809,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: &541 + default: &543 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -66187,11 +66348,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *311 - - *312 + - *313 + - *314 - *19 - *17 - - &446 + - &448 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)" @@ -66206,9 +66367,9 @@ paths: description: Response content: application/json: - schema: *441 + schema: *443 examples: - default: &529 + default: &531 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -66321,11 +66482,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *311 - - *312 - - *446 - - *447 + - *313 + - *314 - *448 + - *449 + - *450 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -66359,9 +66520,9 @@ paths: type: integer check_runs: type: array - items: *393 + items: *395 examples: - default: *449 + default: *451 headers: Link: *57 x-github: @@ -66386,9 +66547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *311 - - *312 - - *446 + - *313 + - *314 + - *448 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -66396,7 +66557,7 @@ paths: schema: type: integer example: 1 - - *447 + - *449 - *17 - *19 responses: @@ -66414,7 +66575,7 @@ paths: type: integer check_suites: type: array - items: *397 + items: *399 examples: default: value: @@ -66614,9 +66775,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *311 - - *312 - - *446 + - *313 + - *314 + - *448 - *17 - *19 responses: @@ -66687,7 +66848,7 @@ paths: type: string total_count: type: integer - repository: *127 + repository: *129 commit_url: type: string format: uri @@ -66818,9 +66979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *311 - - *312 - - *446 + - *313 + - *314 + - *448 - *17 - *19 responses: @@ -66830,7 +66991,7 @@ paths: application/json: schema: type: array - items: &606 + items: &608 title: Status description: The status of a commit. type: object @@ -66911,7 +67072,7 @@ paths: site_admin: false headers: Link: *57 - '301': *320 + '301': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66939,8 +67100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -66973,11 +67134,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *450 + - *452 code_of_conduct_file: anyOf: - type: 'null' - - &451 + - &453 title: Community Health File type: object properties: @@ -66997,19 +67158,19 @@ paths: contributing: anyOf: - type: 'null' - - *451 + - *453 readme: anyOf: - type: 'null' - - *451 + - *453 issue_template: anyOf: - type: 'null' - - *451 + - *453 pull_request_template: anyOf: - type: 'null' - - *451 + - *453 required: - code_of_conduct - code_of_conduct_file @@ -67138,8 +67299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *311 - - *312 + - *313 + - *314 - *19 - *17 - name: basehead @@ -67187,8 +67348,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *441 - merge_base_commit: *441 + base_commit: *443 + merge_base_commit: *443 status: type: string enum: @@ -67212,10 +67373,10 @@ paths: - 6 commits: type: array - items: *441 + items: *443 files: type: array - items: *452 + items: *454 required: - url - html_url @@ -67501,8 +67662,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *311 - - *312 + - *313 + - *314 - name: path description: path parameter in: path @@ -67655,7 +67816,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &453 + response-if-content-is-a-file: &455 summary: Response if content is a file value: type: file @@ -67792,7 +67953,7 @@ paths: - size - type - url - - &554 + - &556 title: Content File description: Content File type: object @@ -68010,7 +68171,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *453 + response-if-content-is-a-file: *455 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -68079,7 +68240,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *454 + '302': *456 '304': *35 x-github: githubCloudOnly: false @@ -68102,8 +68263,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *311 - - *312 + - *313 + - *314 - name: path description: path parameter in: path @@ -68198,7 +68359,7 @@ paths: description: Response content: application/json: - schema: &455 + schema: &457 title: File Commit description: File Commit type: object @@ -68354,7 +68515,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: example-for-creating-a-file: value: @@ -68408,7 +68569,7 @@ paths: schema: oneOf: - *3 - - &484 + - &486 description: Repository rule violation was detected type: object properties: @@ -68429,7 +68590,7 @@ paths: items: type: object properties: - placeholder_id: &598 + placeholder_id: &600 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -68461,8 +68622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *311 - - *312 + - *313 + - *314 - name: path description: path parameter in: path @@ -68523,7 +68684,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *457 examples: default: value: @@ -68578,8 +68739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *311 - - *312 + - *313 + - *314 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -68703,22 +68864,22 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *311 - - *312 - - *158 - - *159 + - *313 + - *314 - *160 - *161 + - *162 + - *163 - 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 - - *162 - - *163 - *164 - *165 + - *166 + - *167 - *46 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -68738,8 +68899,8 @@ paths: default: 30 - *38 - *39 - - *166 - - *167 + - *168 + - *169 responses: '200': description: Response @@ -68747,7 +68908,7 @@ paths: application/json: schema: type: array - items: &458 + items: &460 type: object description: A Dependabot alert. properties: @@ -68797,13 +68958,13 @@ paths: - direct - transitive - - security_advisory: *456 + security_advisory: *458 security_vulnerability: *50 url: *55 html_url: *56 created_at: *53 updated_at: *54 - dismissed_at: *144 + dismissed_at: *146 dismissed_by: anyOf: - type: 'null' @@ -68827,8 +68988,8 @@ paths: description: An optional comment associated with the alert's dismissal. maxLength: 280 - fixed_at: *143 - auto_dismissed_at: *457 + fixed_at: *145 + auto_dismissed_at: *459 required: - number - state @@ -69058,9 +69219,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *311 - - *312 - - &459 + - *313 + - *314 + - &461 name: alert_number in: path description: |- @@ -69075,7 +69236,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: default: value: @@ -69188,9 +69349,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *311 - - *312 - - *459 + - *313 + - *314 + - *461 requestBody: required: true content: @@ -69235,7 +69396,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *460 examples: default: value: @@ -69364,8 +69525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -69383,7 +69544,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &464 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -69437,16 +69598,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *460 + schema: *462 examples: - default: *461 + default: *463 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69466,15 +69627,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '200': description: Response content: application/json: - schema: *462 + schema: *464 examples: default: value: @@ -69500,9 +69661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 requestBody: required: true content: @@ -69530,7 +69691,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -69554,9 +69715,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *311 - - *312 - - *135 + - *313 + - *314 + - *137 responses: '204': description: Response @@ -69578,8 +69739,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: - - *311 - - *312 + - *313 + - *314 - 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 @@ -69753,8 +69914,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -70014,8 +70175,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -70098,7 +70259,7 @@ paths: - version - url additionalProperties: false - metadata: &463 + metadata: &465 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -70137,7 +70298,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *463 + metadata: *465 resolved: type: object description: A collection of resolved package dependencies. @@ -70151,7 +70312,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *463 + metadata: *465 relationship: type: string description: A notation of whether a dependency is requested @@ -70284,8 +70445,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *311 - - *312 + - *313 + - *314 - name: sha description: The SHA recorded at creation time. in: query @@ -70326,9 +70487,9 @@ paths: application/json: schema: type: array - items: *464 + items: *466 examples: - default: *465 + default: *467 headers: Link: *57 x-github: @@ -70394,8 +70555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -70477,7 +70638,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: simple-example: summary: Simple example @@ -70550,9 +70711,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *311 - - *312 - - &466 + - *313 + - *314 + - &468 name: deployment_id description: deployment_id parameter in: path @@ -70564,7 +70725,7 @@ paths: description: Response content: application/json: - schema: *464 + schema: *466 examples: default: value: @@ -70629,9 +70790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *311 - - *312 - - *466 + - *313 + - *314 + - *468 responses: '204': description: Response @@ -70653,9 +70814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *311 - - *312 - - *466 + - *313 + - *314 + - *468 - *17 - *19 responses: @@ -70665,7 +70826,7 @@ paths: application/json: schema: type: array - items: &467 + items: &469 title: Deployment Status description: The status of a deployment. type: object @@ -70829,9 +70990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *311 - - *312 - - *466 + - *313 + - *314 + - *468 requestBody: required: true content: @@ -70906,9 +71067,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: &468 + default: &470 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -70964,9 +71125,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *311 - - *312 - - *466 + - *313 + - *314 + - *468 - name: status_id in: path required: true @@ -70977,9 +71138,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *469 examples: - default: *468 + default: *470 '404': *6 x-github: githubCloudOnly: false @@ -71004,8 +71165,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -71062,8 +71223,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -71081,7 +71242,7 @@ paths: - 5 environments: type: array - items: &470 + items: &472 title: Environment description: Details of a deployment environment type: object @@ -71143,7 +71304,7 @@ paths: type: string examples: - wait_timer - wait_timer: &472 + wait_timer: &474 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -71185,11 +71346,11 @@ paths: items: type: object properties: - type: *469 + type: *471 reviewer: anyOf: - *4 - - *157 + - *159 required: - id - node_id @@ -71212,7 +71373,7 @@ paths: - id - node_id - type - deployment_branch_policy: &473 + deployment_branch_policy: &475 type: - object - 'null' @@ -71329,9 +71490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *311 - - *312 - - &471 + - *313 + - *314 + - &473 name: environment_name in: path required: true @@ -71344,9 +71505,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: &474 + default: &476 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -71430,9 +71591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 requestBody: required: false content: @@ -71442,7 +71603,7 @@ paths: - object - 'null' properties: - wait_timer: *472 + wait_timer: *474 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -71461,14 +71622,14 @@ paths: items: type: object properties: - type: *469 + type: *471 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *473 + deployment_branch_policy: *475 additionalProperties: false examples: default: @@ -71488,9 +71649,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *472 examples: - default: *474 + default: *476 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -71514,9 +71675,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 responses: '204': description: Default response @@ -71541,9 +71702,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 - *17 - *19 responses: @@ -71562,7 +71723,7 @@ paths: - 2 branch_policies: type: array - items: &475 + items: &477 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -71623,9 +71784,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 requestBody: required: true content: @@ -71673,9 +71834,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - example-wildcard: &476 + example-wildcard: &478 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -71717,10 +71878,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *311 - - *312 - - *471 - - &477 + - *313 + - *314 + - *473 + - &479 name: branch_policy_id in: path required: true @@ -71732,9 +71893,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71753,10 +71914,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *311 - - *312 - - *471 - - *477 + - *313 + - *314 + - *473 + - *479 requestBody: required: true content: @@ -71785,9 +71946,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *477 examples: - default: *476 + default: *478 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71806,10 +71967,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *311 - - *312 - - *471 - - *477 + - *313 + - *314 + - *473 + - *479 responses: '204': description: Response @@ -71834,9 +71995,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *471 - - *312 - - *311 + - *473 + - *314 + - *313 responses: '200': description: List of deployment protection rules @@ -71853,7 +72014,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &478 + items: &480 title: Deployment protection rule description: Deployment protection rule type: object @@ -71875,7 +72036,7 @@ paths: for the environment. examples: - true - app: &479 + app: &481 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -71978,9 +72139,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: - - *471 - - *312 - - *311 + - *473 + - *314 + - *313 requestBody: content: application/json: @@ -72001,9 +72162,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *478 + schema: *480 examples: - default: &480 + default: &482 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -72038,9 +72199,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: - - *471 - - *312 - - *311 + - *473 + - *314 + - *313 - *19 - *17 responses: @@ -72060,7 +72221,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *479 + items: *481 examples: default: value: @@ -72095,10 +72256,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *311 - - *312 - - *471 - - &481 + - *313 + - *314 + - *473 + - &483 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -72110,9 +72271,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *480 examples: - default: *480 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72133,10 +72294,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *471 - - *312 - - *311 - - *481 + - *473 + - *314 + - *313 + - *483 responses: '204': description: Response @@ -72162,9 +72323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 - *17 - *19 responses: @@ -72182,9 +72343,9 @@ paths: type: integer secrets: type: array - items: *359 + items: *361 examples: - default: *360 + default: *362 headers: Link: *57 x-github: @@ -72209,17 +72370,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 responses: '200': description: Response content: application/json: - schema: *361 + schema: *363 examples: - default: *362 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72241,18 +72402,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *311 - - *312 - - *471 - - *135 + - *313 + - *314 + - *473 + - *137 responses: '200': description: Response content: application/json: - schema: *359 + schema: *361 examples: - default: *482 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72274,10 +72435,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *311 - - *312 - - *471 - - *135 + - *313 + - *314 + - *473 + - *137 requestBody: required: true content: @@ -72308,7 +72469,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -72334,10 +72495,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *311 - - *312 - - *471 - - *135 + - *313 + - *314 + - *473 + - *137 responses: '204': description: Default response @@ -72362,10 +72523,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *311 - - *312 - - *471 - - *330 + - *313 + - *314 + - *473 + - *332 - *19 responses: '200': @@ -72382,9 +72543,9 @@ paths: type: integer variables: type: array - items: *363 + items: *365 examples: - default: *364 + default: *366 headers: Link: *57 x-github: @@ -72407,9 +72568,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *311 - - *312 - - *471 + - *313 + - *314 + - *473 requestBody: required: true content: @@ -72436,7 +72597,7 @@ paths: description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -72461,18 +72622,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *311 - - *312 - - *471 - - *138 + - *313 + - *314 + - *473 + - *140 responses: '200': description: Response content: application/json: - schema: *363 + schema: *365 examples: - default: *483 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72493,10 +72654,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *311 - - *312 - - *138 - - *471 + - *313 + - *314 + - *140 + - *473 requestBody: required: true content: @@ -72538,10 +72699,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *311 - - *312 - - *138 - - *471 + - *313 + - *314 + - *140 + - *473 responses: '204': description: Response @@ -72563,8 +72724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -72641,8 +72802,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *311 - - *312 + - *313 + - *314 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -72664,7 +72825,7 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: default: value: @@ -72801,8 +72962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -72835,9 +72996,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 + default: *323 '400': *14 '422': *15 '403': *27 @@ -72858,8 +73019,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -72918,8 +73079,8 @@ paths: application/json: schema: oneOf: - - *101 - - *484 + - *103 + - *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72944,8 +73105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *311 - - *312 + - *313 + - *314 - name: file_sha in: path required: true @@ -73045,8 +73206,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -73155,7 +73316,7 @@ paths: description: Response content: application/json: - schema: &485 + schema: &487 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -73382,15 +73543,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *311 - - *312 - - *442 + - *313 + - *314 + - *444 responses: '200': description: Response content: application/json: - schema: *485 + schema: *487 examples: default: value: @@ -73446,9 +73607,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *311 - - *312 - - &486 + - *313 + - *314 + - &488 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. @@ -73465,7 +73626,7 @@ paths: application/json: schema: type: array - items: &487 + items: &489 title: Git Reference description: Git references within a repository type: object @@ -73541,17 +73702,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *311 - - *312 - - *486 + - *313 + - *314 + - *488 responses: '200': description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: &488 + default: &490 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -73580,8 +73741,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -73610,9 +73771,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -73638,9 +73799,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *311 - - *312 - - *486 + - *313 + - *314 + - *488 requestBody: required: true content: @@ -73669,9 +73830,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *489 examples: - default: *488 + default: *490 '422': *15 '409': *45 x-github: @@ -73689,9 +73850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *311 - - *312 - - *486 + - *313 + - *314 + - *488 responses: '204': description: Response @@ -73746,8 +73907,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -73814,7 +73975,7 @@ paths: description: Response content: application/json: - schema: &490 + schema: &492 title: Git Tag description: Metadata for a Git tag type: object @@ -73870,7 +74031,7 @@ paths: - sha - type - url - verification: *489 + verification: *491 required: - sha - url @@ -73880,7 +74041,7 @@ paths: - tag - message examples: - default: &491 + default: &493 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -73953,8 +74114,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *311 - - *312 + - *313 + - *314 - name: tag_sha in: path required: true @@ -73965,9 +74126,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *492 examples: - default: *491 + default: *493 '404': *6 '409': *45 x-github: @@ -73991,8 +74152,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -74066,7 +74227,7 @@ paths: description: Response content: application/json: - schema: &492 + schema: &494 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -74168,8 +74329,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *311 - - *312 + - *313 + - *314 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -74192,7 +74353,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *494 examples: default-response: summary: Default response @@ -74251,8 +74412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -74262,7 +74423,7 @@ paths: application/json: schema: type: array - items: &493 + items: &495 title: Webhook description: Webhooks for repositories. type: object @@ -74325,7 +74486,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &716 + last_response: &719 title: Hook Response type: object properties: @@ -74402,8 +74563,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -74456,9 +74617,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: &494 + default: &496 value: type: Repository id: 12345678 @@ -74506,17 +74667,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '200': description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 '404': *6 x-github: githubCloudOnly: false @@ -74536,9 +74697,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 requestBody: required: true content: @@ -74583,9 +74744,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *495 examples: - default: *494 + default: *496 '422': *15 '404': *6 x-github: @@ -74606,9 +74767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '204': description: Response @@ -74632,9 +74793,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '200': description: Response @@ -74661,9 +74822,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 requestBody: required: false content: @@ -74707,11 +74868,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 - *17 - - *174 + - *176 responses: '200': description: Response @@ -74719,9 +74880,9 @@ paths: application/json: schema: type: array - items: *175 + items: *177 examples: - default: *176 + default: *178 '400': *14 '422': *15 x-github: @@ -74740,18 +74901,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 - *16 responses: '200': description: Response content: application/json: - schema: *177 + schema: *179 examples: - default: *178 + default: *180 '400': *14 '422': *15 x-github: @@ -74770,9 +74931,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 - *16 responses: '202': *37 @@ -74795,9 +74956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '204': description: Response @@ -74822,9 +74983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *311 - - *312 - - *173 + - *313 + - *314 + - *175 responses: '204': description: Response @@ -74882,14 +75043,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &495 + schema: &497 title: Import description: A repository import from an external source. type: object @@ -74996,7 +75157,7 @@ paths: - html_url - authors_url examples: - default: &498 + default: &500 value: vcs: subversion use_lfs: true @@ -75012,7 +75173,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': &496 + '503': &498 description: Unavailable due to service under maintenance. content: application/json: @@ -75041,8 +75202,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -75090,7 +75251,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: default: value: @@ -75115,7 +75276,7 @@ paths: type: string '422': *15 '404': *6 - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75143,8 +75304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -75196,7 +75357,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: example-1: summary: Example 1 @@ -75244,7 +75405,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': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75267,12 +75428,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75298,9 +75459,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *311 - - *312 - - &657 + - *313 + - *314 + - &659 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -75314,7 +75475,7 @@ paths: application/json: schema: type: array - items: &497 + items: &499 title: Porter Author description: Porter Author type: object @@ -75368,7 +75529,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': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75393,8 +75554,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *311 - - *312 + - *313 + - *314 - name: author_id in: path required: true @@ -75424,7 +75585,7 @@ paths: description: Response content: application/json: - schema: *497 + schema: *499 examples: default: value: @@ -75437,7 +75598,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75461,8 +75622,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -75503,7 +75664,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75531,8 +75692,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -75559,11 +75720,11 @@ paths: description: Response content: application/json: - schema: *495 + schema: *497 examples: - default: *498 + default: *500 '422': *15 - '503': *496 + '503': *498 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75586,8 +75747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -75595,8 +75756,8 @@ paths: application/json: schema: *20 examples: - default: *499 - '301': *320 + default: *501 + '301': *322 '404': *6 x-github: githubCloudOnly: false @@ -75616,8 +75777,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -75625,12 +75786,12 @@ paths: application/json: schema: anyOf: - - *191 + - *193 - type: object properties: {} additionalProperties: false examples: - default: &501 + default: &503 value: limit: collaborators_only origin: repository @@ -75655,13 +75816,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: application/json: - schema: *500 + schema: *502 examples: default: summary: Example request body @@ -75673,9 +75834,9 @@ paths: description: Response content: application/json: - schema: *191 + schema: *193 examples: - default: *501 + default: *503 '409': description: Response x-github: @@ -75697,8 +75858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -75721,8 +75882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -75732,9 +75893,9 @@ paths: application/json: schema: type: array - items: *502 + items: *504 examples: - default: &650 + default: &652 value: - id: 1 repository: @@ -75865,9 +76026,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *311 - - *312 - - *195 + - *313 + - *314 + - *197 requestBody: required: false content: @@ -75896,7 +76057,7 @@ paths: description: Response content: application/json: - schema: *502 + schema: *504 examples: default: value: @@ -76027,9 +76188,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *311 - - *312 - - *195 + - *313 + - *314 + - *197 responses: '204': description: Response @@ -76060,8 +76221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *311 - - *312 + - *313 + - *314 - 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 @@ -76109,7 +76270,7 @@ paths: required: false schema: type: string - - *199 + - *201 - name: sort description: What to sort results by. in: query @@ -76134,7 +76295,7 @@ paths: type: array items: *81 examples: - default: &509 + default: &511 value: - id: 1 node_id: MDU6SXNzdWUx @@ -76282,7 +76443,7 @@ paths: state_reason: completed headers: Link: *57 - '301': *320 + '301': *322 '422': *15 '404': *6 x-github: @@ -76311,8 +76472,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -76404,7 +76565,7 @@ paths: application/json: schema: *81 examples: - default: &506 + default: &508 value: id: 1 node_id: MDU6SXNzdWUx @@ -76560,7 +76721,7 @@ paths: '422': *15 '503': *69 '404': *6 - '410': *317 + '410': *319 x-github: triggersNotification: true githubCloudOnly: false @@ -76588,8 +76749,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *90 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -76610,9 +76771,9 @@ paths: application/json: schema: type: array - items: *503 + items: *505 examples: - default: &508 + default: &510 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76670,17 +76831,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '200': description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: &504 + default: &506 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -76734,8 +76895,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -76758,9 +76919,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 '422': *15 x-github: githubCloudOnly: false @@ -76778,8 +76939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '204': @@ -76800,8 +76961,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76828,9 +76989,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 @@ -76851,8 +77012,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -76885,16 +77046,16 @@ paths: description: Reaction exists content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Reaction created content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -76916,10 +77077,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *311 - - *312 + - *313 + - *314 - *80 - - *307 + - *309 responses: '204': description: Response @@ -76939,8 +77100,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -76950,7 +77111,7 @@ paths: application/json: schema: type: array - items: &505 + items: &507 title: Issue Event description: Issue Event type: object @@ -77030,7 +77191,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *157 + requested_team: *159 dismissed_review: title: Issue Event Dismissed Review type: object @@ -77289,8 +77450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *311 - - *312 + - *313 + - *314 - name: event_id in: path required: true @@ -77301,7 +77462,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *507 examples: default: value: @@ -77494,7 +77655,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *317 + '410': *319 '403': *27 x-github: githubCloudOnly: false @@ -77528,9 +77689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *311 - - *312 - - &507 + - *313 + - *314 + - &509 name: issue_number description: The number that identifies the issue. in: path @@ -77544,10 +77705,10 @@ paths: application/json: schema: *81 examples: - default: *506 - '301': *320 + default: *508 + '301': *322 '404': *6 - '410': *317 + '410': *319 '304': *35 x-github: githubCloudOnly: false @@ -77572,9 +77733,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -77695,13 +77856,13 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 '422': *15 '503': *69 '403': *27 - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77719,9 +77880,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -77749,7 +77910,7 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77765,9 +77926,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: content: application/json: @@ -77794,7 +77955,7 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77816,9 +77977,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: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - name: assignee in: path required: true @@ -77858,9 +78019,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *71 - *17 - *19 @@ -77871,13 +78032,13 @@ paths: application/json: schema: type: array - items: *503 + items: *505 examples: - default: *508 + default: *510 headers: Link: *57 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77906,9 +78067,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -77930,16 +78091,16 @@ paths: description: Response content: application/json: - schema: *503 + schema: *505 examples: - default: *504 + default: *506 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *317 + '410': *319 '422': *15 '404': *6 x-github: @@ -77967,9 +78128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -77981,12 +78142,12 @@ paths: type: array items: *81 examples: - default: *509 + default: *511 headers: Link: *57 - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78014,9 +78175,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -78040,15 +78201,15 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *320 + '301': *322 '403': *27 - '410': *317 + '410': *319 '422': *15 '404': *6 x-github: @@ -78079,9 +78240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -78095,13 +78256,13 @@ paths: application/json: schema: *81 examples: - default: *506 - '301': *320 + default: *508 + '301': *322 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *317 + '410': *319 x-github: triggersNotification: true githubCloudOnly: false @@ -78127,9 +78288,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -78141,12 +78302,12 @@ paths: type: array items: *81 examples: - default: *509 + default: *511 headers: Link: *57 - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78163,9 +78324,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -78179,7 +78340,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &512 + - &514 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -78228,7 +78389,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &515 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -78356,7 +78517,7 @@ paths: - performed_via_github_app - assignee - assigner - - &514 + - &516 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -78402,7 +78563,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &517 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -78448,7 +78609,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &518 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -78497,7 +78658,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &519 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -78526,7 +78687,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *157 + requested_team: *159 requested_reviewer: *4 required: - review_requester @@ -78539,7 +78700,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &520 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -78568,7 +78729,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *157 + requested_team: *159 requested_reviewer: *4 required: - review_requester @@ -78581,7 +78742,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &521 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -78637,7 +78798,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &522 title: Locked Issue Event description: Locked Issue Event type: object @@ -78682,7 +78843,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &523 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -78743,7 +78904,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &524 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -78804,7 +78965,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &525 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -78865,7 +79026,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &526 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -78958,7 +79119,7 @@ paths: color: red headers: Link: *57 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78975,9 +79136,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -78987,7 +79148,7 @@ paths: application/json: schema: type: array - items: &510 + items: &512 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -79042,7 +79203,7 @@ paths: - color - default examples: - default: &511 + default: &513 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -79060,9 +79221,9 @@ paths: default: false headers: Link: *57 - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79079,9 +79240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -79140,12 +79301,12 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *511 - '301': *320 + default: *513 + '301': *322 '404': *6 - '410': *317 + '410': *319 '422': *15 x-github: githubCloudOnly: false @@ -79162,9 +79323,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -79224,12 +79385,12 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *511 - '301': *320 + default: *513 + '301': *322 '404': *6 - '410': *317 + '410': *319 '422': *15 x-github: githubCloudOnly: false @@ -79246,15 +79407,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 responses: '204': description: Response - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79273,9 +79434,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - name: name in: path required: true @@ -79288,7 +79449,7 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: default: value: @@ -79299,9 +79460,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *320 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79321,9 +79482,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: false content: @@ -79352,7 +79513,7 @@ paths: '204': description: Response '403': *27 - '410': *317 + '410': *319 '404': *6 '422': *15 x-github: @@ -79370,9 +79531,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 responses: '204': description: Response @@ -79402,9 +79563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#get-parent-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 responses: '200': description: Response @@ -79412,10 +79573,10 @@ paths: application/json: schema: *81 examples: - default: *506 - '301': *320 + default: *508 + '301': *322 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79432,9 +79593,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - 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. @@ -79460,13 +79621,13 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79484,9 +79645,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -79518,16 +79679,16 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -79549,10 +79710,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *311 - - *312 - - *507 - - *307 + - *313 + - *314 + - *509 + - *309 responses: '204': description: Response @@ -79581,9 +79742,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -79607,7 +79768,7 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -79640,9 +79801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -79654,11 +79815,11 @@ paths: type: array items: *81 examples: - default: *509 + default: *511 headers: Link: *57 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79686,9 +79847,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -79717,14 +79878,14 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *317 + '410': *319 '422': *15 '404': *6 x-github: @@ -79744,9 +79905,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 requestBody: required: true content: @@ -79779,7 +79940,7 @@ paths: application/json: schema: *81 examples: - default: *506 + default: *508 '403': *27 '404': *6 '422': *7 @@ -79801,9 +79962,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *311 - - *312 - - *507 + - *313 + - *314 + - *509 - *17 - *19 responses: @@ -79818,8 +79979,6 @@ paths: description: Timeline Event type: object anyOf: - - *512 - - *513 - *514 - *515 - *516 @@ -79831,6 +79990,8 @@ paths: - *522 - *523 - *524 + - *525 + - *526 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -80159,7 +80320,7 @@ paths: type: string comments: type: array - items: &543 + items: &545 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -80397,7 +80558,7 @@ paths: type: string comments: type: array - items: *440 + items: *442 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -80672,7 +80833,7 @@ paths: headers: Link: *57 '404': *6 - '410': *317 + '410': *319 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80689,8 +80850,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -80700,7 +80861,7 @@ paths: application/json: schema: type: array - items: &525 + items: &527 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -80768,8 +80929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -80805,9 +80966,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: &526 + default: &528 value: id: 1 key: ssh-rsa AAA... @@ -80841,9 +81002,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *311 - - *312 - - &527 + - *313 + - *314 + - &529 name: key_id description: The unique identifier of the key. in: path @@ -80855,9 +81016,9 @@ paths: description: Response content: application/json: - schema: *525 + schema: *527 examples: - default: *526 + default: *528 '404': *6 x-github: githubCloudOnly: false @@ -80875,9 +81036,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *311 - - *312 - - *527 + - *313 + - *314 + - *529 responses: '204': description: Response @@ -80897,8 +81058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -80908,9 +81069,9 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *511 + default: *513 headers: Link: *57 '404': *6 @@ -80931,8 +81092,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -80968,9 +81129,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: &528 + default: &530 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -81002,8 +81163,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *311 - - *312 + - *313 + - *314 - name: name in: path required: true @@ -81014,9 +81175,9 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: - default: *528 + default: *530 '404': *6 x-github: githubCloudOnly: false @@ -81033,8 +81194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *311 - - *312 + - *313 + - *314 - name: name in: path required: true @@ -81073,7 +81234,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *512 examples: default: value: @@ -81099,8 +81260,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *311 - - *312 + - *313 + - *314 - name: name in: path required: true @@ -81126,8 +81287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -81166,9 +81327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *311 - - *312 - - *418 + - *313 + - *314 + - *420 responses: '200': description: Response @@ -81315,8 +81476,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -81381,8 +81542,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -81416,9 +81577,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *441 + schema: *443 examples: - default: *529 + default: *531 '204': description: Response when already merged '404': @@ -81443,8 +81604,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *311 - - *312 + - *313 + - *314 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -81485,7 +81646,7 @@ paths: application/json: schema: type: array - items: *235 + items: *237 examples: default: value: @@ -81541,8 +81702,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -81582,9 +81743,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: &530 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -81643,9 +81804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *311 - - *312 - - &531 + - *313 + - *314 + - &533 name: milestone_number description: The number that identifies the milestone. in: path @@ -81657,9 +81818,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *530 + default: *532 '404': *6 x-github: githubCloudOnly: false @@ -81676,9 +81837,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *311 - - *312 - - *531 + - *313 + - *314 + - *533 requestBody: required: false content: @@ -81716,9 +81877,9 @@ paths: description: Response content: application/json: - schema: *235 + schema: *237 examples: - default: *530 + default: *532 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81734,9 +81895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *311 - - *312 - - *531 + - *313 + - *314 + - *533 responses: '204': description: Response @@ -81757,9 +81918,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *311 - - *312 - - *531 + - *313 + - *314 + - *533 - *17 - *19 responses: @@ -81769,9 +81930,9 @@ paths: application/json: schema: type: array - items: *510 + items: *512 examples: - default: *511 + default: *513 headers: Link: *57 x-github: @@ -81790,12 +81951,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *311 - - *312 - - *532 - - *533 - - *71 + - *313 + - *314 - *534 + - *535 + - *71 + - *536 - *17 - *19 responses: @@ -81807,7 +81968,7 @@ paths: type: array items: *93 examples: - default: *535 + default: *537 headers: Link: *57 x-github: @@ -81831,8 +81992,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -81890,14 +82051,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &536 + schema: &538 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -82041,7 +82202,7 @@ paths: - custom_404 - public examples: - default: &537 + default: &539 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -82082,8 +82243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -82138,9 +82299,9 @@ paths: description: Response content: application/json: - schema: *536 + schema: *538 examples: - default: *537 + default: *539 '422': *15 '409': *45 x-github: @@ -82163,8 +82324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -82264,8 +82425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -82291,8 +82452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -82302,7 +82463,7 @@ paths: application/json: schema: type: array - items: &538 + items: &540 title: Page Build description: Page Build type: object @@ -82394,8 +82555,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *311 - - *312 + - *313 + - *314 responses: '201': description: Response @@ -82442,16 +82603,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *538 + schema: *540 examples: - default: &539 + default: &541 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -82499,8 +82660,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *311 - - *312 + - *313 + - *314 - name: build_id in: path required: true @@ -82511,9 +82672,9 @@ paths: description: Response content: application/json: - schema: *538 + schema: *540 examples: - default: *539 + default: *541 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82533,8 +82694,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -82642,9 +82803,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *311 - - *312 - - &540 + - *313 + - *314 + - &542 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -82702,11 +82863,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *311 - - *312 - - *540 + - *313 + - *314 + - *542 responses: - '204': *152 + '204': *154 '404': *6 x-github: githubCloudOnly: false @@ -82731,8 +82892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -83000,7 +83161,7 @@ paths: description: Empty response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -83027,8 +83188,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: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Private vulnerability reporting status @@ -83065,10 +83226,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: - '204': *152 + '204': *154 '422': *14 x-github: githubCloudOnly: false @@ -83087,10 +83248,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: - '204': *152 + '204': *154 '422': *14 x-github: githubCloudOnly: false @@ -83111,8 +83272,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#list-repository-projects parameters: - - *311 - - *312 + - *313 + - *314 - name: state description: Indicates the state of the projects to return. in: query @@ -83133,7 +83294,7 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: default: value: @@ -83173,7 +83334,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *317 + '410': *319 '422': *7 x-github: githubCloudOnly: false @@ -83196,8 +83357,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects-classic/projects#create-a-repository-project parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -83223,13 +83384,13 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: - default: *316 + default: *318 '401': *23 '403': *27 '404': *6 - '410': *317 + '410': *319 '422': *7 x-github: githubCloudOnly: false @@ -83252,8 +83413,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -83261,7 +83422,7 @@ paths: application/json: schema: type: array - items: *246 + items: *248 examples: default: value: @@ -83292,8 +83453,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -83305,7 +83466,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *246 + items: *248 required: - properties examples: @@ -83355,8 +83516,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *311 - - *312 + - *313 + - *314 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -83416,9 +83577,9 @@ paths: application/json: schema: type: array - items: *445 + items: *447 examples: - default: *541 + default: *543 headers: Link: *57 '304': *35 @@ -83450,8 +83611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -83518,7 +83679,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &547 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -83647,7 +83808,7 @@ paths: milestone: anyOf: - type: 'null' - - *235 + - *237 active_lock_reason: type: - string @@ -83702,7 +83863,7 @@ paths: type: - array - 'null' - items: *211 + items: *213 head: type: object properties: @@ -83740,14 +83901,14 @@ paths: _links: type: object properties: - comments: *236 - commits: *236 - statuses: *236 - html: *236 - issue: *236 - review_comments: *236 - review_comment: *236 - self: *236 + comments: *238 + commits: *238 + statuses: *238 + html: *238 + issue: *238 + review_comments: *238 + review_comment: *238 + self: *238 required: - comments - commits @@ -83758,7 +83919,7 @@ paths: - review_comment - self author_association: *67 - auto_merge: *542 + auto_merge: *544 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -83860,7 +84021,7 @@ paths: - merged_by - review_comments examples: - default: &546 + default: &548 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -84387,8 +84548,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *311 - - *312 + - *313 + - *314 - name: sort in: query required: false @@ -84417,9 +84578,9 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: &548 + default: &550 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84496,17 +84657,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '200': description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: &544 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -84581,8 +84742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -84605,9 +84766,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: - default: *544 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84623,8 +84784,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *311 - - *312 + - *313 + - *314 - *80 responses: '204': @@ -84646,8 +84807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -84674,9 +84835,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 @@ -84697,8 +84858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *311 - - *312 + - *313 + - *314 - *80 requestBody: required: true @@ -84731,16 +84892,16 @@ paths: description: Reaction exists content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Reaction created content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -84762,10 +84923,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *311 - - *312 + - *313 + - *314 - *80 - - *307 + - *309 responses: '204': description: Response @@ -84808,9 +84969,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *311 - - *312 - - &547 + - *313 + - *314 + - &549 name: pull_number description: The number that identifies the pull request. in: path @@ -84823,9 +84984,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '304': *35 '404': *6 '406': @@ -84860,9 +85021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -84904,9 +85065,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *547 examples: - default: *546 + default: *548 '422': *15 '403': *27 x-github: @@ -84928,9 +85089,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: true content: @@ -84991,17 +85152,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '401': *23 '403': *27 '404': *6 @@ -85031,9 +85192,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *90 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -85054,9 +85215,9 @@ paths: application/json: schema: type: array - items: *543 + items: *545 examples: - default: *548 + default: *550 headers: Link: *57 x-github: @@ -85089,9 +85250,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: true content: @@ -85197,7 +85358,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: example-for-a-multi-line-comment: value: @@ -85285,9 +85446,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *80 requestBody: required: true @@ -85310,7 +85471,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *545 examples: default: value: @@ -85396,9 +85557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *17 - *19 responses: @@ -85408,9 +85569,9 @@ paths: application/json: schema: type: array - items: *441 + items: *443 examples: - default: *549 + default: *551 headers: Link: *57 x-github: @@ -85440,9 +85601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *17 - *19 responses: @@ -85452,7 +85613,7 @@ paths: application/json: schema: type: array - items: *452 + items: *454 examples: default: value: @@ -85490,9 +85651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 responses: '204': description: Response if pull request has been merged @@ -85515,9 +85676,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -85629,9 +85790,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 responses: '200': description: Response @@ -85647,7 +85808,7 @@ paths: items: *4 teams: type: array - items: *157 + items: *159 required: - users - teams @@ -85706,9 +85867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -85745,7 +85906,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -86281,9 +86442,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: true content: @@ -86317,7 +86478,7 @@ paths: description: Response content: application/json: - schema: *445 + schema: *447 examples: default: value: @@ -86822,9 +86983,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 - *17 - *19 responses: @@ -86834,7 +86995,7 @@ paths: application/json: schema: type: array - items: &550 + items: &552 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -86990,9 +87151,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -87082,9 +87243,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &552 + default: &554 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87147,10 +87308,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - &551 + - *313 + - *314 + - *549 + - &553 name: review_id description: The unique identifier of the review. in: path @@ -87162,9 +87323,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: &553 + default: &555 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -87223,10 +87384,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 requestBody: required: true content: @@ -87249,7 +87410,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -87311,18 +87472,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 responses: '200': description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *552 + default: *554 '422': *7 '404': *6 x-github: @@ -87349,10 +87510,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 - *17 - *19 responses: @@ -87450,9 +87611,9 @@ paths: _links: type: object properties: - self: *236 - html: *236 - pull_request: *236 + self: *238 + html: *238 + pull_request: *238 required: - self - html @@ -87610,10 +87771,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 requestBody: required: true content: @@ -87642,7 +87803,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: default: value: @@ -87705,10 +87866,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *311 - - *312 - - *547 - - *551 + - *313 + - *314 + - *549 + - *553 requestBody: required: true content: @@ -87743,9 +87904,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *552 examples: - default: *553 + default: *555 '404': *6 '422': *7 '403': *27 @@ -87767,9 +87928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *311 - - *312 - - *547 + - *313 + - *314 + - *549 requestBody: required: false content: @@ -87833,8 +87994,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *311 - - *312 + - *313 + - *314 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -87847,9 +88008,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: &555 + default: &557 value: type: file encoding: base64 @@ -87891,8 +88052,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *311 - - *312 + - *313 + - *314 - name: dir description: The alternate path to look for a README file in: path @@ -87912,9 +88073,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *556 examples: - default: *555 + default: *557 '404': *6 '422': *15 x-github: @@ -87936,8 +88097,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -87947,7 +88108,7 @@ paths: application/json: schema: type: array - items: &556 + items: &558 title: Release description: A release. type: object @@ -88029,7 +88190,7 @@ paths: author: *4 assets: type: array - items: &557 + items: &559 title: Release Asset description: Data related to a release. type: object @@ -88216,8 +88377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -88293,9 +88454,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: &560 + default: &562 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -88400,9 +88561,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *311 - - *312 - - &558 + - *313 + - *314 + - &560 name: asset_id description: The unique identifier of the asset. in: path @@ -88414,9 +88575,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: &559 + default: &561 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 @@ -88451,7 +88612,7 @@ paths: type: User site_admin: false '404': *6 - '302': *454 + '302': *456 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88467,9 +88628,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *311 - - *312 - - *558 + - *313 + - *314 + - *560 requestBody: required: false content: @@ -88498,9 +88659,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *559 examples: - default: *559 + default: *561 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88516,9 +88677,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *311 - - *312 - - *558 + - *313 + - *314 + - *560 responses: '204': description: Response @@ -88542,8 +88703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -88629,16 +88790,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88655,8 +88816,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *311 - - *312 + - *313 + - *314 - name: tag description: tag parameter in: path @@ -88669,9 +88830,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 '404': *6 x-github: githubCloudOnly: false @@ -88693,9 +88854,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *311 - - *312 - - &561 + - *313 + - *314 + - &563 name: release_id description: The unique identifier of the release. in: path @@ -88709,9 +88870,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: *556 + schema: *558 examples: - default: *560 + default: *562 '401': description: Unauthorized x-github: @@ -88729,9 +88890,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 requestBody: required: false content: @@ -88795,9 +88956,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *558 examples: - default: *560 + default: *562 '404': description: Not Found if the discussion category name is invalid content: @@ -88818,9 +88979,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 responses: '204': description: Response @@ -88840,9 +89001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 - *17 - *19 responses: @@ -88852,7 +89013,7 @@ paths: application/json: schema: type: array - items: *557 + items: *559 examples: default: value: @@ -88933,9 +89094,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: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 - name: name in: query required: true @@ -88961,7 +89122,7 @@ paths: description: Response for successful upload content: application/json: - schema: *557 + schema: *559 examples: response-for-successful-upload: value: @@ -89016,9 +89177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 - 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. @@ -89042,9 +89203,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 '404': *6 @@ -89065,9 +89226,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *311 - - *312 - - *561 + - *313 + - *314 + - *563 requestBody: required: true content: @@ -89097,16 +89258,16 @@ paths: description: Reaction exists content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '201': description: Reaction created content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 '422': *15 x-github: githubCloudOnly: false @@ -89128,10 +89289,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *311 - - *312 - - *561 - - *307 + - *313 + - *314 + - *563 + - *309 responses: '204': description: Response @@ -89155,9 +89316,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *311 - - *312 - - *381 + - *313 + - *314 + - *383 - *17 - *19 responses: @@ -89173,8 +89334,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *253 - - &562 + - *255 + - &564 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -89193,69 +89354,69 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *254 - - *562 - - allOf: - - *255 - - *562 - allOf: - *256 - - *562 - - allOf: - - *563 - - *562 + - *564 - allOf: - *257 - - *562 + - *564 - allOf: - *258 - - *562 + - *564 + - allOf: + - *565 + - *564 - allOf: - *259 - - *562 + - *564 - allOf: - *260 - - *562 + - *564 - allOf: - *261 - - *562 + - *564 - allOf: - *262 - - *562 + - *564 - allOf: - *263 - - *562 + - *564 - allOf: - *264 - - *562 + - *564 - allOf: - *265 - - *562 + - *564 - allOf: - *266 - - *562 + - *564 - allOf: - *267 - - *562 + - *564 - allOf: - *268 - - *562 + - *564 - allOf: - *269 - - *562 + - *564 - allOf: - *270 - - *562 + - *564 - allOf: - *271 - - *562 + - *564 - allOf: - *272 - - *562 + - *564 - allOf: + - *273 + - *564 + - allOf: + - *274 + - *564 + - allOf: + - *566 - *564 - - *562 examples: default: value: @@ -89294,8 +89455,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 - name: includes_parents @@ -89306,7 +89467,7 @@ paths: schema: type: boolean default: true - - *565 + - *567 responses: '200': description: Response @@ -89314,7 +89475,7 @@ paths: application/json: schema: type: array - items: *273 + items: *275 examples: default: value: @@ -89361,8 +89522,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 requestBody: description: Request body required: true @@ -89382,16 +89543,16 @@ paths: - tag - push default: branch - enforcement: *250 + enforcement: *252 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *251 - conditions: *248 + items: *253 + conditions: *250 rules: type: array description: An array of rules within the ruleset. - items: *566 + items: *568 required: - name - enforcement @@ -89422,9 +89583,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: &576 + default: &578 value: id: 42 name: super cool ruleset @@ -89471,12 +89632,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *311 - - *312 - - *567 - - *568 + - *313 + - *314 - *569 - *570 + - *571 + - *572 - *17 - *19 responses: @@ -89484,9 +89645,9 @@ paths: description: Response content: application/json: - schema: *571 + schema: *573 examples: - default: *572 + default: *574 '404': *6 '500': *98 x-github: @@ -89507,17 +89668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *311 - - *312 - - *573 + - *313 + - *314 + - *575 responses: '200': description: Response content: application/json: - schema: *574 + schema: *576 examples: - default: *575 + default: *577 '404': *6 '500': *98 x-github: @@ -89545,8 +89706,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89566,9 +89727,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *576 + default: *578 '404': *6 '500': *98 put: @@ -89586,8 +89747,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89612,16 +89773,16 @@ paths: - branch - tag - push - enforcement: *250 + enforcement: *252 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *251 - conditions: *248 + items: *253 + conditions: *250 rules: description: An array of rules within the ruleset. type: array - items: *566 + items: *568 examples: default: value: @@ -89649,9 +89810,9 @@ paths: description: Response content: application/json: - schema: *273 + schema: *275 examples: - default: *576 + default: *578 '404': *6 '500': *98 delete: @@ -89669,8 +89830,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - - *312 + - *313 + - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89693,8 +89854,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-history parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 - name: ruleset_id @@ -89710,9 +89871,9 @@ paths: application/json: schema: type: array - items: *276 + items: *278 examples: - default: *577 + default: *579 '404': *6 '500': *98 x-github: @@ -89731,8 +89892,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-repository-ruleset-version parameters: - - *311 - - *312 + - *313 + - *314 - name: ruleset_id description: The ID of the ruleset. in: path @@ -89750,7 +89911,7 @@ paths: description: Response content: application/json: - schema: *578 + schema: *580 examples: default: value: @@ -89805,21 +89966,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *311 - - *312 - - *277 - - *278 + - *313 + - *314 - *279 - *280 + - *281 + - *282 - *46 - *19 - *17 - - *579 - - *580 - - *281 - - *282 + - *581 + - *582 - *283 - *284 + - *285 + - *286 responses: '200': description: Response @@ -89827,7 +89988,7 @@ paths: application/json: schema: type: array - items: &584 + items: &586 type: object properties: number: *52 @@ -89843,8 +90004,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *581 - resolution: *582 + state: *583 + resolution: *584 resolved_at: type: - string @@ -89938,7 +90099,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *583 + - *585 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -90060,16 +90221,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *311 - - *312 - - *412 - - *284 + - *313 + - *314 + - *414 + - *286 responses: '200': description: Response content: application/json: - schema: *584 + schema: *586 examples: default: value: @@ -90121,9 +90282,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 requestBody: required: true content: @@ -90131,8 +90292,8 @@ paths: schema: type: object properties: - state: *581 - resolution: *582 + state: *583 + resolution: *584 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -90151,7 +90312,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *586 examples: default: value: @@ -90226,9 +90387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *311 - - *312 - - *412 + - *313 + - *314 + - *414 - *19 - *17 responses: @@ -90239,7 +90400,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &736 + items: &739 type: object properties: type: @@ -90266,8 +90427,6 @@ paths: - commit details: oneOf: - - *585 - - *586 - *587 - *588 - *589 @@ -90279,6 +90438,8 @@ paths: - *595 - *596 - *597 + - *598 + - *599 examples: default: value: @@ -90364,8 +90525,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -90373,14 +90534,14 @@ paths: schema: type: object properties: - reason: &599 + reason: &601 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *598 + placeholder_id: *600 required: - reason - placeholder_id @@ -90397,7 +90558,7 @@ paths: schema: type: object properties: - reason: *599 + reason: *601 expire_at: type: - string @@ -90441,8 +90602,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: - - *311 - - *312 + - *313 + - *314 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -90457,7 +90618,7 @@ paths: properties: incremental_scans: type: array - items: &600 + items: &602 description: Information on a single scan performed by secret scanning on the repository type: object @@ -90485,15 +90646,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *600 + items: *602 backfill_scans: type: array - items: *600 + items: *602 custom_pattern_backfill_scans: type: array items: allOf: - - *600 + - *602 - type: object properties: pattern_name: @@ -90563,8 +90724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *311 - - *312 + - *313 + - *314 - *46 - name: sort description: The property to sort the results by. @@ -90608,9 +90769,9 @@ paths: application/json: schema: type: array - items: *601 + items: *603 examples: - default: *602 + default: *604 '400': *14 '404': *6 x-github: @@ -90633,8 +90794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -90714,7 +90875,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *291 required: - login - type @@ -90804,9 +90965,9 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: &604 + default: &606 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -91039,8 +91200,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -91153,7 +91314,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: default: value: @@ -91300,17 +91461,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *311 - - *312 - - *603 + - *313 + - *314 + - *605 responses: '200': description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *604 + default: *606 '403': *27 '404': *6 x-github: @@ -91334,9 +91495,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *311 - - *312 - - *603 + - *313 + - *314 + - *605 requestBody: required: true content: @@ -91416,7 +91577,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *291 required: - login - type @@ -91507,17 +91668,17 @@ paths: description: Response content: application/json: - schema: *601 + schema: *603 examples: - default: *604 - add_credit: *604 + default: *606 + add_credit: *606 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *101 + schema: *103 examples: invalid_state_transition: value: @@ -91548,9 +91709,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: - - *311 - - *312 - - *603 + - *313 + - *314 + - *605 responses: '202': *37 '400': *14 @@ -91577,17 +91738,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *311 - - *312 - - *603 + - *313 + - *314 + - *605 responses: '202': description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 + default: *323 '400': *14 '422': *15 '403': *27 @@ -91613,8 +91774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -91710,8 +91871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -91720,7 +91881,7 @@ paths: application/json: schema: type: array - items: &605 + items: &607 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -91733,7 +91894,7 @@ paths: - 1124 - -435 '202': *37 - '204': *152 + '204': *154 '422': description: Repository contains more than 10,000 commits x-github: @@ -91753,8 +91914,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -91805,7 +91966,7 @@ paths: total: 89 week: 1336280400 '202': *37 - '204': *152 + '204': *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91832,8 +91993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -91905,7 +92066,7 @@ paths: d: 77 c: 10 '202': *37 - '204': *152 + '204': *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91927,8 +92088,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -92082,8 +92243,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -92093,7 +92254,7 @@ paths: application/json: schema: type: array - items: *605 + items: *607 examples: default: value: @@ -92106,7 +92267,7 @@ paths: - - 0 - 2 - 21 - '204': *152 + '204': *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92126,8 +92287,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *311 - - *312 + - *313 + - *314 - name: sha in: path required: true @@ -92183,7 +92344,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *608 examples: default: value: @@ -92237,8 +92398,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -92270,14 +92431,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &607 + schema: &609 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -92350,8 +92511,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: false content: @@ -92377,7 +92538,7 @@ paths: description: Response content: application/json: - schema: *607 + schema: *609 examples: default: value: @@ -92404,8 +92565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -92425,8 +92586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -92508,8 +92669,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -92517,7 +92678,7 @@ paths: application/json: schema: type: array - items: &608 + items: &610 title: Tag protection description: Tag protection type: object @@ -92574,8 +92735,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: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -92598,7 +92759,7 @@ paths: description: Response content: application/json: - schema: *608 + schema: *610 examples: default: value: @@ -92629,8 +92790,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: - - *311 - - *312 + - *313 + - *314 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -92667,8 +92828,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *311 - - *312 + - *313 + - *314 - name: ref in: path required: true @@ -92704,8 +92865,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *311 - - *312 + - *313 + - *314 - *17 - *19 responses: @@ -92715,9 +92876,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - default: *212 + default: *214 headers: Link: *57 '404': *6 @@ -92737,8 +92898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *311 - - *312 + - *313 + - *314 - *19 - *17 responses: @@ -92746,7 +92907,7 @@ paths: description: Response content: application/json: - schema: &609 + schema: &611 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -92758,7 +92919,7 @@ paths: required: - names examples: - default: &610 + default: &612 value: names: - octocat @@ -92781,8 +92942,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -92813,9 +92974,9 @@ paths: description: Response content: application/json: - schema: *609 + schema: *611 examples: - default: *610 + default: *612 '404': *6 '422': *7 x-github: @@ -92836,9 +92997,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *311 - - *312 - - &611 + - *313 + - *314 + - &613 name: per description: The time frame to display results for. in: query @@ -92869,7 +93030,7 @@ paths: - 128 clones: type: array - items: &612 + items: &614 title: Traffic type: object properties: @@ -92956,8 +93117,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -93051,8 +93212,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *311 - - *312 + - *313 + - *314 responses: '200': description: Response @@ -93115,9 +93276,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *311 - - *312 - - *611 + - *313 + - *314 + - *613 responses: '200': description: Response @@ -93138,7 +93299,7 @@ paths: - 3782 views: type: array - items: *612 + items: *614 required: - uniques - count @@ -93215,8 +93376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *311 - - *312 + - *313 + - *314 requestBody: required: true content: @@ -93252,7 +93413,7 @@ paths: description: Response content: application/json: - schema: *127 + schema: *129 examples: default: value: @@ -93490,8 +93651,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -93514,8 +93675,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -93537,8 +93698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -93564,8 +93725,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *311 - - *312 + - *313 + - *314 - name: ref in: path required: true @@ -93657,9 +93818,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 + default: *323 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93700,7 +93861,7 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: default: value: @@ -93889,7 +94050,7 @@ paths: html_url: type: string format: uri - repository: *127 + repository: *129 score: type: number file_size: @@ -93908,7 +94069,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &613 + text_matches: &615 title: Search Result Text Matches type: array items: @@ -94071,7 +94232,7 @@ paths: enum: - author-date - committer-date - - &614 + - &616 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 @@ -94140,7 +94301,7 @@ paths: committer: anyOf: - type: 'null' - - *379 + - *381 comment_count: type: integer message: @@ -94159,7 +94320,7 @@ paths: url: type: string format: uri - verification: *489 + verification: *491 required: - author - committer @@ -94174,7 +94335,7 @@ paths: committer: anyOf: - type: 'null' - - *379 + - *381 parents: type: array items: @@ -94186,12 +94347,12 @@ paths: type: string sha: type: string - repository: *127 + repository: *129 score: type: number node_id: type: string - text_matches: *613 + text_matches: *615 required: - sha - node_id @@ -94373,7 +94534,7 @@ paths: - interactions - created - updated - - *614 + - *616 - *17 - *19 - name: advanced_search @@ -94479,11 +94640,11 @@ paths: type: - string - 'null' - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: type: string state_reason: @@ -94497,7 +94658,7 @@ paths: milestone: anyOf: - type: 'null' - - *235 + - *237 comments: type: integer created_at: @@ -94511,7 +94672,7 @@ paths: - string - 'null' format: date-time - text_matches: *613 + text_matches: *615 pull_request: type: object properties: @@ -94560,7 +94721,7 @@ paths: timeline_url: type: string format: uri - type: *196 + type: *198 performed_via_github_app: anyOf: - type: 'null' @@ -94737,7 +94898,7 @@ paths: enum: - created - updated - - *614 + - *616 - *17 - *19 responses: @@ -94782,7 +94943,7 @@ paths: - 'null' score: type: number - text_matches: *613 + text_matches: *615 required: - id - node_id @@ -94867,7 +95028,7 @@ paths: - forks - help-wanted-issues - updated - - *614 + - *616 - *17 - *19 responses: @@ -95104,7 +95265,7 @@ paths: - admin - pull - push - text_matches: *613 + text_matches: *615 temp_clone_token: type: string allow_merge_commit: @@ -95412,7 +95573,7 @@ paths: - string - 'null' format: uri - text_matches: *613 + text_matches: *615 related: type: - array @@ -95605,7 +95766,7 @@ paths: - followers - repositories - joined - - *614 + - *616 - *17 - *19 responses: @@ -95715,7 +95876,7 @@ paths: type: - boolean - 'null' - text_matches: *613 + text_matches: *615 blog: type: - string @@ -95797,7 +95958,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &618 + - &620 name: team_id description: The unique identifier of the team. in: path @@ -95809,9 +95970,9 @@ paths: description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *6 x-github: githubCloudOnly: false @@ -95838,7 +95999,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *618 + - *620 requestBody: required: true content: @@ -95902,16 +96063,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '201': description: Response content: application/json: - schema: *296 + schema: *298 examples: - default: *297 + default: *299 '404': *6 '422': *15 '403': *27 @@ -95939,7 +96100,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *618 + - *620 responses: '204': description: Response @@ -95970,7 +96131,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *618 + - *620 - *46 - *17 - *19 @@ -95981,9 +96142,9 @@ paths: application/json: schema: type: array - items: *298 + items: *300 examples: - default: *619 + default: *621 headers: Link: *57 x-github: @@ -96012,7 +96173,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *618 + - *620 requestBody: required: true content: @@ -96046,9 +96207,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 x-github: triggersNotification: true githubCloudOnly: false @@ -96075,16 +96236,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 responses: '200': description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *299 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96109,8 +96270,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 requestBody: required: false content: @@ -96133,9 +96294,9 @@ paths: description: Response content: application/json: - schema: *298 + schema: *300 examples: - default: *620 + default: *622 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96160,8 +96321,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 responses: '204': description: Response @@ -96190,8 +96351,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *618 - - *300 + - *620 + - *302 - *46 - *17 - *19 @@ -96202,9 +96363,9 @@ paths: application/json: schema: type: array - items: *301 + items: *303 examples: - default: *621 + default: *623 headers: Link: *57 x-github: @@ -96233,8 +96394,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *618 - - *300 + - *620 + - *302 requestBody: required: true content: @@ -96256,9 +96417,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: *302 + default: *304 x-github: triggersNotification: true githubCloudOnly: false @@ -96285,17 +96446,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 responses: '200': description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: *302 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96320,9 +96481,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 requestBody: required: true content: @@ -96344,9 +96505,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *303 examples: - default: *622 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96371,9 +96532,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 responses: '204': description: Response @@ -96402,9 +96563,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 - 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. @@ -96430,9 +96591,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 x-github: @@ -96461,9 +96622,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *618 - - *300 - - *303 + - *620 + - *302 + - *305 requestBody: required: true content: @@ -96495,9 +96656,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96523,8 +96684,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 - 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. @@ -96550,9 +96711,9 @@ paths: application/json: schema: type: array - items: *304 + items: *306 examples: - default: *306 + default: *308 headers: Link: *57 x-github: @@ -96581,8 +96742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *618 - - *300 + - *620 + - *302 requestBody: required: true content: @@ -96614,9 +96775,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *306 examples: - default: *305 + default: *307 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96640,7 +96801,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *618 + - *620 - *17 - *19 responses: @@ -96650,9 +96811,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *194 + default: *196 headers: Link: *57 x-github: @@ -96678,7 +96839,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *618 + - *620 - name: role description: Filters members returned by their role in the team. in: query @@ -96729,7 +96890,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *618 + - *620 - *62 responses: '204': @@ -96766,7 +96927,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *618 + - *620 - *62 responses: '204': @@ -96806,7 +96967,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *618 + - *620 - *62 responses: '204': @@ -96843,16 +97004,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *618 + - *620 - *62 responses: '200': description: Response content: application/json: - schema: *308 + schema: *310 examples: - response-if-user-is-a-team-maintainer: *623 + response-if-user-is-a-team-maintainer: *625 '404': *6 x-github: githubCloudOnly: false @@ -96885,7 +97046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *618 + - *620 - *62 requestBody: required: false @@ -96911,9 +97072,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *310 examples: - response-if-users-membership-with-team-is-now-pending: *624 + response-if-users-membership-with-team-is-now-pending: *626 '403': description: Forbidden if team synchronization is set up '422': @@ -96947,7 +97108,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *618 + - *620 - *62 responses: '204': @@ -96976,7 +97137,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *618 + - *620 - *17 - *19 responses: @@ -96986,9 +97147,9 @@ paths: application/json: schema: type: array - items: *309 + items: *311 examples: - default: *625 + default: *627 headers: Link: *57 '404': *6 @@ -97014,16 +97175,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *618 - - *310 + - *620 + - *312 responses: '200': description: Response content: application/json: - schema: *309 + schema: *311 examples: - default: *626 + default: *628 '404': description: Not Found if project is not managed by this team x-github: @@ -97047,8 +97208,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *618 - - *310 + - *620 + - *312 requestBody: required: false content: @@ -97115,8 +97276,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *618 - - *310 + - *620 + - *312 responses: '204': description: Response @@ -97143,7 +97304,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *618 + - *620 - *17 - *19 responses: @@ -97153,9 +97314,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 '404': *6 @@ -97185,15 +97346,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *618 - - *311 - - *312 + - *620 + - *313 + - *314 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *627 + schema: *629 examples: alternative-response-with-extra-repository-information: value: @@ -97344,9 +97505,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *618 - - *311 - - *312 + - *620 + - *313 + - *314 requestBody: required: false content: @@ -97396,9 +97557,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *618 - - *311 - - *312 + - *620 + - *313 + - *314 responses: '204': description: Response @@ -97423,7 +97584,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *618 + - *620 - *17 - *19 responses: @@ -97433,9 +97594,9 @@ paths: application/json: schema: type: array - items: *157 + items: *159 examples: - response-if-child-teams-exist: *628 + response-if-child-teams-exist: *630 headers: Link: *57 '404': *6 @@ -97468,7 +97629,7 @@ paths: application/json: schema: oneOf: - - &630 + - &632 title: Private User description: Private User type: object @@ -97718,7 +97879,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *629 + - *631 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97878,7 +98039,7 @@ paths: description: Response content: application/json: - schema: *630 + schema: *632 examples: default: value: @@ -98081,9 +98242,9 @@ paths: type: integer codespaces: type: array - items: *201 + items: *203 examples: - default: *202 + default: *204 '304': *35 '500': *98 '401': *23 @@ -98222,17 +98383,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '401': *23 '403': *27 '404': *6 @@ -98276,7 +98437,7 @@ paths: type: integer secrets: type: array - items: &631 + items: &633 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -98318,7 +98479,7 @@ paths: - visibility - selected_repositories_url examples: - default: *434 + default: *436 headers: Link: *57 x-github: @@ -98390,13 +98551,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *135 + - *137 responses: '200': description: Response content: application/json: - schema: *631 + schema: *633 examples: default: value: @@ -98426,7 +98587,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *135 + - *137 requestBody: required: true content: @@ -98471,7 +98632,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -98499,7 +98660,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *135 + - *137 responses: '204': description: Response @@ -98524,7 +98685,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *135 + - *137 responses: '200': description: Response @@ -98540,9 +98701,9 @@ paths: type: integer repositories: type: array - items: *127 + items: *129 examples: - default: *632 + default: *634 '401': *23 '403': *27 '404': *6 @@ -98567,7 +98728,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *135 + - *137 requestBody: required: true content: @@ -98621,7 +98782,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *135 + - *137 - name: repository_id in: path required: true @@ -98654,7 +98815,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *135 + - *137 - name: repository_id in: path required: true @@ -98686,15 +98847,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '304': *35 '500': *98 '401': *23 @@ -98720,7 +98881,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 requestBody: required: false content: @@ -98750,9 +98911,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '401': *23 '403': *27 '404': *6 @@ -98774,7 +98935,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '202': *37 '304': *35 @@ -98803,13 +98964,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '202': description: Response content: application/json: - schema: &633 + schema: &635 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98862,7 +99023,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &634 + default: &636 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98894,7 +99055,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *203 + - *205 - name: export_id in: path required: true @@ -98907,9 +99068,9 @@ paths: description: Response content: application/json: - schema: *633 + schema: *635 examples: - default: *634 + default: *636 '404': *6 x-github: githubCloudOnly: false @@ -98930,7 +99091,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *203 + - *205 responses: '200': description: Response @@ -98946,9 +99107,9 @@ paths: type: integer machines: type: array - items: *433 + items: *435 examples: - default: *635 + default: *637 '304': *35 '500': *98 '401': *23 @@ -98977,7 +99138,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *203 + - *205 requestBody: required: true content: @@ -99033,11 +99194,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *319 + repository: *321 machine: anyOf: - type: 'null' - - *433 + - *435 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99834,15 +99995,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '304': *35 '500': *98 '400': *14 @@ -99874,15 +100035,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *203 + - *205 responses: '200': description: Response content: application/json: - schema: *201 + schema: *203 examples: - default: *432 + default: *434 '500': *98 '401': *23 '403': *27 @@ -99912,9 +100073,9 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: &647 + default: &649 value: - id: 197 name: hello_docker @@ -100015,7 +100176,7 @@ paths: application/json: schema: type: array - items: &636 + items: &638 title: Email description: Email type: object @@ -100085,9 +100246,9 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: - default: &649 + default: &651 value: - email: octocat@github.com verified: true @@ -100164,7 +100325,7 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: default: value: @@ -100422,7 +100583,7 @@ paths: application/json: schema: type: array - items: &637 + items: &639 title: GPG Key description: A unique encryption key type: object @@ -100567,7 +100728,7 @@ paths: - subkeys - revoked examples: - default: &663 + default: &665 value: - id: 3 name: Octocat's GPG Key @@ -100652,9 +100813,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: - default: &638 + default: &640 value: id: 3 name: Octocat's GPG Key @@ -100711,7 +100872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &639 + - &641 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100723,9 +100884,9 @@ paths: description: Response content: application/json: - schema: *637 + schema: *639 examples: - default: *638 + default: *640 '404': *6 '304': *35 '403': *27 @@ -100748,7 +100909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *639 + - *641 responses: '204': description: Response @@ -100939,7 +101100,7 @@ paths: type: array items: *66 examples: - default: *119 + default: *121 headers: Link: *57 '404': *6 @@ -100964,7 +101125,7 @@ paths: url: https://docs.github.com/rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *116 + - *118 responses: '204': description: Response @@ -100990,7 +101151,7 @@ paths: url: https://docs.github.com/rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *116 + - *118 responses: '204': description: Response @@ -101024,12 +101185,12 @@ paths: application/json: schema: anyOf: - - *191 + - *193 - type: object properties: {} additionalProperties: false examples: - default: *192 + default: *194 '204': description: Response when there are no restrictions x-github: @@ -101053,7 +101214,7 @@ paths: required: true content: application/json: - schema: *500 + schema: *502 examples: default: value: @@ -101064,7 +101225,7 @@ paths: description: Response content: application/json: - schema: *191 + schema: *193 examples: default: value: @@ -101145,7 +101306,7 @@ paths: - closed - all default: open - - *199 + - *201 - name: sort description: What to sort results by. in: query @@ -101170,7 +101331,7 @@ paths: type: array items: *81 examples: - default: *200 + default: *202 headers: Link: *57 '404': *6 @@ -101203,7 +101364,7 @@ paths: application/json: schema: type: array - items: &640 + items: &642 title: Key description: Key type: object @@ -101306,9 +101467,9 @@ paths: description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: &641 + default: &643 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101341,15 +101502,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *527 + - *529 responses: '200': description: Response content: application/json: - schema: *640 + schema: *642 examples: - default: *641 + default: *643 '404': *6 '304': *35 '403': *27 @@ -101372,7 +101533,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *527 + - *529 responses: '204': description: Response @@ -101405,7 +101566,7 @@ paths: application/json: schema: type: array - items: &642 + items: &644 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -101484,7 +101645,7 @@ paths: - account - plan examples: - default: &643 + default: &645 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -101546,9 +101707,9 @@ paths: application/json: schema: type: array - items: *642 + items: *644 examples: - default: *643 + default: *645 headers: Link: *57 '304': *35 @@ -101588,7 +101749,7 @@ paths: application/json: schema: type: array - items: *205 + items: *207 examples: default: value: @@ -101696,7 +101857,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *207 examples: default: value: @@ -101779,7 +101940,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *207 examples: default: value: @@ -101847,7 +102008,7 @@ paths: application/json: schema: type: array - items: *207 + items: *209 examples: default: value: @@ -102109,7 +102270,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -102289,7 +102450,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *208 + - *210 - name: exclude in: query required: false @@ -102302,7 +102463,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: default: value: @@ -102496,7 +102657,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *208 + - *210 responses: '302': description: Response @@ -102522,7 +102683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *208 + - *210 responses: '204': description: Response @@ -102551,8 +102712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *208 - - *644 + - *210 + - *646 responses: '204': description: Response @@ -102576,7 +102737,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *208 + - *210 - *17 - *19 responses: @@ -102586,9 +102747,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 '404': *6 @@ -102623,9 +102784,9 @@ paths: application/json: schema: type: array - items: *156 + items: *158 examples: - default: *645 + default: *647 headers: Link: *57 '304': *35 @@ -102667,7 +102828,7 @@ paths: - docker - nuget - container - - *646 + - *648 - *19 - *17 responses: @@ -102677,10 +102838,10 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: *647 - '400': *648 + default: *649 + '400': *650 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102700,16 +102861,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 + - *218 responses: '200': description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: &664 + default: &666 value: id: 40201 name: octo-name @@ -102822,8 +102983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 + - *218 responses: '204': description: Response @@ -102853,8 +103014,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 + - *218 - name: token description: package token schema: @@ -102886,8 +103047,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: - - *215 - - *216 + - *217 + - *218 - *19 - *17 - name: state @@ -102907,7 +103068,7 @@ paths: application/json: schema: type: array - items: *217 + items: *219 examples: default: value: @@ -102956,15 +103117,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 - *218 + - *220 responses: '200': description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -103000,9 +103161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 - *218 + - *220 responses: '204': description: Response @@ -103032,9 +103193,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *215 - - *216 + - *217 - *218 + - *220 responses: '204': description: Response @@ -103092,7 +103253,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *231 examples: default: value: @@ -103164,9 +103325,9 @@ paths: application/json: schema: type: array - items: *636 + items: *638 examples: - default: *649 + default: *651 headers: Link: *57 '304': *35 @@ -103279,7 +103440,7 @@ paths: type: array items: *66 examples: - default: &656 + default: &658 summary: Default response value: - id: 1296269 @@ -103597,9 +103758,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *321 examples: - default: *321 + default: *323 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103637,9 +103798,9 @@ paths: application/json: schema: type: array - items: *502 + items: *504 examples: - default: *650 + default: *652 headers: Link: *57 '304': *35 @@ -103662,7 +103823,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *195 + - *197 responses: '204': description: Response @@ -103685,7 +103846,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *195 + - *197 responses: '204': description: Response @@ -103718,7 +103879,7 @@ paths: application/json: schema: type: array - items: &651 + items: &653 title: Social account description: Social media account type: object @@ -103735,7 +103896,7 @@ paths: - provider - url examples: - default: &652 + default: &654 value: - provider: twitter url: https://twitter.com/github @@ -103798,9 +103959,9 @@ paths: application/json: schema: type: array - items: *651 + items: *653 examples: - default: *652 + default: *654 '422': *15 '304': *35 '404': *6 @@ -103888,7 +104049,7 @@ paths: application/json: schema: type: array - items: &653 + items: &655 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103908,7 +104069,7 @@ paths: - title - created_at examples: - default: &677 + default: &680 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103975,9 +104136,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *655 examples: - default: &654 + default: &656 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -104008,7 +104169,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: - - &655 + - &657 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -104020,9 +104181,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *655 examples: - default: *654 + default: *656 '404': *6 '304': *35 '403': *27 @@ -104045,7 +104206,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: - - *655 + - *657 responses: '204': description: Response @@ -104074,7 +104235,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &678 + - &681 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 @@ -104099,11 +104260,11 @@ paths: type: array items: *66 examples: - default-response: *656 + default-response: *658 application/vnd.github.v3.star+json: schema: type: array - items: &679 + items: &682 title: Starred Repository description: Starred Repository type: object @@ -104259,8 +104420,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: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response if this repository is starred by you @@ -104288,8 +104449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -104313,8 +104474,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *311 - - *312 + - *313 + - *314 responses: '204': description: Response @@ -104347,9 +104508,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 '304': *35 @@ -104386,7 +104547,7 @@ paths: application/json: schema: type: array - items: *296 + items: *298 examples: default: value: @@ -104472,10 +104633,10 @@ paths: application/json: schema: oneOf: - - *630 - - *629 + - *632 + - *631 examples: - default-response: &658 + default-response: &660 summary: Default response value: login: octocat @@ -104510,7 +104671,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &659 + response-with-git-hub-plan-information: &661 summary: Response with GitHub plan information value: login: octocat @@ -104570,7 +104731,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *657 + - *659 - *17 responses: '200': @@ -104619,11 +104780,11 @@ paths: application/json: schema: oneOf: - - *630 - - *629 + - *632 + - *631 examples: - default-response: *658 - response-with-git-hub-plan-information: *659 + default-response: *660 + response-with-git-hub-plan-information: *661 '404': *6 x-github: githubCloudOnly: false @@ -104672,8 +104833,8 @@ paths: required: - subject_digests examples: - default: *660 - withPredicateType: *661 + default: *662 + withPredicateType: *663 responses: '200': description: Response @@ -104727,7 +104888,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *662 + default: *664 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -104931,12 +105092,12 @@ paths: initiator: type: string examples: - default: *375 + default: *377 '201': description: Response content: application/json: - schema: *136 + schema: *138 examples: default: value: @@ -104970,9 +105131,9 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: *647 + default: *649 '403': *27 '401': *23 x-github: @@ -105376,9 +105537,9 @@ paths: application/json: schema: type: array - items: *637 + items: *639 examples: - default: *663 + default: *665 headers: Link: *57 x-github: @@ -105482,7 +105643,7 @@ paths: application/json: schema: *20 examples: - default: *499 + default: *501 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105566,9 +105727,9 @@ paths: application/json: schema: type: array - items: *156 + items: *158 examples: - default: *645 + default: *647 headers: Link: *57 x-github: @@ -105607,7 +105768,7 @@ paths: - docker - nuget - container - - *646 + - *648 - *62 - *19 - *17 @@ -105618,12 +105779,12 @@ paths: application/json: schema: type: array - items: *213 + items: *215 examples: - default: *647 + default: *649 '403': *27 '401': *23 - '400': *648 + '400': *650 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105643,17 +105804,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *215 - - *216 + - *217 + - *218 - *62 responses: '200': description: Response content: application/json: - schema: *213 + schema: *215 examples: - default: *664 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105674,8 +105835,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *215 - - *216 + - *217 + - *218 - *62 responses: '204': @@ -105708,8 +105869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *215 - - *216 + - *217 + - *218 - *62 - name: token description: package token @@ -105742,8 +105903,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: - - *215 - - *216 + - *217 + - *218 - *62 responses: '200': @@ -105752,7 +105913,7 @@ paths: application/json: schema: type: array - items: *217 + items: *219 examples: default: value: @@ -105810,16 +105971,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *215 - - *216 + - *217 - *218 + - *220 - *62 responses: '200': description: Response content: application/json: - schema: *217 + schema: *219 examples: default: value: @@ -105854,10 +106015,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *215 - - *216 - - *62 + - *217 - *218 + - *62 + - *220 responses: '204': description: Response @@ -105889,10 +106050,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *215 - - *216 - - *62 + - *217 - *218 + - *62 + - *220 responses: '204': description: Response @@ -105939,7 +106100,7 @@ paths: application/json: schema: type: array - items: *229 + items: *231 examples: default: value: @@ -106014,9 +106175,9 @@ paths: application/json: schema: type: array - items: *230 + items: *232 examples: - default: *231 + default: *233 headers: Link: *57 '304': *35 @@ -106038,16 +106199,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-project-for-user parameters: - - *232 + - *234 - *62 responses: '200': description: Response content: application/json: - schema: *230 + schema: *232 examples: - default: *231 + default: *233 headers: Link: *57 '304': *35 @@ -106069,7 +106230,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#list-project-fields-for-user parameters: - - *232 + - *234 - *62 - *17 - *38 @@ -106081,9 +106242,9 @@ paths: application/json: schema: type: array - items: *233 + items: *235 examples: - default: *234 + default: *236 headers: Link: *57 '304': *35 @@ -106105,17 +106266,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/fields#get-project-field-for-user parameters: - - *232 - - *665 + - *234 + - *667 - *62 responses: '200': description: Response content: application/json: - schema: *233 + schema: *235 examples: - default: *234 + default: *236 headers: Link: *57 '304': *35 @@ -106138,7 +106299,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#list-items-for-a-user-owned-project parameters: - - *232 + - *234 - *62 - *38 - *39 @@ -106169,9 +106330,9 @@ paths: application/json: schema: type: array - items: *239 + items: *241 examples: - default: *240 + default: *242 headers: Link: *57 '304': *35 @@ -106193,7 +106354,7 @@ paths: url: https://docs.github.com/rest/projects/items#add-item-to-user-owned-project parameters: - *62 - - *232 + - *234 requestBody: required: true description: Details of the item to add to the project. @@ -106230,10 +106391,10 @@ paths: description: Response content: application/json: - schema: *666 + schema: *668 examples: - issue: *238 - pull_request: *238 + issue: *240 + pull_request: *240 '304': *35 '403': *27 '401': *23 @@ -106253,9 +106414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *232 + - *234 - *62 - - *241 + - *243 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -106273,9 +106434,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - default: *240 + default: *242 headers: Link: *57 '304': *35 @@ -106296,9 +106457,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#update-project-item-for-user parameters: - - *232 + - *234 - *62 - - *241 + - *243 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -106371,13 +106532,13 @@ paths: description: Response content: application/json: - schema: *239 + schema: *241 examples: - text_field: *240 - number_field: *240 - date_field: *240 - single_select_field: *240 - iteration_field: *240 + text_field: *242 + number_field: *242 + date_field: *242 + single_select_field: *242 + iteration_field: *242 '401': *23 '403': *27 '404': *6 @@ -106397,9 +106558,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/items#delete-project-item-for-user parameters: - - *232 + - *234 - *62 - - *241 + - *243 responses: '204': description: Response @@ -106645,9 +106806,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -106677,9 +106838,9 @@ paths: description: Response content: application/json: - schema: *667 + schema: *669 examples: - default: *668 + default: *670 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106707,14 +106868,144 @@ paths: description: Response content: application/json: - schema: *669 + schema: *671 examples: - default: *670 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - *62 + - *99 + - *673 + - *100 + - *674 + - *675 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *98 + '503': *69 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -106737,9 +107028,9 @@ paths: description: Response content: application/json: - schema: *671 + schema: *676 examples: - default: *672 + default: *677 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106760,10 +107051,10 @@ paths: url: https://docs.github.com/rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - *62 - - *673 - - *674 - - *675 - - *676 + - *99 + - *678 + - *100 + - *679 responses: '200': description: Response when getting a billing usage report @@ -106862,9 +107153,9 @@ paths: application/json: schema: type: array - items: *651 + items: *653 examples: - default: *652 + default: *654 headers: Link: *57 x-github: @@ -106894,9 +107185,9 @@ paths: application/json: schema: type: array - items: *653 + items: *655 examples: - default: *677 + default: *680 headers: Link: *57 x-github: @@ -106921,7 +107212,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *62 - - *678 + - *681 - *46 - *17 - *19 @@ -106933,11 +107224,11 @@ paths: schema: anyOf: - type: array - items: *679 + items: *682 - type: array items: *66 examples: - default-response: *656 + default-response: *658 headers: Link: *57 x-github: @@ -106966,9 +107257,9 @@ paths: application/json: schema: type: array - items: *127 + items: *129 examples: - default: *219 + default: *221 headers: Link: *57 x-github: @@ -107097,7 +107388,7 @@ webhooks: type: string enum: - disabled - enterprise: &680 + enterprise: &683 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -107166,7 +107457,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &681 + installation: &684 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -107187,7 +107478,7 @@ webhooks: required: - id - node_id - organization: &682 + organization: &685 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -107260,7 +107551,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &683 + repository: &686 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -108173,10 +108464,10 @@ webhooks: type: string enum: - enabled - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -108252,11 +108543,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - rule: &684 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + rule: &687 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) @@ -108479,11 +108770,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - rule: *684 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + rule: *687 sender: *4 required: - action @@ -108671,11 +108962,11 @@ webhooks: - everyone required: - from - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - rule: *684 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + rule: *687 sender: *4 required: - action @@ -108759,7 +109050,7 @@ webhooks: type: string enum: - completed - check_run: &686 + check_run: &689 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108824,8 +109115,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *392 - repository: *127 + items: *394 + repository: *129 status: type: string enum: @@ -108869,7 +109160,7 @@ webhooks: - examples: - neutral - deployment: *685 + deployment: *688 details_url: type: string examples: @@ -108929,7 +109220,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *392 + items: *394 started_at: type: string format: date-time @@ -108967,10 +109258,10 @@ webhooks: - output - app - pull_requests - installation: *681 - enterprise: *680 - organization: *682 - repository: *683 + installation: *684 + enterprise: *683 + organization: *685 + repository: *686 sender: *4 required: - check_run @@ -109363,11 +109654,11 @@ webhooks: type: string enum: - created - check_run: *686 - installation: *681 - enterprise: *680 - organization: *682 - repository: *683 + check_run: *689 + installation: *684 + enterprise: *683 + organization: *685 + repository: *686 sender: *4 required: - check_run @@ -109763,11 +110054,11 @@ webhooks: type: string enum: - requested_action - check_run: *686 - installation: *681 - enterprise: *680 - organization: *682 - repository: *683 + check_run: *689 + installation: *684 + enterprise: *683 + organization: *685 + repository: *686 requested_action: description: The action requested by the user. type: object @@ -110172,11 +110463,11 @@ webhooks: type: string enum: - rerequested - check_run: *686 - installation: *681 - enterprise: *680 - organization: *682 - repository: *683 + check_run: *689 + installation: *684 + enterprise: *683 + organization: *685 + repository: *686 sender: *4 required: - check_run @@ -111168,10 +111459,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -111856,10 +112147,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -112538,10 +112829,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -112710,7 +113001,7 @@ webhooks: required: - login - id - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -112862,20 +113153,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &687 + commit_oid: &690 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: *680 - installation: *681 - organization: *682 - ref: &688 + enterprise: *683 + installation: *684 + organization: *685 + ref: &691 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: *683 + repository: *686 sender: *4 required: - action @@ -113042,7 +113333,7 @@ webhooks: required: - login - id - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113283,12 +113574,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *687 - enterprise: *680 - installation: *681 - organization: *682 - ref: *688 - repository: *683 + commit_oid: *690 + enterprise: *683 + installation: *684 + organization: *685 + ref: *691 + repository: *686 sender: *4 required: - action @@ -113386,7 +113677,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113571,12 +113862,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *687 - enterprise: *680 - installation: *681 - organization: *682 - ref: *688 - repository: *683 + commit_oid: *690 + enterprise: *683 + installation: *684 + organization: *685 + ref: *691 + repository: *686 sender: *4 required: - action @@ -113745,7 +114036,7 @@ webhooks: required: - login - id - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -113922,12 +114213,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *687 - enterprise: *680 - installation: *681 - organization: *682 - ref: *688 - repository: *683 + commit_oid: *690 + enterprise: *683 + installation: *684 + organization: *685 + ref: *691 + repository: *686 sender: *4 required: - action @@ -114030,7 +114321,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114210,9 +114501,9 @@ webhooks: type: - string - 'null' - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -114220,7 +114511,7 @@ webhooks: type: - string - 'null' - repository: *683 + repository: *686 sender: *4 required: - action @@ -114319,7 +114610,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *407 + dismissed_comment: *409 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -114466,12 +114757,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *687 - enterprise: *680 - installation: *681 - organization: *682 - ref: *688 - repository: *683 + commit_oid: *690 + enterprise: *683 + installation: *684 + organization: *685 + ref: *691 + repository: *686 sender: *4 required: - action @@ -114733,10 +115024,10 @@ webhooks: - updated_at - author_association - body - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -114817,18 +115108,18 @@ webhooks: type: - string - 'null' - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *682 - pusher_type: &689 + organization: *685 + pusher_type: &692 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &690 + ref: &693 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -114838,7 +115129,7 @@ webhooks: enum: - tag - branch - repository: *683 + repository: *686 sender: *4 required: - ref @@ -114920,10 +115211,10 @@ webhooks: type: string enum: - created - definition: *242 - enterprise: *680 - installation: *681 - organization: *682 + definition: *244 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -115008,9 +115299,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -115087,10 +115378,10 @@ webhooks: type: string enum: - promote_to_enterprise - definition: *242 - enterprise: *680 - installation: *681 - organization: *682 + definition: *244 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -115167,10 +115458,10 @@ webhooks: type: string enum: - updated - definition: *242 - enterprise: *680 - installation: *681 - organization: *682 + definition: *244 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -115247,19 +115538,19 @@ webhooks: type: string enum: - updated - enterprise: *680 - installation: *681 - repository: *683 - organization: *682 + enterprise: *683 + installation: *684 + repository: *686 + organization: *685 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *246 + items: *248 old_property_values: type: array description: The old custom property values for the repository. - items: *246 + items: *248 required: - action - repository @@ -115335,18 +115626,18 @@ webhooks: title: delete event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 - pusher_type: *689 - ref: *690 + enterprise: *683 + installation: *684 + organization: *685 + pusher_type: *692 + ref: *693 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *683 + repository: *686 sender: *4 required: - ref @@ -115430,11 +115721,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115518,11 +115809,11 @@ webhooks: type: string enum: - auto_reopened - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115606,11 +115897,11 @@ webhooks: type: string enum: - created - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115692,11 +115983,11 @@ webhooks: type: string enum: - dismissed - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115778,11 +116069,11 @@ webhooks: type: string enum: - fixed - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115865,11 +116156,11 @@ webhooks: type: string enum: - reintroduced - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -115951,11 +116242,11 @@ webhooks: type: string enum: - reopened - alert: *458 - installation: *681 - organization: *682 - enterprise: *680 - repository: *683 + alert: *460 + installation: *684 + organization: *685 + enterprise: *683 + repository: *686 sender: *4 required: - action @@ -116032,9 +116323,9 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - key: &691 + enterprise: *683 + installation: *684 + key: &694 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -116072,8 +116363,8 @@ webhooks: - verified - created_at - read_only - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -116150,11 +116441,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - key: *691 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + key: *694 + organization: *685 + repository: *686 sender: *4 required: - action @@ -116726,12 +117017,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: &695 + workflow: &698 title: Workflow type: - object @@ -117469,13 +117760,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *464 + deployment: *466 pull_requests: type: array - items: *545 - repository: *683 - organization: *682 - installation: *681 + items: *547 + repository: *686 + organization: *685 + installation: *684 sender: *4 responses: '200': @@ -117546,7 +117837,7 @@ webhooks: type: string enum: - approved - approver: &692 + approver: &695 type: object properties: avatar_url: @@ -117589,11 +117880,11 @@ webhooks: type: string comment: type: string - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - reviewers: &693 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + reviewers: &696 type: array items: type: object @@ -117674,7 +117965,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &694 + workflow_job_run: &697 type: object properties: conclusion: @@ -118420,18 +118711,18 @@ webhooks: type: string enum: - rejected - approver: *692 + approver: *695 comment: type: string - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - reviewers: *693 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + reviewers: *696 sender: *4 since: type: string - workflow_job_run: *694 + workflow_job_run: *697 workflow_job_runs: type: array items: @@ -119148,13 +119439,13 @@ webhooks: type: string enum: - requested - enterprise: *680 + enterprise: *683 environment: type: string - installation: *681 - organization: *682 - repository: *683 - requestor: &700 + installation: *684 + organization: *685 + repository: *686 + requestor: &703 title: User type: - object @@ -121097,12 +121388,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: *695 + workflow: *698 workflow_run: title: Deployment Workflow Run type: @@ -121793,7 +122084,7 @@ webhooks: type: string enum: - answered - answer: &698 + answer: &701 type: object properties: author_association: @@ -121953,7 +122244,7 @@ webhooks: - created_at - updated_at - body - discussion: &696 + discussion: &699 title: Discussion description: A Discussion in a repository. type: object @@ -122249,7 +122540,7 @@ webhooks: - id labels: type: array - items: *510 + items: *512 required: - repository_url - category @@ -122271,10 +122562,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122401,11 +122692,11 @@ webhooks: - from required: - category - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122488,11 +122779,11 @@ webhooks: type: string enum: - closed - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122574,7 +122865,7 @@ webhooks: type: string enum: - created - comment: &697 + comment: &700 type: object properties: author_association: @@ -122734,11 +123025,11 @@ webhooks: - updated_at - body - reactions - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122821,12 +123112,12 @@ webhooks: type: string enum: - deleted - comment: *697 - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + comment: *700 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -122921,12 +123212,12 @@ webhooks: - from required: - body - comment: *697 - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + comment: *700 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123010,11 +123301,11 @@ webhooks: type: string enum: - created - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123096,11 +123387,11 @@ webhooks: type: string enum: - deleted - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123200,11 +123491,11 @@ webhooks: type: string required: - from - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123286,10 +123577,10 @@ webhooks: type: string enum: - labeled - discussion: *696 - enterprise: *680 - installation: *681 - label: &699 + discussion: *699 + enterprise: *683 + installation: *684 + label: &702 title: Label type: object properties: @@ -123322,8 +123613,8 @@ webhooks: - color - default - description - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123406,11 +123697,11 @@ webhooks: type: string enum: - locked - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123492,11 +123783,11 @@ webhooks: type: string enum: - pinned - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123578,11 +123869,11 @@ webhooks: type: string enum: - reopened - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123667,16 +123958,16 @@ webhooks: changes: type: object properties: - new_discussion: *696 - new_repository: *683 + new_discussion: *699 + new_repository: *686 required: - new_discussion - new_repository - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123759,10 +124050,10 @@ webhooks: type: string enum: - unanswered - discussion: *696 - old_answer: *698 - organization: *682 - repository: *683 + discussion: *699 + old_answer: *701 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123844,12 +124135,12 @@ webhooks: type: string enum: - unlabeled - discussion: *696 - enterprise: *680 - installation: *681 - label: *699 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -123932,11 +124223,11 @@ webhooks: type: string enum: - unlocked - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -124018,11 +124309,11 @@ webhooks: type: string enum: - unpinned - discussion: *696 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + discussion: *699 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -124095,7 +124386,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *680 + enterprise: *683 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -124773,9 +125064,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - forkee @@ -124921,9 +125212,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pages: description: The pages that were updated. type: array @@ -124961,7 +125252,7 @@ webhooks: - action - sha - html_url - repository: *683 + repository: *686 sender: *4 required: - pages @@ -125037,10 +125328,10 @@ webhooks: type: string enum: - created - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: &701 + organization: *685 + repositories: &704 description: An array of repository objects that the installation can access. type: array @@ -125066,8 +125357,8 @@ webhooks: - name - full_name - private - repository: *683 - requester: *700 + repository: *686 + requester: *703 sender: *4 required: - action @@ -125142,11 +125433,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: *701 - repository: *683 + organization: *685 + repositories: *704 + repository: *686 requester: type: - 'null' @@ -125223,11 +125514,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: *701 - repository: *683 + organization: *685 + repositories: *704 + repository: *686 requester: type: - 'null' @@ -125304,10 +125595,10 @@ webhooks: type: string enum: - added - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories_added: &702 + organization: *685 + repositories_added: &705 description: An array of repository objects, which were added to the installation. type: array @@ -125353,15 +125644,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *683 - repository_selection: &703 + repository: *686 + repository_selection: &706 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *700 + requester: *703 sender: *4 required: - action @@ -125440,10 +125731,10 @@ webhooks: type: string enum: - removed - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories_added: *702 + organization: *685 + repositories_added: *705 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -125470,9 +125761,9 @@ webhooks: - name - full_name - private - repository: *683 - repository_selection: *703 - requester: *700 + repository: *686 + repository_selection: *706 + requester: *703 sender: *4 required: - action @@ -125551,11 +125842,11 @@ webhooks: type: string enum: - suspend - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: *701 - repository: *683 + organization: *685 + repositories: *704 + repository: *686 requester: type: - 'null' @@ -125737,10 +126028,10 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 target_type: type: string @@ -125819,11 +126110,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *680 + enterprise: *683 installation: *20 - organization: *682 - repositories: *701 - repository: *683 + organization: *685 + repositories: *704 + repository: *686 requester: type: - 'null' @@ -126071,8 +126362,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -126889,8 +127180,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 state: description: State of the issue; either 'open' or 'closed' type: string @@ -126907,7 +127198,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -127251,8 +127542,8 @@ webhooks: - state - locked - assignee - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -127332,7 +127623,7 @@ webhooks: type: string enum: - deleted - comment: &704 + comment: &707 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -127499,8 +127790,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -128313,8 +128604,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 state: description: State of the issue; either 'open' or 'closed' type: string @@ -128331,7 +128622,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -128677,8 +128968,8 @@ webhooks: - state - locked - assignee - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -128758,7 +129049,7 @@ webhooks: type: string enum: - edited - changes: &728 + changes: &731 description: The changes to the comment. type: object properties: @@ -128770,9 +129061,9 @@ webhooks: type: string required: - from - comment: *704 - enterprise: *680 - installation: *681 + comment: *707 + enterprise: *683 + installation: *684 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -129588,8 +129879,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 state: description: State of the issue; either 'open' or 'closed' type: string @@ -129606,7 +129897,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -129950,8 +130241,8 @@ webhooks: - state - locked - assignee - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130041,9 +130332,9 @@ webhooks: type: number blocking_issue: *81 blocking_issue_repo: *66 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130137,9 +130428,9 @@ webhooks: type: number blocking_issue: *81 blocking_issue_repo: *66 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130232,9 +130523,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130328,9 +130619,9 @@ webhooks: description: The ID of the blocking issue. type: number blocking_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -130415,10 +130706,10 @@ webhooks: type: string enum: - assigned - assignee: *700 - enterprise: *680 - installation: *681 - issue: &707 + assignee: *703 + enterprise: *683 + installation: *684 + issue: &710 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -131230,11 +131521,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -131251,7 +131542,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -131354,8 +131645,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -131435,8 +131726,8 @@ webhooks: type: string enum: - closed - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -132253,11 +132544,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -132274,7 +132565,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -132520,8 +132811,8 @@ webhooks: required: - state - closed_at - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -132600,8 +132891,8 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133409,11 +133700,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -133430,7 +133721,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -133532,8 +133823,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -133612,8 +133903,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134444,11 +134735,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -134465,7 +134756,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -134546,7 +134837,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &705 + milestone: &708 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134689,8 +134980,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -134789,8 +135080,8 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -135602,11 +135893,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -135620,7 +135911,7 @@ webhooks: timeline_url: type: string format: uri - type: *196 + type: *198 title: description: Title of the issue type: string @@ -135726,9 +136017,9 @@ webhooks: - active_lock_reason - body - reactions - label: *699 - organization: *682 - repository: *683 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -135808,8 +136099,8 @@ webhooks: type: string enum: - labeled - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136620,11 +136911,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -136638,7 +136929,7 @@ webhooks: timeline_url: type: string format: uri - type: *196 + type: *198 title: description: Title of the issue type: string @@ -136744,9 +137035,9 @@ webhooks: - active_lock_reason - body - reactions - label: *699 - organization: *682 - repository: *683 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -136826,8 +137117,8 @@ webhooks: type: string enum: - locked - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -137663,11 +137954,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -137681,7 +137972,7 @@ webhooks: timeline_url: type: string format: uri - type: *196 + type: *198 title: description: Title of the issue type: string @@ -137764,8 +138055,8 @@ webhooks: format: uri user_view_type: type: string - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -137844,8 +138135,8 @@ webhooks: type: string enum: - milestoned - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -138675,11 +138966,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -138696,7 +138987,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -138776,9 +139067,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *705 - organization: *682 - repository: *683 + milestone: *708 + organization: *685 + repository: *686 sender: *4 required: - action @@ -139670,11 +139961,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -139770,7 +140061,7 @@ webhooks: required: - login - id - type: *196 + type: *198 required: - id - number @@ -140251,8 +140542,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -141064,11 +141355,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -141085,7 +141376,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -141187,8 +141478,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -141268,9 +141559,9 @@ webhooks: type: string enum: - pinned - enterprise: *680 - installation: *681 - issue: &706 + enterprise: *683 + installation: *684 + issue: &709 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -142076,11 +142367,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142097,7 +142388,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -142199,8 +142490,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -142279,8 +142570,8 @@ webhooks: type: string enum: - reopened - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -143114,11 +143405,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143215,9 +143506,9 @@ webhooks: format: uri user_view_type: type: string - type: *196 - organization: *682 - repository: *683 + type: *198 + organization: *685 + repository: *686 sender: *4 required: - action @@ -144106,11 +144397,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144127,7 +144418,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -144709,11 +145000,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *680 - installation: *681 - issue: *706 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *709 + organization: *685 + repository: *686 sender: *4 required: - action @@ -144793,12 +145084,12 @@ webhooks: type: string enum: - typed - enterprise: *680 - installation: *681 - issue: *707 - type: *196 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *710 + type: *198 + organization: *685 + repository: *686 sender: *4 required: - action @@ -144879,7 +145170,7 @@ webhooks: type: string enum: - unassigned - assignee: &731 + assignee: &734 title: User type: - object @@ -144951,11 +145242,11 @@ webhooks: required: - login - id - enterprise: *680 - installation: *681 - issue: *707 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *710 + organization: *685 + repository: *686 sender: *4 required: - action @@ -145034,12 +145325,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *680 - installation: *681 - issue: *707 - label: *699 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *710 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -145119,8 +145410,8 @@ webhooks: type: string enum: - unlocked - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -145954,11 +146245,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *615 - issue_dependencies_summary: *616 + sub_issues_summary: *617 + issue_dependencies_summary: *618 issue_field_values: type: array - items: *617 + items: *619 state: description: State of the issue; either 'open' or 'closed' type: string @@ -145975,7 +146266,7 @@ webhooks: title: description: Title of the issue type: string - type: *196 + type: *198 updated_at: type: string format: date-time @@ -146055,8 +146346,8 @@ webhooks: format: uri user_view_type: type: string - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146136,11 +146427,11 @@ webhooks: type: string enum: - unpinned - enterprise: *680 - installation: *681 - issue: *706 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *709 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146219,12 +146510,12 @@ webhooks: type: string enum: - untyped - enterprise: *680 - installation: *681 - issue: *707 - type: *196 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + issue: *710 + type: *198 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146304,11 +146595,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - label: *699 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146386,11 +146677,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - label: *699 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146500,11 +146791,11 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - label: *699 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + label: *702 + organization: *685 + repository: *686 sender: *4 required: - action @@ -146586,9 +146877,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *680 - installation: *681 - marketplace_purchase: &708 + enterprise: *683 + installation: *684 + marketplace_purchase: &711 title: Marketplace Purchase type: object required: @@ -146676,8 +146967,8 @@ webhooks: type: integer unit_count: type: integer - organization: *682 - previous_marketplace_purchase: &709 + organization: *685 + previous_marketplace_purchase: &712 title: Marketplace Purchase type: object properties: @@ -146761,7 +147052,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *683 + repository: *686 sender: *4 required: - action @@ -146841,10 +147132,10 @@ webhooks: - changed effective_date: type: string - enterprise: *680 - installation: *681 - marketplace_purchase: *708 - organization: *682 + enterprise: *683 + installation: *684 + marketplace_purchase: *711 + organization: *685 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146932,7 +147223,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *683 + repository: *686 sender: *4 required: - action @@ -147014,10 +147305,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *680 - installation: *681 - marketplace_purchase: *708 - organization: *682 + enterprise: *683 + installation: *684 + marketplace_purchase: *711 + organization: *685 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -147103,7 +147394,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *683 + repository: *686 sender: *4 required: - action @@ -147184,8 +147475,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 marketplace_purchase: title: Marketplace Purchase type: object @@ -147271,9 +147562,9 @@ webhooks: type: integer unit_count: type: integer - organization: *682 - previous_marketplace_purchase: *709 - repository: *683 + organization: *685 + previous_marketplace_purchase: *712 + repository: *686 sender: *4 required: - action @@ -147353,12 +147644,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *680 - installation: *681 - marketplace_purchase: *708 - organization: *682 - previous_marketplace_purchase: *709 - repository: *683 + enterprise: *683 + installation: *684 + marketplace_purchase: *711 + organization: *685 + previous_marketplace_purchase: *712 + repository: *686 sender: *4 required: - action @@ -147460,11 +147751,11 @@ webhooks: type: string required: - to - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 sender: *4 required: - action @@ -147566,11 +147857,11 @@ webhooks: type: - string - 'null' - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 sender: *4 required: - action @@ -147649,11 +147940,11 @@ webhooks: type: string enum: - removed - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 sender: *4 required: - action @@ -147731,11 +148022,11 @@ webhooks: type: string enum: - added - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147813,7 +148104,7 @@ webhooks: required: - login - id - team: &710 + team: &713 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -148043,11 +148334,11 @@ webhooks: type: string enum: - removed - enterprise: *680 - installation: *681 - member: *700 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + member: *703 + organization: *685 + repository: *686 scope: description: The scope of the membership. Currently, can only be `team`. @@ -148126,7 +148417,7 @@ webhooks: required: - login - id - team: *710 + team: *713 required: - action - scope @@ -148208,8 +148499,8 @@ webhooks: type: string enum: - checks_requested - installation: *681 - merge_group: &711 + installation: *684 + merge_group: &714 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -148228,15 +148519,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *396 + head_commit: *398 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -148322,10 +148613,10 @@ webhooks: - merged - invalidated - dequeued - installation: *681 - merge_group: *711 - organization: *682 - repository: *683 + installation: *684 + merge_group: *714 + organization: *685 + repository: *686 sender: *4 required: - action @@ -148398,7 +148689,7 @@ webhooks: type: string enum: - deleted - enterprise: *680 + enterprise: *683 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -148507,12 +148798,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *681 - organization: *682 + installation: *684 + organization: *685 repository: anyOf: - type: 'null' - - *683 + - *686 sender: *4 required: - action @@ -148592,11 +148883,11 @@ webhooks: type: string enum: - closed - enterprise: *680 - installation: *681 - milestone: *705 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + milestone: *708 + organization: *685 + repository: *686 sender: *4 required: - action @@ -148675,9 +148966,9 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - milestone: &712 + enterprise: *683 + installation: *684 + milestone: &715 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148819,8 +149110,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -148899,11 +149190,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - milestone: *705 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + milestone: *708 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149013,11 +149304,11 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - milestone: *705 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + milestone: *708 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149097,11 +149388,11 @@ webhooks: type: string enum: - opened - enterprise: *680 - installation: *681 - milestone: *712 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + milestone: *715 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149180,11 +149471,11 @@ webhooks: type: string enum: - blocked - blocked_user: *700 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + blocked_user: *703 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149263,11 +149554,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *700 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + blocked_user: *703 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149346,9 +149637,9 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - membership: &713 + enterprise: *683 + installation: *684 + membership: &716 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -149458,8 +149749,8 @@ webhooks: - role - organization_url - user - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149537,11 +149828,11 @@ webhooks: type: string enum: - member_added - enterprise: *680 - installation: *681 - membership: *713 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + membership: *716 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149620,8 +149911,8 @@ webhooks: type: string enum: - member_invited - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -149743,10 +150034,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 - user: *700 + user: *703 required: - action - invitation @@ -149824,11 +150115,11 @@ webhooks: type: string enum: - member_removed - enterprise: *680 - installation: *681 - membership: *713 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + membership: *716 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149915,11 +150206,11 @@ webhooks: properties: from: type: string - enterprise: *680 - installation: *681 - membership: *713 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + membership: *716 + organization: *685 + repository: *686 sender: *4 required: - action @@ -149995,9 +150286,9 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 package: description: Information about the package. type: object @@ -150520,7 +150811,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &714 + items: &717 title: Ruby Gems metadata type: object properties: @@ -150617,7 +150908,7 @@ webhooks: - owner - package_version - registry - repository: *683 + repository: *686 sender: *4 required: - action @@ -150693,9 +150984,9 @@ webhooks: type: string enum: - updated - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 package: description: Information about the package. type: object @@ -151057,7 +151348,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *714 + items: *717 source_url: type: string format: uri @@ -151128,7 +151419,7 @@ webhooks: - owner - package_version - registry - repository: *683 + repository: *686 sender: *4 required: - action @@ -151309,12 +151600,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *680 + enterprise: *683 id: type: integer - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - id @@ -151391,7 +151682,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &715 + personal_access_token_request: &718 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -151541,10 +151832,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *680 - organization: *682 + enterprise: *683 + organization: *685 sender: *4 - installation: *681 + installation: *684 required: - action - personal_access_token_request @@ -151621,11 +151912,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *715 - enterprise: *680 - organization: *682 + personal_access_token_request: *718 + enterprise: *683 + organization: *685 sender: *4 - installation: *681 + installation: *684 required: - action - personal_access_token_request @@ -151701,11 +151992,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *715 - enterprise: *680 - organization: *682 + personal_access_token_request: *718 + enterprise: *683 + organization: *685 sender: *4 - installation: *681 + installation: *684 required: - action - personal_access_token_request @@ -151780,11 +152071,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *715 - organization: *682 - enterprise: *680 + personal_access_token_request: *718 + organization: *685 + enterprise: *683 sender: *4 - installation: *681 + installation: *684 required: - action - personal_access_token_request @@ -151889,7 +152180,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *716 + last_response: *719 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -151921,8 +152212,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 zen: description: Random string of GitHub zen. @@ -152167,10 +152458,10 @@ webhooks: - from required: - note - enterprise: *680 - installation: *681 - organization: *682 - project_card: &717 + enterprise: *683 + installation: *684 + organization: *685 + project_card: &720 title: Project Card type: object properties: @@ -152293,7 +152584,7 @@ webhooks: - creator - created_at - updated_at - repository: *683 + repository: *686 sender: *4 required: - action @@ -152374,11 +152665,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - project_card: *717 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project_card: *720 + repository: *686 sender: *4 required: - action @@ -152458,9 +152749,9 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 project_card: title: Project Card type: object @@ -152590,7 +152881,7 @@ webhooks: repository: anyOf: - type: 'null' - - *683 + - *686 sender: *4 required: - action @@ -152684,11 +152975,11 @@ webhooks: - from required: - note - enterprise: *680 - installation: *681 - organization: *682 - project_card: *717 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project_card: *720 + repository: *686 sender: *4 required: - action @@ -152782,9 +153073,9 @@ webhooks: - from required: - column_id - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 project_card: allOf: - title: Project Card @@ -152981,7 +153272,7 @@ webhooks: type: string required: - after_id - repository: *683 + repository: *686 sender: *4 required: - action @@ -153061,10 +153352,10 @@ webhooks: type: string enum: - closed - enterprise: *680 - installation: *681 - organization: *682 - project: &719 + enterprise: *683 + installation: *684 + organization: *685 + project: &722 title: Project type: object properties: @@ -153191,7 +153482,7 @@ webhooks: - creator - created_at - updated_at - repository: *683 + repository: *686 sender: *4 required: - action @@ -153271,10 +153562,10 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - project_column: &718 + enterprise: *683 + installation: *684 + organization: *685 + project_column: &721 title: Project Column type: object properties: @@ -153314,7 +153605,7 @@ webhooks: - name - created_at - updated_at - repository: *683 + repository: *686 sender: *4 required: - action @@ -153393,14 +153684,14 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - project_column: *718 + enterprise: *683 + installation: *684 + organization: *685 + project_column: *721 repository: anyOf: - type: 'null' - - *683 + - *686 sender: *4 required: - action @@ -153489,11 +153780,11 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 - project_column: *718 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project_column: *721 + repository: *686 sender: *4 required: - action @@ -153573,11 +153864,11 @@ webhooks: type: string enum: - moved - enterprise: *680 - installation: *681 - organization: *682 - project_column: *718 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project_column: *721 + repository: *686 sender: *4 required: - action @@ -153657,11 +153948,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - project: *719 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project: *722 + repository: *686 sender: *4 required: - action @@ -153741,14 +154032,14 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - project: *719 + enterprise: *683 + installation: *684 + organization: *685 + project: *722 repository: anyOf: - type: 'null' - - *683 + - *686 sender: *4 required: - action @@ -153849,11 +154140,11 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 - project: *719 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project: *722 + repository: *686 sender: *4 required: - action @@ -153932,11 +154223,11 @@ webhooks: type: string enum: - reopened - enterprise: *680 - installation: *681 - organization: *682 - project: *719 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + project: *722 + repository: *686 sender: *4 required: - action @@ -154017,9 +154308,9 @@ webhooks: type: string enum: - closed - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -154100,9 +154391,9 @@ webhooks: type: string enum: - created - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -154183,9 +154474,9 @@ webhooks: type: string enum: - deleted - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -154306,9 +154597,9 @@ webhooks: type: string to: type: string - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -154391,7 +154682,7 @@ webhooks: type: string enum: - archived - changes: &723 + changes: &726 type: object properties: archived_at: @@ -154407,9 +154698,9 @@ webhooks: - string - 'null' format: date-time - installation: *681 - organization: *682 - projects_v2_item: &720 + installation: *684 + organization: *685 + projects_v2_item: &723 title: Projects v2 Item description: An item belonging to a project type: object @@ -154427,7 +154718,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *237 + content_type: *239 creator: *4 created_at: type: string @@ -154549,9 +154840,9 @@ webhooks: - 'null' to: type: string - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -154633,9 +154924,9 @@ webhooks: type: string enum: - created - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -154716,9 +155007,9 @@ webhooks: type: string enum: - deleted - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -154823,7 +155114,7 @@ webhooks: oneOf: - type: string - type: integer - - &721 + - &724 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -154847,7 +155138,7 @@ webhooks: required: - id - name - - &722 + - &725 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -154887,8 +155178,8 @@ webhooks: oneOf: - type: string - type: integer - - *721 - - *722 + - *724 + - *725 type: - 'null' - string @@ -154911,9 +155202,9 @@ webhooks: - 'null' required: - body - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -155010,9 +155301,9 @@ webhooks: type: - string - 'null' - installation: *681 - organization: *682 - projects_v2_item: *720 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -155095,10 +155386,10 @@ webhooks: type: string enum: - restored - changes: *723 - installation: *681 - organization: *682 - projects_v2_item: *720 + changes: *726 + installation: *684 + organization: *685 + projects_v2_item: *723 sender: *4 required: - action @@ -155180,9 +155471,9 @@ webhooks: type: string enum: - reopened - installation: *681 - organization: *682 - projects_v2: *230 + installation: *684 + organization: *685 + projects_v2: *232 sender: *4 required: - action @@ -155263,9 +155554,9 @@ webhooks: type: string enum: - created - installation: *681 - organization: *682 - projects_v2_status_update: *724 + installation: *684 + organization: *685 + projects_v2_status_update: *727 sender: *4 required: - action @@ -155346,9 +155637,9 @@ webhooks: type: string enum: - deleted - installation: *681 - organization: *682 - projects_v2_status_update: *724 + installation: *684 + organization: *685 + projects_v2_status_update: *727 sender: *4 required: - action @@ -155494,9 +155785,9 @@ webhooks: - string - 'null' format: date - installation: *681 - organization: *682 - projects_v2_status_update: *724 + installation: *684 + organization: *685 + projects_v2_status_update: *727 sender: *4 required: - action @@ -155567,10 +155858,10 @@ webhooks: title: public event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - repository @@ -155647,13 +155938,13 @@ webhooks: type: string enum: - assigned - assignee: *700 - enterprise: *680 - installation: *681 - number: &725 + assignee: *703 + enterprise: *683 + installation: *684 + number: &728 description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -158002,7 +158293,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -158084,11 +158375,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -160430,7 +160721,7 @@ webhooks: - draft reason: type: string - repository: *683 + repository: *686 sender: *4 required: - action @@ -160512,11 +160803,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -162858,7 +163149,7 @@ webhooks: - draft reason: type: string - repository: *683 + repository: *686 sender: *4 required: - action @@ -162940,13 +163231,13 @@ webhooks: type: string enum: - closed - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: &726 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: &729 allOf: - - *545 + - *547 - type: object properties: allow_auto_merge: @@ -163008,7 +163299,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *683 + repository: *686 sender: *4 required: - action @@ -163089,12 +163380,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -163174,11 +163465,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *680 - milestone: *235 - number: *725 - organization: *682 - pull_request: &727 + enterprise: *683 + milestone: *237 + number: *728 + organization: *685 + pull_request: &730 title: Pull Request type: object properties: @@ -165505,7 +165796,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -165584,11 +165875,11 @@ webhooks: type: string enum: - dequeued - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -167934,7 +168225,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *683 + repository: *686 sender: *4 required: - action @@ -168058,12 +168349,12 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -168143,11 +168434,11 @@ webhooks: type: string enum: - enqueued - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -170478,7 +170769,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -170558,11 +170849,11 @@ webhooks: type: string enum: - labeled - enterprise: *680 - installation: *681 - label: *699 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + label: *702 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -172910,7 +173201,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -172991,10 +173282,10 @@ webhooks: type: string enum: - locked - enterprise: *680 - installation: *681 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -175340,7 +175631,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -175420,12 +175711,12 @@ webhooks: type: string enum: - milestoned - enterprise: *680 - milestone: *235 - number: *725 - organization: *682 - pull_request: *727 - repository: *683 + enterprise: *683 + milestone: *237 + number: *728 + organization: *685 + pull_request: *730 + repository: *686 sender: *4 required: - action @@ -175504,12 +175795,12 @@ webhooks: type: string enum: - opened - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -175590,12 +175881,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -175675,12 +175966,12 @@ webhooks: type: string enum: - reopened - enterprise: *680 - installation: *681 - number: *725 - organization: *682 - pull_request: *726 - repository: *683 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 + pull_request: *729 + repository: *686 sender: *4 required: - action @@ -176055,9 +176346,9 @@ webhooks: - start_side - side - reactions - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: type: object properties: @@ -178287,7 +178578,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *683 + repository: *686 sender: *4 required: - action @@ -178367,7 +178658,7 @@ webhooks: type: string enum: - deleted - comment: &729 + comment: &732 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -178660,9 +178951,9 @@ webhooks: - start_side - side - reactions - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: type: object properties: @@ -180880,7 +181171,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *683 + repository: *686 sender: *4 required: - action @@ -180960,11 +181251,11 @@ webhooks: type: string enum: - edited - changes: *728 - comment: *729 - enterprise: *680 - installation: *681 - organization: *682 + changes: *731 + comment: *732 + enterprise: *683 + installation: *684 + organization: *685 pull_request: type: object properties: @@ -183185,7 +183476,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *683 + repository: *686 sender: *4 required: - action @@ -183266,9 +183557,9 @@ webhooks: type: string enum: - dismissed - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -185501,7 +185792,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 + repository: *686 review: description: The review that was affected. type: object @@ -185752,9 +186043,9 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -187868,8 +188159,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 - review: &730 + repository: *686 + review: &733 description: The review that was affected. type: object properties: @@ -188107,12 +188398,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -190459,7 +190750,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 requested_reviewer: title: User type: @@ -190545,12 +190836,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -192904,7 +193195,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193099,12 +193390,12 @@ webhooks: type: string enum: - review_requested - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -195453,7 +195744,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 requested_reviewer: title: User type: @@ -195540,12 +195831,12 @@ webhooks: type: string enum: - review_requested - enterprise: *680 - installation: *681 + enterprise: *683 + installation: *684 number: description: The pull request number. type: integer - organization: *682 + organization: *685 pull_request: title: Pull Request type: object @@ -197885,7 +198176,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 requested_team: title: Team description: Groups of organization members that gives permissions @@ -198069,9 +198360,9 @@ webhooks: type: string enum: - submitted - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -200307,8 +200598,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 - review: *730 + repository: *686 + review: *733 sender: *4 required: - action @@ -200388,9 +200679,9 @@ webhooks: type: string enum: - resolved - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -202521,7 +202812,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 + repository: *686 sender: *4 thread: type: object @@ -202918,9 +203209,9 @@ webhooks: type: string enum: - unresolved - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 pull_request: title: Simple Pull Request type: object @@ -205034,7 +205325,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *683 + repository: *686 sender: *4 thread: type: object @@ -205433,10 +205724,10 @@ webhooks: type: string before: type: string - enterprise: *680 - installation: *681 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -207771,7 +208062,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -207853,11 +208144,11 @@ webhooks: type: string enum: - unassigned - assignee: *731 - enterprise: *680 - installation: *681 - number: *725 - organization: *682 + assignee: *734 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -210207,7 +210498,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -210286,11 +210577,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *680 - installation: *681 - label: *699 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + label: *702 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -212629,7 +212920,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -212710,10 +213001,10 @@ webhooks: type: string enum: - unlocked - enterprise: *680 - installation: *681 - number: *725 - organization: *682 + enterprise: *683 + installation: *684 + number: *728 + organization: *685 pull_request: title: Pull Request type: object @@ -215042,7 +215333,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *683 + repository: *686 sender: *4 required: - action @@ -215245,7 +215536,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *680 + enterprise: *683 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -215340,8 +215631,8 @@ webhooks: - url - author - committer - installation: *681 - organization: *682 + installation: *684 + organization: *685 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215929,9 +216220,9 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 registry_package: type: object properties: @@ -216408,7 +216699,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *714 + items: *717 summary: type: string tag_name: @@ -216464,7 +216755,7 @@ webhooks: - owner - package_version - registry - repository: *683 + repository: *686 sender: *4 required: - action @@ -216542,9 +216833,9 @@ webhooks: type: string enum: - updated - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 registry_package: type: object properties: @@ -216856,7 +217147,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *714 + items: *717 summary: type: string tag_name: @@ -216906,7 +217197,7 @@ webhooks: - owner - package_version - registry - repository: *683 + repository: *686 sender: *4 required: - action @@ -216983,10 +217274,10 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - release: &732 + enterprise: *683 + installation: *684 + organization: *685 + release: &735 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -217317,7 +217608,7 @@ webhooks: - updated_at - zipball_url - body - repository: *683 + repository: *686 sender: *4 required: - action @@ -217394,11 +217685,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - release: *732 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + release: *735 + repository: *686 sender: *4 required: - action @@ -217515,11 +217806,11 @@ webhooks: type: boolean required: - to - enterprise: *680 - installation: *681 - organization: *682 - release: *732 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + release: *735 + repository: *686 sender: *4 required: - action @@ -217597,9 +217888,9 @@ webhooks: type: string enum: - prereleased - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -217935,7 +218226,7 @@ webhooks: - string - 'null' format: uri - repository: *683 + repository: *686 sender: *4 required: - action @@ -218011,10 +218302,10 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 - release: &733 + enterprise: *683 + installation: *684 + organization: *685 + release: &736 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -218347,7 +218638,7 @@ webhooks: - string - 'null' format: uri - repository: *683 + repository: *686 sender: *4 required: - action @@ -218423,11 +218714,11 @@ webhooks: type: string enum: - released - enterprise: *680 - installation: *681 - organization: *682 - release: *732 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + release: *735 + repository: *686 sender: *4 required: - action @@ -218503,11 +218794,11 @@ webhooks: type: string enum: - unpublished - enterprise: *680 - installation: *681 - organization: *682 - release: *733 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + release: *736 + repository: *686 sender: *4 required: - action @@ -218583,11 +218874,11 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_advisory: *601 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_advisory: *603 sender: *4 required: - action @@ -218663,11 +218954,11 @@ webhooks: type: string enum: - reported - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_advisory: *601 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_advisory: *603 sender: *4 required: - action @@ -218743,10 +219034,10 @@ webhooks: type: string enum: - archived - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -218823,10 +219114,10 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -218904,10 +219195,10 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -218992,10 +219283,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219110,10 +219401,10 @@ webhooks: - 'null' items: type: string - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219185,10 +219476,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 status: type: string @@ -219269,10 +219560,10 @@ webhooks: type: string enum: - privatized - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219349,10 +219640,10 @@ webhooks: type: string enum: - publicized - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219446,10 +219737,10 @@ webhooks: - name required: - repository - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -219529,11 +219820,11 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_ruleset: *273 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_ruleset: *275 sender: *4 required: - action @@ -219611,11 +219902,11 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_ruleset: *273 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_ruleset: *275 sender: *4 required: - action @@ -219693,11 +219984,11 @@ webhooks: type: string enum: - edited - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - repository_ruleset: *273 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + repository_ruleset: *275 changes: type: object properties: @@ -219716,16 +220007,16 @@ webhooks: properties: added: type: array - items: *248 + items: *250 deleted: type: array - items: *248 + items: *250 updated: type: array items: type: object properties: - condition: *248 + condition: *250 changes: type: object properties: @@ -219758,16 +220049,16 @@ webhooks: properties: added: type: array - items: *566 + items: *568 deleted: type: array - items: *566 + items: *568 updated: type: array items: type: object properties: - rule: *566 + rule: *568 changes: type: object properties: @@ -220004,10 +220295,10 @@ webhooks: - from required: - owner - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220085,10 +220376,10 @@ webhooks: type: string enum: - unarchived - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220166,7 +220457,7 @@ webhooks: type: string enum: - create - alert: &734 + alert: &737 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -220290,10 +220581,10 @@ webhooks: type: string enum: - open - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220503,10 +220794,10 @@ webhooks: type: string enum: - dismissed - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220584,11 +220875,11 @@ webhooks: type: string enum: - reopen - alert: *734 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *737 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220790,10 +221081,10 @@ webhooks: enum: - fixed - open - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -220871,7 +221162,7 @@ webhooks: type: string enum: - created - alert: &735 + alert: &738 type: object properties: number: *52 @@ -220981,10 +221272,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221065,11 +221356,11 @@ webhooks: type: string enum: - created - alert: *735 - installation: *681 - location: *736 - organization: *682 - repository: *683 + alert: *738 + installation: *684 + location: *739 + organization: *685 + repository: *686 sender: *4 required: - location @@ -221307,11 +221598,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *735 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *738 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221389,11 +221680,11 @@ webhooks: type: string enum: - reopened - alert: *735 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *738 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221471,11 +221762,11 @@ webhooks: type: string enum: - resolved - alert: *735 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *738 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221553,11 +221844,11 @@ webhooks: type: string enum: - validated - alert: *735 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + alert: *738 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -221687,10 +221978,10 @@ webhooks: - organization - enterprise - - repository: *683 - enterprise: *680 - installation: *681 - organization: *682 + repository: *686 + enterprise: *683 + installation: *684 + organization: *685 sender: *4 required: - action @@ -221768,11 +222059,11 @@ webhooks: type: string enum: - published - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - security_advisory: &737 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + security_advisory: &740 description: The details of the security advisory, including summary, description, and severity. type: object @@ -221958,11 +222249,11 @@ webhooks: type: string enum: - updated - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 - security_advisory: *737 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 + security_advisory: *740 sender: *4 required: - action @@ -222035,10 +222326,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -222224,11 +222515,11 @@ webhooks: from: type: object properties: - security_and_analysis: *247 - enterprise: *680 - installation: *681 - organization: *682 - repository: *319 + security_and_analysis: *249 + enterprise: *683 + installation: *684 + organization: *685 + repository: *321 sender: *4 required: - changes @@ -222306,12 +222597,12 @@ webhooks: type: string enum: - cancelled - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: &738 + sponsorship: &741 type: object properties: created_at: @@ -222616,12 +222907,12 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - sponsorship @@ -222709,12 +223000,12 @@ webhooks: type: string required: - from - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - changes @@ -222791,17 +223082,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &739 + effective_date: &742 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: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - sponsorship @@ -222875,7 +223166,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &740 + changes: &743 type: object properties: tier: @@ -222919,13 +223210,13 @@ webhooks: - from required: - tier - effective_date: *739 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + effective_date: *742 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - changes @@ -223002,13 +223293,13 @@ webhooks: type: string enum: - tier_changed - changes: *740 - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + changes: *743 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - sponsorship: *738 + sponsorship: *741 required: - action - changes @@ -223082,10 +223373,10 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223169,10 +223460,10 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223606,15 +223897,15 @@ webhooks: type: - string - 'null' - enterprise: *680 + enterprise: *683 id: description: The unique identifier of the status. type: integer - installation: *681 + installation: *684 name: type: string - organization: *682 - repository: *683 + organization: *685 + repository: *686 sender: *4 sha: description: The Commit SHA. @@ -223730,9 +224021,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -223822,9 +224113,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -223914,9 +224205,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -224006,9 +224297,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *81 - installation: *681 - organization: *682 - repository: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -224085,12 +224376,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - team: &741 + team: &744 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -224320,9 +224611,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -224792,7 +225083,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - team @@ -224868,9 +225159,9 @@ webhooks: type: string enum: - created - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -225340,7 +225631,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - team @@ -225417,9 +225708,9 @@ webhooks: type: string enum: - deleted - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -225889,7 +226180,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - team @@ -226033,9 +226324,9 @@ webhooks: - from required: - permissions - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -226505,7 +226796,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - changes @@ -226583,9 +226874,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *680 - installation: *681 - organization: *682 + enterprise: *683 + installation: *684 + organization: *685 repository: title: Repository description: A git repository @@ -227055,7 +227346,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *744 required: - action - team @@ -227131,10 +227422,10 @@ webhooks: type: string enum: - started - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 required: - action @@ -227207,17 +227498,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *680 + enterprise: *683 inputs: type: - object - 'null' additionalProperties: true - installation: *681 - organization: *682 + installation: *684 + organization: *685 ref: type: string - repository: *683 + repository: *686 sender: *4 workflow: type: string @@ -227299,10 +227590,10 @@ webhooks: type: string enum: - completed - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 workflow_job: allOf: @@ -227558,7 +227849,7 @@ webhooks: type: string required: - conclusion - deployment: *464 + deployment: *466 required: - action - repository @@ -227637,10 +227928,10 @@ webhooks: type: string enum: - in_progress - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 workflow_job: allOf: @@ -227922,7 +228213,7 @@ webhooks: required: - status - steps - deployment: *464 + deployment: *466 required: - action - repository @@ -228001,10 +228292,10 @@ webhooks: type: string enum: - queued - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 workflow_job: type: object @@ -228150,7 +228441,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *466 required: - action - repository @@ -228229,10 +228520,10 @@ webhooks: type: string enum: - waiting - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 workflow_job: type: object @@ -228379,7 +228670,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *464 + deployment: *466 required: - action - repository @@ -228459,12 +228750,12 @@ webhooks: type: string enum: - completed - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: *695 + workflow: *698 workflow_run: title: Workflow Run type: object @@ -229483,12 +229774,12 @@ webhooks: type: string enum: - in_progress - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: *695 + workflow: *698 workflow_run: title: Workflow Run type: object @@ -230492,12 +230783,12 @@ webhooks: type: string enum: - requested - enterprise: *680 - installation: *681 - organization: *682 - repository: *683 + enterprise: *683 + installation: *684 + organization: *685 + repository: *686 sender: *4 - workflow: *695 + workflow: *698 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index ea19cd390..384d540e8 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -62688,6 +62688,442 @@ } } }, + "/enterprises/{enterprise}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an enterprise", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", @@ -99952,6 +100388,403 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -777159,6 +777992,390 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index e8fa01200..68a9a12d8 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &392 + type: &396 type: string description: The type of credit the user is receiving. enum: @@ -1046,7 +1046,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &218 + schema: &222 title: Validation Error Simple description: Validation Error Simple type: object @@ -1079,7 +1079,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: - - &709 + - &713 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1664,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &304 + - &308 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 @@ -1680,7 +1680,7 @@ paths: application/json: schema: type: array - items: &305 + items: &309 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &306 + default: &310 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &719 + schema: &723 title: Scim Error description: Scim Error type: object @@ -1839,7 +1839,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &217 + schema: &221 title: Validation Error description: Validation Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &311 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &308 + default: &312 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2250,7 +2250,7 @@ paths: parameters: - *17 - *19 - - &183 + - &185 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) @@ -3035,7 +3035,7 @@ paths: license: anyOf: - type: 'null' - - &194 + - &196 title: License Simple description: License Simple type: object @@ -7784,7 +7784,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &223 type: object properties: total_active_caches_count: @@ -7799,7 +7799,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &220 + default: &224 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8004,7 +8004,7 @@ paths: - public_ip_enabled - platform examples: - default: &221 + default: &225 value: total_count: 2 runners: @@ -8294,7 +8294,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &226 type: object properties: public_ips: @@ -8321,7 +8321,7 @@ paths: required: - public_ips examples: - default: &223 + default: &227 value: public_ips: current_usage: 17 @@ -8361,7 +8361,7 @@ paths: type: array items: *45 examples: - default: &224 + default: &228 value: id: 4-core cpu_cores: 4 @@ -8619,7 +8619,7 @@ paths: - all - local_only - selected - selected_actions_url: &227 + selected_actions_url: &231 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` @@ -8699,7 +8699,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &229 + schema: &233 type: object properties: days: @@ -8717,7 +8717,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &720 + '401': &724 description: Authorization failure '404': *6 x-github: @@ -8745,7 +8745,7 @@ paths: required: true content: application/json: - schema: &230 + schema: &234 type: object properties: days: @@ -8794,7 +8794,7 @@ paths: required: - approval_policy examples: - default: &231 + default: &235 value: approval_policy: first_time_contributors '404': *6 @@ -8852,7 +8852,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &236 type: object required: - run_workflows_from_fork_pull_requests @@ -8906,7 +8906,7 @@ paths: required: true content: application/json: - schema: &233 + schema: &237 type: object required: - run_workflows_from_fork_pull_requests @@ -9342,7 +9342,7 @@ paths: description: Success response content: application/json: - schema: &236 + schema: &240 type: object properties: default_workflow_permissions: &56 @@ -9390,7 +9390,7 @@ paths: required: true content: application/json: - schema: &237 + schema: &241 type: object properties: default_workflow_permissions: *56 @@ -10235,7 +10235,7 @@ paths: application/json: schema: type: array - items: &241 + items: &245 title: Runner Application description: Runner Application type: object @@ -10260,7 +10260,7 @@ paths: - download_url - filename examples: - default: &242 + default: &246 value: - os: osx architecture: x64 @@ -10344,7 +10344,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &243 + '201': &247 description: Response content: application/json: @@ -10463,7 +10463,7 @@ paths: - token - expires_at examples: - default: &244 + default: &248 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10503,7 +10503,7 @@ paths: application/json: schema: *68 examples: - default: &245 + default: &249 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10535,7 +10535,7 @@ paths: application/json: schema: *65 examples: - default: &246 + default: &250 value: id: 23 name: MBP @@ -10751,7 +10751,7 @@ paths: - *39 - *64 responses: - '200': &247 + '200': &251 description: Response content: application/json: @@ -10807,7 +10807,7 @@ paths: parameters: - *39 - *64 - - &248 + - &252 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10904,7 +10904,7 @@ paths: required: true content: application/json: - schema: &255 + schema: &259 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11555,7 +11555,7 @@ paths: required: false schema: type: string - - &256 + - &260 name: include description: |- The event types to include: @@ -11573,7 +11573,7 @@ paths: - web - git - all - - &257 + - &261 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. @@ -11581,7 +11581,7 @@ paths: required: false schema: type: string - - &258 + - &262 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. @@ -11589,7 +11589,7 @@ paths: required: false schema: type: string - - &259 + - &263 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11611,7 +11611,7 @@ paths: application/json: schema: type: array - items: &260 + items: &264 type: object properties: "@timestamp": @@ -11733,7 +11733,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &261 + default: &265 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12401,7 +12401,7 @@ paths: application/json: schema: type: array - items: &262 + items: &266 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12573,7 +12573,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &263 + default: &267 value: - id: 21 number: 42 @@ -12678,7 +12678,7 @@ paths: application/json: schema: type: array - items: &265 + items: &269 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12809,7 +12809,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &266 + default: &270 value: - id: 21 number: 42 @@ -12894,7 +12894,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &271 + - &275 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`, @@ -12904,7 +12904,7 @@ paths: schema: &100 type: string description: The name of the tool used to generate the code scanning analysis. - - &272 + - &276 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 @@ -12928,7 +12928,7 @@ paths: be returned. in: query required: false - schema: &273 + schema: &277 type: string description: State of a code scanning alert. enum: @@ -12953,7 +12953,7 @@ paths: application/json: schema: type: array - items: &274 + items: &278 type: object properties: number: &109 @@ -12982,7 +12982,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &505 + instances_url: &509 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13018,7 +13018,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &506 + dismissed_reason: &510 type: - string - 'null' @@ -13029,14 +13029,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &507 + dismissed_comment: &511 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &508 + rule: &512 type: object properties: id: @@ -13097,7 +13097,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &509 + tool: &513 type: object properties: name: *100 @@ -13108,15 +13108,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *101 - most_recent_instance: &510 + most_recent_instance: &514 type: object properties: - ref: &503 + ref: &507 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &520 + analysis_key: &524 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13127,7 +13127,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &521 + category: &525 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13518,7 +13518,7 @@ paths: - most_recent_instance - repository examples: - default: &275 + default: &279 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14177,7 +14177,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &276 + code_scanning_options: &280 type: - object - 'null' @@ -14375,7 +14375,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &282 type: array description: A list of default code security configurations items: @@ -14391,7 +14391,7 @@ paths: default configuration: *103 examples: - default: &279 + default: &283 value: - default_for_new_repos: public configuration: @@ -14845,7 +14845,7 @@ paths: default: value: default_for_new_repos: all - configuration: &277 + configuration: &281 value: id: 1325 target_type: organization @@ -14930,7 +14930,7 @@ paths: application/json: schema: type: array - items: &280 + items: &284 type: object description: Repositories associated with a code security configuration and attachment status @@ -14954,7 +14954,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &281 + repository: &285 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15455,7 +15455,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &267 + - &271 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15532,7 +15532,7 @@ paths: parent: anyOf: - type: 'null' - - &339 + - &343 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -15650,7 +15650,7 @@ paths: - slug - parent - type - - &172 + - &174 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -16225,7 +16225,7 @@ paths: application/json: schema: type: array - items: &169 + items: &171 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16540,7 +16540,7 @@ paths: - date additionalProperties: true examples: - default: &170 + default: &172 value: - date: '2024-06-24' total_active_users: 24 @@ -16642,7 +16642,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &171 + '422': &173 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16672,7 +16672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &288 + - &292 name: state in: query description: |- @@ -16681,7 +16681,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &289 + - &293 name: severity in: query description: |- @@ -16690,7 +16690,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &290 + - &294 name: ecosystem in: query description: |- @@ -16699,14 +16699,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &291 + - &295 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 - - &292 + - &296 name: epss_percentage in: query description: |- @@ -16718,7 +16718,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &293 + - &297 name: has in: query description: |- @@ -16732,7 +16732,7 @@ paths: type: string enum: - patch - - &294 + - &298 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16742,7 +16742,7 @@ paths: enum: - development - runtime - - &295 + - &299 name: sort in: query description: |- @@ -16760,7 +16760,7 @@ paths: - *99 - *97 - *98 - - &296 + - &300 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16773,7 +16773,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &297 + - &301 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16793,7 +16793,7 @@ paths: application/json: schema: type: array - items: &298 + items: &302 type: object description: A Dependabot alert. properties: @@ -16860,7 +16860,7 @@ paths: - direct - transitive - - security_advisory: &556 + security_advisory: &560 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17096,7 +17096,7 @@ paths: dismissal. maxLength: 280 fixed_at: *119 - auto_dismissed_at: &557 + auto_dismissed_at: &561 type: - string - 'null' @@ -17123,7 +17123,7 @@ paths: - repository additionalProperties: false examples: - default: &299 + default: &303 value: - number: 2 state: dismissed @@ -17540,7 +17540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - &176 + - &178 name: username description: The handle for the GitHub user account. in: path @@ -17652,7 +17652,7 @@ paths: - name - created_on examples: - default: &402 + default: &406 value: total_count: 2 network_configurations: @@ -17875,7 +17875,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &403 + - &407 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17887,7 +17887,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &408 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17926,7 +17926,7 @@ paths: - subnet_id - region examples: - default: &405 + default: &409 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -18232,7 +18232,7 @@ paths: required: true content: application/json: - schema: &370 + schema: &374 title: Custom Property Set Payload description: Custom property set payload type: object @@ -19306,7 +19306,7 @@ paths: conditions: anyOf: - *132 - - &375 + - &379 title: Organization ruleset conditions type: object description: |- @@ -19356,7 +19356,7 @@ paths: - object rules: type: array - items: &675 + items: &679 title: Repository Rule type: object description: A repository rule. @@ -19365,7 +19365,7 @@ paths: - *139 - *140 - *141 - - &672 + - &676 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19459,7 +19459,7 @@ paths: - *155 - *156 - *157 - - &673 + - &677 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -19715,7 +19715,7 @@ paths: type: string format: date-time examples: - default: &378 + default: &382 value: - version_id: 3 actor: @@ -19768,7 +19768,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &383 allOf: - *162 - type: object @@ -19823,7 +19823,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &380 + - &384 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19834,7 +19834,7 @@ paths: enum: - open - resolved - - &381 + - &385 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19844,7 +19844,7 @@ paths: required: false schema: type: string - - &382 + - &386 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19853,7 +19853,7 @@ paths: required: false schema: type: string - - &383 + - &387 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. @@ -19869,7 +19869,7 @@ paths: - *17 - *97 - *98 - - &384 + - &388 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19878,7 +19878,7 @@ paths: required: false schema: type: string - - &385 + - &389 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19887,7 +19887,7 @@ paths: schema: type: boolean default: false - - &386 + - &390 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19896,7 +19896,7 @@ paths: schema: type: boolean default: false - - &387 + - &391 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19912,7 +19912,7 @@ paths: application/json: schema: type: array - items: &388 + items: &392 type: object properties: number: *109 @@ -19928,14 +19928,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &687 + state: &691 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: &688 + resolution: &692 type: - string - 'null' @@ -20042,14 +20042,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &689 + - &693 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &691 + - &695 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -20106,7 +20106,7 @@ paths: - blob_url - commit_sha - commit_url - - &692 + - &696 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -20167,7 +20167,7 @@ paths: - page_url - commit_sha - commit_url - - &693 + - &697 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -20182,7 +20182,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &694 + - &698 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -20197,7 +20197,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &695 + - &699 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -20212,7 +20212,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &696 + - &700 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -20227,7 +20227,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &697 + - &701 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -20242,7 +20242,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &698 + - &702 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -20257,7 +20257,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &699 + - &703 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -20272,7 +20272,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &700 + - &704 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -20287,7 +20287,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &701 + - &705 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -20302,7 +20302,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &702 + - &706 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -20317,7 +20317,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &703 + - &707 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -20338,7 +20338,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &389 + default: &393 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20528,7 +20528,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &394 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20615,7 +20615,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *164 examples: - default: &391 + default: &395 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20759,7 +20759,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &397 type: object properties: total_minutes_used: @@ -20829,7 +20829,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &394 + default: &398 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20860,7 +20860,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &395 + - &399 name: advanced_security_product in: query description: | @@ -20880,7 +20880,7 @@ paths: description: Success content: application/json: - schema: &396 + schema: &400 type: object properties: total_advanced_security_committers: @@ -20943,7 +20943,7 @@ paths: required: - repositories examples: - default: &397 + default: &401 value: total_advanced_security_committers: 2 total_count: 2 @@ -21557,7 +21557,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &402 type: object properties: total_gigabytes_bandwidth_used: @@ -21575,7 +21575,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &399 + default: &403 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21585,6 +21585,212 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an enterprise + description: Gets a report of premium request usage for an enterprise. To use + this endpoint, you must be an administrator or billing manager of the enterprise. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise + parameters: + - *39 + - &169 + 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, + `2025`. Default value is the current year. + in: query + required: false + schema: + type: integer + - &211 + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. + in: query + required: false + schema: + type: integer + - &170 + name: day + description: If specified, only return results for a single day. The value + of `day` is an integer between `1` and `31`. If no `year` or `month` is + specified, the default `year` and `month` are used. + in: query + required: false + schema: + type: integer + - name: organization + description: The organization name to query usage for. The name is not case + sensitive. + in: query + required: false + schema: + type: string + - &212 + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &213 + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &214 + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + user: + type: string + description: The name of the user for the usage report. + organization: + type: string + description: The name of the organization for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *38 + '503': *163 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/shared-storage": get: summary: Get shared storage billing for an enterprise @@ -21610,7 +21816,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &404 type: object properties: days_left_in_billing_cycle: @@ -21628,7 +21834,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &401 + default: &405 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21653,16 +21859,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *39 - - &209 - 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, - `2025`. Default value is the current year. - in: query - required: false - schema: - type: integer - - &210 + - *169 + - &215 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -21671,16 +21869,8 @@ paths: required: false schema: type: integer - - &211 - name: day - description: If specified, only return results for a single day. The value - of `day` is an integer between `1` and `31`. If no `year` or `month` is - specified, the default `year` and `month` are used. - in: query - required: false - schema: - type: integer - - &212 + - *170 + - &216 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -21701,7 +21891,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &213 + schema: &217 type: object properties: usageItems: @@ -21754,7 +21944,7 @@ paths: - netAmount - organizationName examples: - default: &214 + default: &218 value: usageItems: - date: '2023-08-01' @@ -21842,13 +22032,13 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: - default: *170 + default: *172 '500': *38 '403': *27 '404': *6 - '422': *171 + '422': *173 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -21875,9 +22065,9 @@ paths: application/json: schema: type: array - items: *172 + items: *174 examples: - default: &173 + default: &175 value: - id: 1 name: Justice League @@ -21953,9 +22143,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *174 examples: - default: *173 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21973,7 +22163,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &174 + - &176 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -21992,7 +22182,7 @@ paths: type: array items: *4 examples: - default: &175 + default: &177 value: - login: octocat id: 1 @@ -22031,7 +22221,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *174 + - *176 requestBody: required: true content: @@ -22062,7 +22252,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22080,7 +22270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *174 + - *176 requestBody: required: true content: @@ -22111,7 +22301,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22129,8 +22319,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *174 - *176 + - *178 responses: '200': description: User is a member of the enterprise team. @@ -22138,7 +22328,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &177 + exampleKey1: &179 value: login: octocat id: 1 @@ -22174,8 +22364,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *174 - *176 + - *178 responses: '201': description: Successfully added team member @@ -22183,7 +22373,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *177 + exampleKey1: *179 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22201,8 +22391,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *174 - *176 + - *178 responses: '204': description: Response @@ -22227,7 +22417,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &178 + - &180 name: team_slug description: The slug of the team name. in: path @@ -22239,9 +22429,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *174 examples: - default: *173 + default: *175 headers: Link: *41 '403': *27 @@ -22261,7 +22451,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *178 + - *180 requestBody: required: true content: @@ -22307,9 +22497,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *174 examples: - default: *173 + default: *175 headers: Link: *41 '403': *27 @@ -22332,7 +22522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *178 + - *180 responses: '204': description: Response @@ -22425,7 +22615,7 @@ paths: application/json: schema: type: array - items: &204 + items: &206 title: Event description: Event type: object @@ -22436,7 +22626,7 @@ paths: type: - string - 'null' - actor: &179 + actor: &181 title: Actor description: Actor type: object @@ -22477,13 +22667,13 @@ paths: - id - name - url - org: *179 + org: *181 payload: type: object properties: action: type: string - issue: &193 + issue: &195 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -22604,7 +22794,7 @@ paths: milestone: anyOf: - type: 'null' - - &363 + - &367 title: Milestone description: A collection of related issues and pull requests. @@ -22776,7 +22966,7 @@ paths: timeline_url: type: string format: uri - type: &326 + type: &330 title: Issue Type description: The type of issue. type: @@ -22834,7 +23024,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &180 + author_association: &182 title: author_association type: string description: How the author is associated with the repository. @@ -22849,7 +23039,7 @@ paths: - OWNER examples: - OWNER - reactions: &181 + reactions: &183 title: Reaction Rollup type: object properties: @@ -22885,7 +23075,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &747 + sub_issues_summary: &751 title: Sub-issues Summary type: object properties: @@ -22906,7 +23096,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &748 + issue_dependencies_summary: &752 title: Issue Dependencies Summary type: object properties: @@ -22925,7 +23115,7 @@ paths: - total_blocking issue_field_values: type: array - items: &749 + items: &753 title: Issue Field Value description: A value assigned to an issue field type: object @@ -23020,7 +23210,7 @@ paths: - user - created_at - updated_at - comment: &612 + comment: &616 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23070,12 +23260,12 @@ paths: issue_url: type: string format: uri - author_association: *180 + author_association: *182 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *181 + reactions: *183 required: - id - node_id @@ -23262,7 +23452,7 @@ paths: _links: type: object properties: - timeline: &182 + timeline: &184 title: Link With Type description: Hypermedia Link with Type type: object @@ -23274,17 +23464,17 @@ paths: required: - href - type - user: *182 - security_advisories: *182 - current_user: *182 - current_user_public: *182 - current_user_actor: *182 - current_user_organization: *182 + user: *184 + security_advisories: *184 + current_user: *184 + current_user_public: *184 + current_user_actor: *184 + current_user_organization: *184 current_user_organizations: type: array - items: *182 - repository_discussions: *182 - repository_discussions_category: *182 + items: *184 + repository_discussions: *184 + repository_discussions_category: *184 required: - timeline - user @@ -23346,7 +23536,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *183 + - *185 - *17 - *19 responses: @@ -23356,7 +23546,7 @@ paths: application/json: schema: type: array - items: &184 + items: &186 title: Base Gist description: Base Gist type: object @@ -23453,7 +23643,7 @@ paths: - created_at - updated_at examples: - default: &185 + default: &187 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -23577,7 +23767,7 @@ paths: description: Response content: application/json: - schema: &186 + schema: &188 title: Gist Simple description: Gist Simple type: object @@ -23595,7 +23785,7 @@ paths: url: type: string format: uri - user: &761 + user: &765 title: Public User description: Public User type: object @@ -23969,7 +24159,7 @@ paths: truncated: type: boolean examples: - default: &187 + default: &189 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -24073,7 +24263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *183 + - *185 - *17 - *19 responses: @@ -24083,9 +24273,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 headers: Link: *41 '422': *15 @@ -24107,7 +24297,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *183 + - *185 - *17 - *19 responses: @@ -24117,9 +24307,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 headers: Link: *41 '401': *23 @@ -24147,7 +24337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &188 + - &190 name: gist_id description: The unique identifier of the gist. in: path @@ -24159,10 +24349,10 @@ paths: description: Response content: application/json: - schema: *186 + schema: *188 examples: - default: *187 - '403': &191 + default: *189 + '403': &193 description: Forbidden Gist content: application/json: @@ -24211,7 +24401,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *188 + - *190 requestBody: required: true content: @@ -24275,9 +24465,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *188 examples: - updateGist: *187 + updateGist: *189 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -24435,7 +24625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *188 + - *190 responses: '204': description: Response @@ -24464,7 +24654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *188 + - *190 - *17 - *19 responses: @@ -24474,7 +24664,7 @@ paths: application/json: schema: type: array - items: &189 + items: &191 title: Gist Comment description: A comment made to a gist. type: object @@ -24512,7 +24702,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *180 + author_association: *182 required: - url - id @@ -24577,7 +24767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *188 + - *190 requestBody: required: true content: @@ -24603,9 +24793,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: &190 + default: &192 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -24663,8 +24853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *188 - - &192 + - *190 + - &194 name: comment_id description: The unique identifier of the comment. in: path @@ -24677,12 +24867,12 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '304': *35 '404': *6 - '403': *191 + '403': *193 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24704,8 +24894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *188 - - *192 + - *190 + - *194 requestBody: required: true content: @@ -24731,9 +24921,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '404': *6 x-github: githubCloudOnly: false @@ -24750,8 +24940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *188 - - *192 + - *190 + - *194 responses: '204': description: Response @@ -24774,7 +24964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *188 + - *190 - *17 - *19 responses: @@ -24875,7 +25065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *188 + - *190 - *17 - *19 responses: @@ -24885,7 +25075,7 @@ paths: application/json: schema: type: array - items: *186 + items: *188 examples: default: value: @@ -24950,13 +25140,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *188 + - *190 responses: '201': description: Response content: application/json: - schema: *184 + schema: *186 examples: default: value: @@ -25027,7 +25217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *188 + - *190 responses: '204': description: Response if gist is starred @@ -25057,7 +25247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *188 + - *190 responses: '204': description: Response @@ -25079,7 +25269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *188 + - *190 responses: '204': description: Response @@ -25108,7 +25298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *188 + - *190 - name: sha in: path required: true @@ -25119,9 +25309,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *188 examples: - default: *187 + default: *189 '422': *15 '404': *6 '403': *27 @@ -25490,7 +25680,7 @@ paths: - closed - all default: open - - &329 + - &333 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -25509,7 +25699,7 @@ paths: - comments default: created - *99 - - *183 + - *185 - name: collab in: query required: false @@ -25539,9 +25729,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: &330 + default: &334 value: - id: 1 node_id: MDU6SXNzdWUx @@ -25821,7 +26011,7 @@ paths: application/json: schema: type: array - items: *194 + items: *196 examples: default: value: @@ -26119,7 +26309,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &195 + X-CommonMarker-Version: &197 example: 0.17.4 schema: type: string @@ -26174,7 +26364,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *195 + X-CommonMarker-Version: *197 content: text/html: schema: @@ -26203,7 +26393,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: - - &198 + - &200 name: account_id description: account_id parameter in: path @@ -26215,7 +26405,7 @@ paths: description: Response content: application/json: - schema: &197 + schema: &199 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -26249,7 +26439,7 @@ paths: - 'null' id: type: integer - plan: &196 + plan: &198 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -26352,7 +26542,7 @@ paths: - 'null' updated_at: type: string - plan: *196 + plan: *198 required: - url - id @@ -26360,7 +26550,7 @@ paths: - login - marketplace_purchase examples: - default: &199 + default: &201 value: url: https://api.github.com/orgs/github type: Organization @@ -26445,9 +26635,9 @@ paths: application/json: schema: type: array - items: *196 + items: *198 examples: - default: &200 + default: &202 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -26487,14 +26677,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &201 + - &203 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &202 + - &204 name: sort description: The property to sort the results by. in: query @@ -26524,9 +26714,9 @@ paths: application/json: schema: type: array - items: *197 + items: *199 examples: - default: &203 + default: &205 value: - url: https://api.github.com/orgs/github type: Organization @@ -26600,15 +26790,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: - - *198 + - *200 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *199 + default: *201 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -26640,9 +26830,9 @@ paths: application/json: schema: type: array - items: *196 + items: *198 examples: - default: *200 + default: *202 headers: Link: *41 '401': *23 @@ -26665,8 +26855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *201 - - *202 + - *203 + - *204 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -26686,9 +26876,9 @@ paths: application/json: schema: type: array - items: *197 + items: *199 examples: - default: *203 + default: *205 headers: Link: *41 '401': *23 @@ -26953,14 +27143,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: - - &425 + - &429 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &426 + - &430 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26977,7 +27167,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -27031,7 +27221,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &439 + '301': &443 description: Moved permanently content: application/json: @@ -27053,7 +27243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &641 + - &645 name: all description: If `true`, show notifications marked as read. in: query @@ -27061,7 +27251,7 @@ paths: schema: type: boolean default: false - - &642 + - &646 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -27070,8 +27260,8 @@ paths: schema: type: boolean default: false - - *183 - - &643 + - *185 + - &647 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: @@ -27096,14 +27286,14 @@ paths: application/json: schema: type: array - items: &205 + items: &207 title: Thread description: Thread type: object properties: id: type: string - repository: &240 + repository: &244 title: Minimal Repository description: Minimal Repository type: object @@ -27442,7 +27632,7 @@ paths: type: boolean examples: - false - security_and_analysis: &372 + security_and_analysis: &376 type: - object - 'null' @@ -27615,7 +27805,7 @@ paths: - url - subscription_url examples: - default: &644 + default: &648 value: - id: '1' repository: @@ -27781,7 +27971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &206 + - &208 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 @@ -27795,7 +27985,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *207 examples: default: value: @@ -27898,7 +28088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *206 + - *208 responses: '205': description: Reset Content @@ -27921,7 +28111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *206 + - *208 responses: '204': description: No content @@ -27944,13 +28134,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: - - *206 + - *208 responses: '200': description: Response content: application/json: - schema: &207 + schema: &209 title: Thread Subscription description: Thread Subscription type: object @@ -27994,7 +28184,7 @@ paths: - url - subscribed examples: - default: &208 + default: &210 value: subscribed: true ignored: false @@ -28025,7 +28215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *206 + - *208 requestBody: required: false content: @@ -28046,9 +28236,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: - default: *208 + default: *210 '304': *35 '403': *27 '401': *23 @@ -28071,7 +28261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *206 + - *208 responses: '204': description: Response @@ -28168,7 +28358,7 @@ paths: type: array items: *62 examples: - default: &777 + default: &781 value: - login: github id: 1 @@ -28233,7 +28423,7 @@ paths: - 3 custom_roles: type: array - items: &283 + items: &287 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -28282,7 +28472,7 @@ paths: - created_at - updated_at examples: - default: &284 + default: &288 value: id: 8030 name: Security Engineer @@ -28580,6 +28770,142 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - *76 + - *169 + - *211 + - *170 + - *212 + - *213 + - *214 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *38 + '503': *163 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -28595,18 +28921,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *76 - - *209 - - *210 - - *211 - - *212 + - *169 + - *215 + - *170 + - *216 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *213 + schema: *217 examples: - default: *214 + default: *218 '400': *14 '403': *27 '500': *38 @@ -28642,7 +28968,7 @@ paths: description: Response content: application/json: - schema: &215 + schema: &219 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -29052,7 +29378,7 @@ paths: - updated_at - archived_at examples: - default-response: &216 + default-response: &220 value: login: github id: 1 @@ -29378,17 +29704,17 @@ paths: description: Response content: application/json: - schema: *215 + schema: *219 examples: - default: *216 + default: *220 '422': description: Validation failed content: application/json: schema: oneOf: - - *217 - - *218 + - *221 + - *222 '409': *107 x-github: githubCloudOnly: false @@ -29443,9 +29769,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *223 examples: - default: *220 + default: *224 headers: Link: *41 x-github: @@ -29486,7 +29812,7 @@ paths: type: integer repository_cache_usages: type: array - items: &444 + items: &448 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -29564,7 +29890,7 @@ paths: type: array items: *42 examples: - default: *221 + default: *225 headers: Link: *41 x-github: @@ -29748,9 +30074,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *226 examples: - default: *223 + default: *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29786,7 +30112,7 @@ paths: type: array items: *45 examples: - default: *224 + default: *228 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29969,7 +30295,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &225 + schema: &229 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -29983,7 +30309,7 @@ paths: required: - include_claim_keys examples: - default: &226 + default: &230 value: include_claim_keys: - repo @@ -30010,15 +30336,15 @@ paths: required: true content: application/json: - schema: *225 + schema: *229 examples: - default: *226 + default: *230 responses: '201': description: Empty response content: application/json: - schema: &251 + schema: &255 title: Empty Object description: An object without any properties. type: object @@ -30057,7 +30383,7 @@ paths: schema: type: object properties: - enabled_repositories: &228 + enabled_repositories: &232 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -30071,7 +30397,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *227 + selected_actions_url: *231 sha_pinning_required: *50 required: - enabled_repositories @@ -30113,7 +30439,7 @@ paths: schema: type: object properties: - enabled_repositories: *228 + enabled_repositories: *232 allowed_actions: *49 sha_pinning_required: *50 required: @@ -30149,7 +30475,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *233 examples: response: summary: Example response @@ -30180,7 +30506,7 @@ paths: required: true content: application/json: - schema: *230 + schema: *234 examples: application/json: value: @@ -30218,7 +30544,7 @@ paths: application/json: schema: *51 examples: - default: *231 + default: *235 '404': *6 x-github: enabledForGitHubApps: true @@ -30275,7 +30601,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *236 examples: default: *52 '403': *27 @@ -30300,7 +30626,7 @@ paths: required: true content: application/json: - schema: *233 + schema: *237 examples: default: *52 responses: @@ -30352,7 +30678,7 @@ paths: type: array items: *67 examples: - default: &235 + default: &239 value: total_count: 1 repositories: @@ -30537,7 +30863,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - &234 + - &238 name: repository_id description: The unique identifier of the repository. in: path @@ -30566,7 +30892,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - *234 + - *238 responses: '204': description: Response @@ -30762,7 +31088,7 @@ paths: type: array items: *67 examples: - default: *235 + default: *239 '403': *27 '404': *6 x-github: @@ -30831,7 +31157,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *234 + - *238 responses: '204': description: No content @@ -30858,7 +31184,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *234 + - *238 responses: '204': description: No content @@ -30892,7 +31218,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *240 examples: default: *58 x-github: @@ -30926,7 +31252,7 @@ paths: required: false content: application/json: - schema: *237 + schema: *241 examples: default: *58 x-github: @@ -30973,7 +31299,7 @@ paths: type: number runner_groups: type: array - items: &238 + items: &242 type: object properties: id: @@ -31163,9 +31489,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: - default: &239 + default: &243 value: id: 2 name: octo-runner-group @@ -31207,7 +31533,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: default: value: @@ -31300,9 +31626,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: - default: *239 + default: *243 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31366,7 +31692,7 @@ paths: type: array items: *42 examples: - default: *221 + default: *225 headers: Link: *41 x-github: @@ -31407,9 +31733,9 @@ paths: type: number repositories: type: array - items: *240 + items: *244 examples: - default: &764 + default: &768 value: total_count: 1 repositories: @@ -31708,7 +32034,7 @@ paths: parameters: - *76 - *61 - - *234 + - *238 responses: '204': description: Response @@ -31732,7 +32058,7 @@ paths: parameters: - *76 - *61 - - *234 + - *238 responses: '204': description: Response @@ -31950,9 +32276,9 @@ paths: application/json: schema: type: array - items: *241 + items: *245 examples: - default: *242 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32017,7 +32343,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *243 + '201': *247 '404': *6 '422': *7 '409': *107 @@ -32056,7 +32382,7 @@ paths: application/json: schema: *68 examples: - default: *244 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32092,7 +32418,7 @@ paths: application/json: schema: *68 examples: - default: *245 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32123,7 +32449,7 @@ paths: application/json: schema: *65 examples: - default: *246 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32298,7 +32624,7 @@ paths: - *76 - *64 responses: - '200': *247 + '200': *251 '404': *6 x-github: githubCloudOnly: false @@ -32327,7 +32653,7 @@ paths: parameters: - *76 - *64 - - *248 + - *252 responses: '200': *70 '404': *6 @@ -32372,7 +32698,7 @@ paths: type: integer secrets: type: array - items: &249 + items: &253 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -32453,7 +32779,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &468 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -32488,7 +32814,7 @@ paths: - key_id - key examples: - default: &465 + default: &469 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32514,7 +32840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *76 - - &250 + - &254 name: secret_name description: The name of the secret. in: path @@ -32526,7 +32852,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *253 examples: default: value: @@ -32557,7 +32883,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -32614,7 +32940,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -32641,7 +32967,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '204': description: Response @@ -32668,7 +32994,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 - *19 - *17 responses: @@ -32686,9 +33012,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: &254 + default: &258 value: total_count: 1 repositories: @@ -32781,7 +33107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -32834,7 +33160,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -32868,7 +33194,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -32901,7 +33227,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *76 - - &449 + - &453 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)." @@ -32925,7 +33251,7 @@ paths: type: integer variables: type: array - items: &252 + items: &256 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -33063,7 +33389,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -33089,7 +33415,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *76 - - &253 + - &257 name: name description: The name of the variable. in: path @@ -33101,7 +33427,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *256 examples: default: value: @@ -33132,7 +33458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *76 - - *253 + - *257 requestBody: required: true content: @@ -33195,7 +33521,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *76 - - *253 + - *257 responses: '204': description: Response @@ -33222,7 +33548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *76 - - *253 + - *257 - *19 - *17 responses: @@ -33240,9 +33566,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: *254 + default: *258 '409': description: Response when the visibility of the variable is not set to `selected` @@ -33269,7 +33595,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *76 - - *253 + - *257 requestBody: required: true content: @@ -33319,7 +33645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *76 - - *253 + - *257 - name: repository_id in: path required: true @@ -33354,7 +33680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *76 - - *253 + - *257 - name: repository_id in: path required: true @@ -33412,7 +33738,7 @@ paths: required: true content: application/json: - schema: *255 + schema: *259 examples: default: *74 parameters: @@ -33714,12 +34040,12 @@ paths: required: - subject_digests examples: - default: &792 + default: &796 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &793 + withPredicateType: &797 value: subject_digests: - sha256:abc123 @@ -33778,7 +34104,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &794 + default: &798 value: attestations_subject_digests: - sha256:abc: @@ -34074,7 +34400,7 @@ paths: initiator: type: string examples: - default: &478 + default: &482 value: attestations: - bundle: @@ -34200,10 +34526,10 @@ paths: required: false schema: type: string - - *256 - - *257 - - *258 - - *259 + - *260 + - *261 + - *262 + - *263 - *17 responses: '200': @@ -34212,9 +34538,9 @@ paths: application/json: schema: type: array - items: *260 + items: *264 examples: - default: *261 + default: *265 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -34243,7 +34569,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34263,7 +34589,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *76 - - *176 + - *178 responses: '204': description: If the user is blocked @@ -34289,7 +34615,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -34310,7 +34636,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -34337,7 +34663,7 @@ paths: subcategory: bypass-requests parameters: - *76 - - &264 + - &268 name: repository_name description: The name of the repository to filter on. in: query @@ -34356,9 +34682,9 @@ paths: application/json: schema: type: array - items: *262 + items: *266 examples: - default: *263 + default: *267 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -34382,7 +34708,7 @@ paths: subcategory: delegated-bypass parameters: - *76 - - *264 + - *268 - *92 - *93 - *94 @@ -34396,9 +34722,9 @@ paths: application/json: schema: type: array - items: *265 + items: *269 examples: - default: *266 + default: *270 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -34425,7 +34751,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &268 + schema: &272 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -34451,7 +34777,7 @@ paths: application/json: schema: type: array - items: &269 + items: &273 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -34482,7 +34808,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *267 + items: *271 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -34501,7 +34827,7 @@ paths: - string - 'null' format: date-time - state: *268 + state: *272 contact_link: description: The contact link of the campaign. type: @@ -34718,9 +35044,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: &270 + default: &274 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -34803,9 +35129,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: *270 + default: *274 '404': *6 '422': description: Unprocessable Entity @@ -34883,7 +35209,7 @@ paths: - string - 'null' format: uri - state: *268 + state: *272 examples: default: value: @@ -34893,9 +35219,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: *270 + default: *274 '400': description: Bad Request content: @@ -34962,8 +35288,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *76 - - *271 - - *272 + - *275 + - *276 - *97 - *98 - *19 @@ -34974,7 +35300,7 @@ paths: be returned. in: query required: false - schema: *273 + schema: *277 - name: sort description: The property by which to sort the results. in: query @@ -34990,7 +35316,7 @@ paths: be returned. in: query required: false - schema: &504 + schema: &508 type: string description: Severity of a code scanning alert. enum: @@ -35008,9 +35334,9 @@ paths: application/json: schema: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 headers: Link: *41 '404': *6 @@ -35225,7 +35551,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *276 + code_scanning_options: *280 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -35368,7 +35694,7 @@ paths: application/json: schema: *103 examples: - default: *277 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35396,9 +35722,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *282 examples: - default: *279 + default: *283 '304': *35 '403': *27 '404': *6 @@ -35485,7 +35811,7 @@ paths: application/json: schema: *103 examples: - default: *277 + default: *281 '304': *35 '403': *27 '404': *6 @@ -35907,7 +36233,7 @@ paths: default: value: default_for_new_repos: all - configuration: *277 + configuration: *281 '403': *27 '404': *6 x-github: @@ -35960,13 +36286,13 @@ paths: application/json: schema: type: array - items: *280 + items: *284 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *281 + repository: *285 '403': *27 '404': *6 x-github: @@ -36006,7 +36332,7 @@ paths: type: integer codespaces: type: array - items: &331 + items: &335 type: object title: Codespace description: A codespace. @@ -36037,11 +36363,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *240 + repository: *244 machine: anyOf: - type: 'null' - - &533 + - &537 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -36328,7 +36654,7 @@ paths: - pulls_url - recent_folders examples: - default: &332 + default: &336 value: total_count: 3 codespaces: @@ -36952,7 +37278,7 @@ paths: type: integer secrets: type: array - items: &282 + items: &286 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -36993,7 +37319,7 @@ paths: - updated_at - visibility examples: - default: &534 + default: &538 value: total_count: 2 secrets: @@ -37031,7 +37357,7 @@ paths: description: Response content: application/json: - schema: &535 + schema: &539 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -37066,7 +37392,7 @@ paths: - key_id - key examples: - default: &536 + default: &540 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37090,15 +37416,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '200': description: Response content: application/json: - schema: *282 + schema: *286 examples: - default: &538 + default: &542 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -37126,7 +37452,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -37181,7 +37507,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -37208,7 +37534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '204': description: Response @@ -37234,7 +37560,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 - *19 - *17 responses: @@ -37252,9 +37578,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: *254 + default: *258 '404': *6 x-github: githubCloudOnly: false @@ -37277,7 +37603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -37328,7 +37654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -37362,7 +37688,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -37951,13 +38277,13 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: - default: *170 + default: *172 '500': *38 '403': *27 '404': *6 - '422': *171 + '422': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38185,7 +38511,7 @@ paths: - 3 custom_roles: type: array - items: *283 + items: *287 examples: default: value: @@ -38277,7 +38603,7 @@ paths: required: true content: application/json: - schema: &286 + schema: &290 type: object properties: name: @@ -38319,9 +38645,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '422': *15 '404': *6 x-github: @@ -38346,7 +38672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *76 - - &285 + - &289 name: role_id description: The unique identifier of the role. in: path @@ -38358,9 +38684,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '404': *6 x-github: githubCloudOnly: true @@ -38383,12 +38709,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *76 - - *285 + - *289 requestBody: required: true content: application/json: - schema: &287 + schema: &291 type: object properties: name: @@ -38427,9 +38753,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '422': *15 '404': *6 x-github: @@ -38454,7 +38780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *76 - - *285 + - *289 responses: '204': description: Response @@ -38487,7 +38813,7 @@ paths: required: true content: application/json: - schema: *286 + schema: *290 examples: default: value: @@ -38501,9 +38827,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '422': *15 '404': *6 x-github: @@ -38534,15 +38860,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *76 - - *285 + - *289 responses: '200': description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '404': *6 x-github: githubCloudOnly: true @@ -38571,12 +38897,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *76 - - *285 + - *289 requestBody: required: true content: application/json: - schema: *287 + schema: *291 examples: default: value: @@ -38591,9 +38917,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '422': *15 '404': *6 x-github: @@ -38624,7 +38950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *76 - - *285 + - *289 responses: '204': description: Response @@ -38653,11 +38979,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *76 - - *288 - - *289 - - *290 - - *291 - *292 + - *293 + - *294 + - *295 + - *296 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -38673,14 +38999,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *293 - - *294 - - *295 + - *297 + - *298 + - *299 - *99 - *97 - *98 - - *296 - - *297 + - *300 + - *301 - *17 responses: '200': @@ -38689,9 +39015,9 @@ paths: application/json: schema: type: array - items: *298 + items: *302 examples: - default: *299 + default: *303 '304': *35 '400': *14 '403': *27 @@ -38735,7 +39061,7 @@ paths: type: integer secrets: type: array - items: &300 + items: &304 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38814,7 +39140,7 @@ paths: description: Response content: application/json: - schema: &560 + schema: &564 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38833,7 +39159,7 @@ paths: - key_id - key examples: - default: &561 + default: &565 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38857,13 +39183,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '200': description: Response content: application/json: - schema: *300 + schema: *304 examples: default: value: @@ -38892,7 +39218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -38947,7 +39273,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -38972,7 +39298,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '204': description: Response @@ -38997,7 +39323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 - *19 - *17 responses: @@ -39015,9 +39341,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: *254 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39039,7 +39365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -39090,7 +39416,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -39122,7 +39448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -39159,7 +39485,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - &569 + - &573 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -39167,7 +39493,7 @@ paths: required: false schema: type: string - - &570 + - &574 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -39175,7 +39501,7 @@ paths: required: false schema: type: string - - &571 + - &575 name: time_period description: |- The time period to filter by. @@ -39191,7 +39517,7 @@ paths: - week - month default: month - - &572 + - &576 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -39206,7 +39532,7 @@ paths: - denied - all default: all - - *264 + - *268 - *17 - *19 responses: @@ -39216,7 +39542,7 @@ paths: application/json: schema: type: array - items: &573 + items: &577 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -39379,7 +39705,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &574 + default: &578 value: - id: 21 number: 42 @@ -39466,11 +39792,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - *264 + - *268 - *92 - *93 - *94 - - &575 + - &579 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -39496,7 +39822,7 @@ paths: application/json: schema: type: array - items: &576 + items: &580 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -39623,7 +39949,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &577 + default: &581 value: - id: 21 number: 42 @@ -39711,7 +40037,7 @@ paths: application/json: schema: type: array - items: &341 + items: &345 title: Package description: A software package type: object @@ -39764,7 +40090,7 @@ paths: repository: anyOf: - type: 'null' - - *240 + - *244 created_at: type: string format: date-time @@ -39782,7 +40108,7 @@ paths: - created_at - updated_at examples: - default: &342 + default: &346 value: - id: 197 name: hello_docker @@ -39870,7 +40196,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: 200-response: value: @@ -39966,7 +40292,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &424 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -40056,7 +40382,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &421 + default: &425 value: group_id: '123' group_name: Octocat admins @@ -40111,7 +40437,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &422 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -40151,7 +40477,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &419 + default: &423 value: groups: - group_id: '123' @@ -40195,7 +40521,7 @@ paths: application/json: schema: type: array - items: &323 + items: &327 title: Organization Invitation description: Organization Invitation type: object @@ -40249,7 +40575,7 @@ paths: - invitation_teams_url - node_id examples: - default: &324 + default: &328 value: - id: 1 login: monalisa @@ -40316,7 +40642,7 @@ paths: application/json: schema: type: array - items: &373 + items: &377 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -40330,7 +40656,7 @@ paths: - name - description examples: - default: &374 + default: &378 value: - name: add_assignee description: Assign or remove a user @@ -40371,7 +40697,7 @@ paths: application/json: schema: type: array - items: &301 + items: &305 title: Org Hook description: Org Hook type: object @@ -40554,9 +40880,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: &302 + default: &306 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -40601,7 +40927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *76 - - &303 + - &307 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. @@ -40614,9 +40940,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *302 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -40638,7 +40964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *76 - - *303 + - *307 requestBody: required: false content: @@ -40684,7 +41010,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: default: value: @@ -40724,7 +41050,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *76 - - *303 + - *307 responses: '204': description: Response @@ -40750,7 +41076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *76 - - *303 + - *307 responses: '200': description: Response @@ -40779,7 +41105,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *76 - - *303 + - *307 requestBody: required: false content: @@ -40828,9 +41154,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *76 - - *303 + - *307 - *17 - - *304 + - *308 responses: '200': description: Response @@ -40838,9 +41164,9 @@ paths: application/json: schema: type: array - items: *305 + items: *309 examples: - default: *306 + default: *310 '400': *14 '422': *15 x-github: @@ -40864,16 +41190,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *76 - - *303 + - *307 - *16 responses: '200': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '400': *14 '422': *15 x-github: @@ -40897,7 +41223,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *76 - - *303 + - *307 - *16 responses: '202': *37 @@ -40924,7 +41250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *76 - - *303 + - *307 responses: '204': description: Response @@ -40947,7 +41273,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *76 - - &313 + - &317 name: actor_type in: path description: The type of the actor @@ -40960,14 +41286,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &314 + - &318 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &309 + - &313 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`.' @@ -40975,7 +41301,7 @@ paths: required: true schema: type: string - - &310 + - &314 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) @@ -41070,12 +41396,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *76 - - *309 - - *310 + - *313 + - *314 - *19 - *17 - *99 - - &319 + - &323 name: sort description: The property to sort the results by. in: query @@ -41155,14 +41481,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *76 - - *309 - - *310 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &311 + schema: &315 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -41178,7 +41504,7 @@ paths: type: integer format: int64 examples: - default: &312 + default: &316 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -41199,23 +41525,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *76 - - &315 + - &319 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *309 - - *310 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *311 + schema: *315 examples: - default: *312 + default: *316 x-github: enabledForGitHubApps: true category: orgs @@ -41234,18 +41560,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *76 - - *309 - - *310 - *313 - *314 + - *317 + - *318 responses: '200': description: Response content: application/json: - schema: *311 + schema: *315 examples: - default: *312 + default: *316 x-github: enabledForGitHubApps: true category: orgs @@ -41263,9 +41589,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *76 - - *309 - - *310 - - &316 + - *313 + - *314 + - &320 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -41278,7 +41604,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &321 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -41294,7 +41620,7 @@ paths: type: integer format: int64 examples: - default: &318 + default: &322 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -41331,18 +41657,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *76 - - *315 - - *309 - - *310 - - *316 + - *319 + - *313 + - *314 + - *320 responses: '200': description: Response content: application/json: - schema: *317 + schema: *321 examples: - default: *318 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -41360,19 +41686,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *76 + - *317 + - *318 - *313 - *314 - - *309 - - *310 - - *316 + - *320 responses: '200': description: Response content: application/json: - schema: *317 + schema: *321 examples: - default: *318 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -41390,13 +41716,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *76 - - *315 - - *309 - - *310 + - *319 + - *313 + - *314 - *19 - *17 - *99 - - *319 + - *323 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -41480,7 +41806,7 @@ paths: application/json: schema: *20 examples: - default: &608 + default: &612 value: id: 1 account: @@ -41646,12 +41972,12 @@ paths: application/json: schema: anyOf: - - &321 + - &325 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &320 + limit: &324 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -41679,7 +42005,7 @@ paths: properties: {} additionalProperties: false examples: - default: &322 + default: &326 value: limit: collaborators_only origin: organization @@ -41708,13 +42034,13 @@ paths: required: true content: application/json: - schema: &609 + schema: &613 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *320 + limit: *324 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -41739,9 +42065,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *325 examples: - default: *322 + default: *326 '422': *15 x-github: githubCloudOnly: false @@ -41819,9 +42145,9 @@ paths: application/json: schema: type: array - items: *323 + items: *327 examples: - default: *324 + default: *328 headers: Link: *41 '404': *6 @@ -41899,7 +42225,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *327 examples: default: value: @@ -41956,7 +42282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *76 - - &325 + - &329 name: invitation_id description: The unique identifier of the invitation. in: path @@ -41990,7 +42316,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *76 - - *325 + - *329 - *17 - *19 responses: @@ -42000,9 +42326,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: &340 + default: &344 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -42045,7 +42371,7 @@ paths: application/json: schema: type: array - items: *326 + items: *330 examples: default: value: @@ -42133,9 +42459,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *330 examples: - default: &327 + default: &331 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -42168,7 +42494,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *76 - - &328 + - &332 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -42224,9 +42550,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *330 examples: - default: *327 + default: *331 '404': *6 '422': *7 x-github: @@ -42251,7 +42577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *76 - - *328 + - *332 responses: '204': description: Response @@ -42314,7 +42640,7 @@ paths: - closed - all default: open - - *329 + - *333 - name: type description: Can be the name of an issue type. in: query @@ -42333,7 +42659,7 @@ paths: - comments default: created - *99 - - *183 + - *185 - *17 - *19 responses: @@ -42343,9 +42669,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *330 + default: *334 headers: Link: *41 '404': *6 @@ -42405,7 +42731,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '422': *15 @@ -42426,7 +42752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response if requester is an organization member and user is @@ -42461,7 +42787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -42488,7 +42814,7 @@ paths: - *17 - *19 - *76 - - *176 + - *178 responses: '200': description: Response @@ -42504,9 +42830,9 @@ paths: type: integer codespaces: type: array - items: *331 + items: *335 examples: - default: *332 + default: *336 '304': *35 '500': *38 '401': *23 @@ -42532,8 +42858,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *76 - - *176 - - &333 + - *178 + - &337 name: codespace_name in: path required: true @@ -42567,16 +42893,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *76 - - *176 - - *333 + - *178 + - *337 responses: '200': description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: &532 + default: &536 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42750,7 +43076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *76 - - *176 + - *178 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -42826,13 +43152,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 responses: '200': description: Response content: application/json: - schema: &334 + schema: &338 title: Org Membership description: Org Membership type: object @@ -42901,7 +43227,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &335 + response-if-user-has-an-active-admin-membership-with-organization: &339 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42970,7 +43296,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 requestBody: required: false content: @@ -42998,9 +43324,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: - response-if-user-already-had-membership-with-organization: *335 + response-if-user-already-had-membership-with-organization: *339 '422': *15 '403': *27 x-github: @@ -43025,7 +43351,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -43072,7 +43398,7 @@ paths: application/json: schema: type: array - items: &336 + items: &340 title: Migration description: A migration. type: object @@ -43410,7 +43736,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -43589,7 +43915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *76 - - &337 + - &341 name: migration_id description: The unique identifier of the migration. in: path @@ -43617,7 +43943,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -43787,7 +44113,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *76 - - *337 + - *341 responses: '302': description: Response @@ -43809,7 +44135,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *76 - - *337 + - *341 responses: '204': description: Response @@ -43833,8 +44159,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *76 - - *337 - - &776 + - *341 + - &780 name: repo_name description: repo_name parameter in: path @@ -43862,7 +44188,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *76 - - *337 + - *341 - *17 - *19 responses: @@ -43872,9 +44198,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: &347 + default: &351 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44083,7 +44409,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &338 + items: &342 title: Organization Role description: Organization roles type: object @@ -44292,7 +44618,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *342 examples: default: value: @@ -44344,7 +44670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -44370,8 +44696,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *76 - - *178 - - *285 + - *180 + - *289 responses: '204': description: Response @@ -44401,8 +44727,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *76 - - *178 - - *285 + - *180 + - *289 responses: '204': description: Response @@ -44428,7 +44754,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -44454,8 +44780,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *76 - - *176 - - *285 + - *178 + - *289 responses: '204': description: Response @@ -44486,8 +44812,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *76 - - *176 - - *285 + - *178 + - *289 responses: '204': description: Response @@ -44516,13 +44842,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *76 - - *285 + - *289 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: default: value: @@ -44580,7 +44906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *76 - - *285 + - *289 requestBody: required: true content: @@ -44619,7 +44945,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *342 examples: default: value: @@ -44673,7 +44999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *76 - - *285 + - *289 responses: '204': description: Response @@ -44699,7 +45025,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *76 - - *285 + - *289 - *17 - *19 responses: @@ -44778,7 +45104,7 @@ paths: parent: anyOf: - type: 'null' - - *339 + - *343 type: description: The ownership type of the team type: string @@ -44811,7 +45137,7 @@ paths: - type - parent examples: - default: *340 + default: *344 headers: Link: *41 '404': @@ -44841,7 +45167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *76 - - *285 + - *289 - *17 - *19 responses: @@ -44870,7 +45196,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *339 + items: *343 name: type: - string @@ -44987,7 +45313,7 @@ paths: - type - url examples: - default: *175 + default: *177 headers: Link: *41 '404': @@ -45038,7 +45364,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -45064,7 +45390,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *76 - - *176 + - *178 requestBody: required: false content: @@ -45122,7 +45448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -45180,7 +45506,7 @@ paths: - nuget - container - *76 - - &778 + - &782 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -45216,12 +45542,12 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: *342 + default: *346 '403': *27 '401': *23 - '400': &780 + '400': &784 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45243,7 +45569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &343 + - &347 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 @@ -45261,7 +45587,7 @@ paths: - docker - nuget - container - - &344 + - &348 name: package_name description: The name of the package. in: path @@ -45274,7 +45600,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *345 examples: default: value: @@ -45326,8 +45652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 responses: '204': @@ -45360,8 +45686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 - name: token description: package token @@ -45394,8 +45720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 - *19 - *17 @@ -45416,7 +45742,7 @@ paths: application/json: schema: type: array - items: &345 + items: &349 title: Package Version description: A version of a software package type: object @@ -45551,10 +45877,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: - - *343 - - *344 + - *347 + - *348 - *76 - - &346 + - &350 name: package_version_id description: Unique identifier of the package version. in: path @@ -45566,7 +45892,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -45602,10 +45928,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 - - *346 + - *350 responses: '204': description: Response @@ -45637,10 +45963,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 - - *346 + - *350 responses: '204': description: Response @@ -45670,7 +45996,7 @@ paths: - *76 - *17 - *19 - - &348 + - &352 name: sort description: The property by which to sort the results. in: query @@ -45681,7 +46007,7 @@ paths: - created_at default: created_at - *99 - - &349 + - &353 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -45693,7 +46019,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &350 + - &354 name: repository description: The name of the repository to use to filter the results. in: query @@ -45702,7 +46028,7 @@ paths: type: string examples: - Hello-World - - &351 + - &355 name: permission description: The permission to use to filter the results. in: query @@ -45711,7 +46037,7 @@ paths: type: string examples: - issues_read - - &352 + - &356 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) @@ -45721,7 +46047,7 @@ paths: schema: type: string format: date-time - - &353 + - &357 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) @@ -45731,7 +46057,7 @@ paths: schema: type: string format: date-time - - &354 + - &358 name: token_id description: The ID of the token in: query @@ -46048,9 +46374,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -46076,14 +46402,14 @@ paths: - *76 - *17 - *19 - - *348 - - *99 - - *349 - - *350 - - *351 - *352 + - *99 - *353 - *354 + - *355 + - *356 + - *357 + - *358 responses: '500': *38 '422': *15 @@ -46365,9 +46691,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -46409,7 +46735,7 @@ paths: type: integer configurations: type: array - items: &355 + items: &359 title: Organization private registry description: Private registry configuration for an organization type: object @@ -46668,7 +46994,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &356 + org-private-registry-with-selected-visibility: &360 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -46760,15 +47086,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *76 - - *250 + - *254 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *355 + schema: *359 examples: - default: *356 + default: *360 '404': *6 x-github: githubCloudOnly: false @@ -46790,7 +47116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -46887,7 +47213,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *76 - - *250 + - *254 responses: '204': description: Response @@ -46933,7 +47259,7 @@ paths: application/json: schema: type: array - items: &357 + items: &361 title: Project description: Projects are a way to organize columns and cards of work. @@ -47115,7 +47441,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -47153,7 +47479,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &436 + '410': &440 description: Gone content: application/json: @@ -47196,7 +47522,7 @@ paths: application/json: schema: type: array - items: &358 + items: &362 title: Projects v2 Project description: A projects v2 project type: object @@ -47270,7 +47596,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &853 + - &857 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -47355,7 +47681,7 @@ paths: - deleted_at - deleted_by examples: - default: &359 + default: &363 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -47458,7 +47784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &360 + - &364 name: project_number description: The project's number. in: path @@ -47471,9 +47797,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *362 examples: - default: *359 + default: *363 headers: Link: *41 '304': *35 @@ -47495,7 +47821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *360 + - *364 - *76 - *17 - *97 @@ -47507,7 +47833,7 @@ paths: application/json: schema: type: array - items: &361 + items: &365 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47657,7 +47983,7 @@ paths: - updated_at - project_url examples: - default: &362 + default: &366 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47700,8 +48026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *360 - - &797 + - *364 + - &801 name: field_id description: The unique identifier of the field. in: path @@ -47714,9 +48040,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *365 examples: - default: *362 + default: *366 headers: Link: *41 '304': *35 @@ -47739,7 +48065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *360 + - *364 - *76 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -47770,7 +48096,7 @@ paths: application/json: schema: type: array - items: &367 + items: &371 title: Projects v2 Item description: An item belonging to a project type: object @@ -47787,7 +48113,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &365 + content_type: &369 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -47844,7 +48170,7 @@ paths: - updated_at - archived_at examples: - default: &368 + default: &372 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -48539,7 +48865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *76 - - *360 + - *364 requestBody: required: true description: Details of the item to add to the project. @@ -48576,7 +48902,7 @@ paths: description: Response content: application/json: - schema: &798 + schema: &802 title: Projects v2 Item description: An item belonging to a project type: object @@ -48589,8 +48915,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *193 - - &545 + - *195 + - &549 title: Pull Request Simple description: Pull Request Simple type: object @@ -48710,7 +49036,7 @@ paths: milestone: anyOf: - type: 'null' - - *363 + - *367 active_lock_reason: type: - string @@ -48765,7 +49091,7 @@ paths: type: - array - 'null' - items: *267 + items: *271 head: type: object properties: @@ -48809,7 +49135,7 @@ paths: _links: type: object properties: - comments: &364 + comments: &368 title: Link description: Hypermedia Link type: object @@ -48818,13 +49144,13 @@ paths: type: string required: - href - commits: *364 - statuses: *364 - html: *364 - issue: *364 - review_comments: *364 - review_comment: *364 - self: *364 + commits: *368 + statuses: *368 + html: *368 + issue: *368 + review_comments: *368 + review_comment: *368 + self: *368 required: - comments - commits @@ -48834,8 +49160,8 @@ paths: - review_comments - review_comment - self - author_association: *180 - auto_merge: &651 + author_association: *182 + auto_merge: &655 title: Auto merge description: The status of auto merging a pull request. type: @@ -48937,7 +49263,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *365 + content_type: *369 creator: *4 created_at: type: string @@ -48974,7 +49300,7 @@ paths: - updated_at - archived_at examples: - issue: &366 + issue: &370 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -49029,7 +49355,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *366 + pull_request: *370 '304': *35 '403': *27 '401': *23 @@ -49049,9 +49375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *360 + - *364 - *76 - - &369 + - &373 name: item_id description: The unique identifier of the project item. in: path @@ -49075,9 +49401,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *371 examples: - default: *368 + default: *372 headers: Link: *41 '304': *35 @@ -49098,9 +49424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *360 + - *364 - *76 - - *369 + - *373 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49173,13 +49499,13 @@ paths: description: Response content: application/json: - schema: *367 + schema: *371 examples: - text_field: *368 - number_field: *368 - date_field: *368 - single_select_field: *368 - iteration_field: *368 + text_field: *372 + number_field: *372 + date_field: *372 + single_select_field: *372 + iteration_field: *372 '401': *23 '403': *27 '404': *6 @@ -49199,9 +49525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *360 + - *364 - *76 - - *369 + - *373 responses: '204': description: Response @@ -49364,7 +49690,7 @@ paths: required: true content: application/json: - schema: *370 + schema: *374 examples: default: value: @@ -49470,7 +49796,7 @@ paths: - octocat/Hello-World properties: type: array - items: &371 + items: &375 title: Custom Property Value description: Custom property name and associated value type: object @@ -49560,7 +49886,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *371 + items: *375 required: - repository_names - properties @@ -49613,7 +49939,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -49633,7 +49959,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response if user is a public member @@ -49658,7 +49984,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -49680,7 +50006,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -49751,9 +50077,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -49957,7 +50283,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &442 title: Full Repository description: Full Repository type: object @@ -50403,7 +50729,7 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 organization: anyOf: - type: 'null' @@ -50422,7 +50748,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &550 + code_of_conduct: &554 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50452,7 +50778,7 @@ paths: - key - name - html_url - security_and_analysis: *372 + security_and_analysis: *376 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50536,7 +50862,7 @@ paths: - network_count - subscribers_count examples: - default: &440 + default: &444 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51062,9 +51388,9 @@ paths: application/json: schema: type: array - items: *373 + items: *377 examples: - default: *374 + default: *378 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51089,7 +51415,7 @@ paths: - *76 - *17 - *19 - - &674 + - &678 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51181,11 +51507,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *375 + conditions: *379 rules: type: array description: An array of rules within the ruleset. - items: &377 + items: &381 title: Repository Rule type: object description: A repository rule. @@ -51249,7 +51575,7 @@ paths: application/json: schema: *158 examples: - default: &376 + default: &380 value: id: 21 name: super cool ruleset @@ -51304,7 +51630,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *76 - - &676 + - &680 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 @@ -51314,16 +51640,16 @@ paths: schema: type: string x-multi-segment: true - - *264 + - *268 - *94 - - &677 + - &681 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 - - &678 + - &682 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51343,7 +51669,7 @@ paths: description: Response content: application/json: - schema: &679 + schema: &683 title: Rule Suites description: Response type: array @@ -51399,7 +51725,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &680 + default: &684 value: - id: 21 actor_id: 12 @@ -51443,7 +51769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *76 - - &681 + - &685 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51459,7 +51785,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &686 title: Rule Suite description: Response type: object @@ -51566,7 +51892,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &683 + default: &687 value: id: 21 actor_id: 12 @@ -51641,7 +51967,7 @@ paths: application/json: schema: *158 examples: - default: *376 + default: *380 '404': *6 '500': *38 put: @@ -51690,11 +52016,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *375 + conditions: *379 rules: description: An array of rules within the ruleset. type: array - items: *377 + items: *381 examples: default: value: @@ -51731,7 +52057,7 @@ paths: application/json: schema: *158 examples: - default: *376 + default: *380 '404': *6 '500': *38 delete: @@ -51790,7 +52116,7 @@ paths: type: array items: *162 examples: - default: *378 + default: *382 '404': *6 '500': *38 x-github: @@ -51827,7 +52153,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *383 examples: default: value: @@ -51890,14 +52216,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *76 - - *380 - - *381 - - *382 - - *383 + - *384 + - *385 + - *386 + - *387 - *99 - *19 - *17 - - &685 + - &689 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 @@ -51907,7 +52233,7 @@ paths: required: false schema: type: string - - &686 + - &690 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 @@ -51917,10 +52243,10 @@ paths: required: false schema: type: string - - *384 - - *385 - - *386 - - *387 + - *388 + - *389 + - *390 + - *391 responses: '200': description: Response @@ -51928,9 +52254,9 @@ paths: application/json: schema: type: array - items: *388 + items: *392 examples: - default: *389 + default: *393 headers: Link: *41 '404': *6 @@ -51965,9 +52291,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *394 examples: - default: *391 + default: *395 '403': *27 '404': *6 patch: @@ -52120,7 +52446,7 @@ paths: application/json: schema: type: array - items: &707 + items: &711 description: A repository security advisory. type: object properties: @@ -52364,7 +52690,7 @@ paths: login: type: string description: The username of the user credited. - type: *392 + type: *396 credits_detailed: type: - array @@ -52375,7 +52701,7 @@ paths: type: object properties: user: *4 - type: *392 + type: *396 state: type: string description: The state of the user's acceptance of the @@ -52401,7 +52727,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *267 + items: *271 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -52439,7 +52765,7 @@ paths: - private_fork additionalProperties: false examples: - default: &708 + default: &712 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -52826,9 +53152,9 @@ paths: application/json: schema: type: array - items: *339 + items: *343 examples: - default: *340 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52852,7 +53178,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -52878,7 +53204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -52913,9 +53239,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *397 examples: - default: *394 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52940,7 +53266,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *76 - - *395 + - *399 - *17 - *19 responses: @@ -52948,9 +53274,9 @@ paths: description: Success content: application/json: - schema: *396 + schema: *400 examples: - default: *397 + default: *401 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52978,9 +53304,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *402 examples: - default: *399 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53008,9 +53334,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *404 examples: - default: *401 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53050,7 +53376,7 @@ paths: type: array items: *122 examples: - default: *402 + default: *406 headers: Link: *41 x-github: @@ -53251,15 +53577,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *76 - - *403 + - *407 responses: '200': description: Response content: application/json: - schema: *404 + schema: *408 examples: - default: *405 + default: *409 headers: Link: *41 x-github: @@ -53297,7 +53623,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &431 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -53349,7 +53675,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &428 + default: &432 value: groups: - group_id: '123' @@ -53395,7 +53721,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *76 - - *178 + - *180 - 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`). @@ -53427,13 +53753,13 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: - default: *170 + default: *172 '500': *38 '403': *27 '404': *6 - '422': *171 + '422': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53461,9 +53787,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 headers: Link: *41 '403': *27 @@ -53557,7 +53883,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &410 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -53631,7 +53957,7 @@ paths: parent: anyOf: - type: 'null' - - *339 + - *343 members_count: type: integer examples: @@ -53956,7 +54282,7 @@ paths: - repos_count - organization examples: - default: &407 + default: &411 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54027,15 +54353,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *76 - - *178 + - *180 responses: '200': description: Response content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '404': *6 x-github: githubCloudOnly: false @@ -54057,7 +54383,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *76 - - *178 + - *180 requestBody: required: false content: @@ -54120,16 +54446,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '201': description: Response content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '404': *6 '422': *15 '403': *27 @@ -54155,7 +54481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -54182,7 +54508,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *76 - - *178 + - *180 - *99 - *17 - *19 @@ -54199,7 +54525,7 @@ paths: application/json: schema: type: array - items: &408 + items: &412 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -54290,7 +54616,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *181 + reactions: *183 required: - author - body @@ -54310,7 +54636,7 @@ paths: - updated_at - url examples: - default: &751 + default: &755 value: - author: login: octocat @@ -54385,7 +54711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *76 - - *178 + - *180 requestBody: required: true content: @@ -54419,9 +54745,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: &409 + default: &413 value: author: login: octocat @@ -54494,8 +54820,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *76 - - *178 - - &410 + - *180 + - &414 name: discussion_number description: The number that identifies the discussion. in: path @@ -54507,9 +54833,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: *409 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54532,8 +54858,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *76 - - *178 - - *410 + - *180 + - *414 requestBody: required: false content: @@ -54556,9 +54882,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: &752 + default: &756 value: author: login: octocat @@ -54629,8 +54955,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *76 - - *178 - - *410 + - *180 + - *414 responses: '204': description: Response @@ -54657,8 +54983,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *76 - - *178 - - *410 + - *180 + - *414 - *99 - *17 - *19 @@ -54669,7 +54995,7 @@ paths: application/json: schema: type: array - items: &411 + items: &415 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -54734,7 +55060,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *181 + reactions: *183 required: - author - body @@ -54749,7 +55075,7 @@ paths: - updated_at - url examples: - default: &753 + default: &757 value: - author: login: octocat @@ -54818,8 +55144,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *76 - - *178 - - *410 + - *180 + - *414 requestBody: required: true content: @@ -54841,9 +55167,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: &412 + default: &416 value: author: login: octocat @@ -54910,9 +55236,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *76 - - *178 - - *410 - - &413 + - *180 + - *414 + - &417 name: comment_number description: The number that identifies the comment. in: path @@ -54924,9 +55250,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: *412 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54949,9 +55275,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *76 - - *178 - - *410 - - *413 + - *180 + - *414 + - *417 requestBody: required: true content: @@ -54973,9 +55299,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: &754 + default: &758 value: author: login: octocat @@ -55040,9 +55366,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *76 - - *178 - - *410 - - *413 + - *180 + - *414 + - *417 responses: '204': description: Response @@ -55069,9 +55395,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *76 - - *178 - - *410 - - *413 + - *180 + - *414 + - *417 - 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. @@ -55097,7 +55423,7 @@ paths: application/json: schema: type: array - items: &414 + items: &418 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -55141,7 +55467,7 @@ paths: - content - created_at examples: - default: &416 + default: &420 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55192,9 +55518,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *76 - - *178 - - *410 - - *413 + - *180 + - *414 + - *417 requestBody: required: true content: @@ -55227,9 +55553,9 @@ paths: team discussion comment content: application/json: - schema: *414 + schema: *418 examples: - default: &415 + default: &419 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55258,9 +55584,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55284,10 +55610,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *76 - - *178 - - *410 - - *413 - - &417 + - *180 + - *414 + - *417 + - &421 name: reaction_id description: The unique identifier of the reaction. in: path @@ -55320,8 +55646,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *76 - - *178 - - *410 + - *180 + - *414 - 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. @@ -55347,9 +55673,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 x-github: @@ -55376,8 +55702,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *76 - - *178 - - *410 + - *180 + - *414 requestBody: required: true content: @@ -55409,16 +55735,16 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55442,9 +55768,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *76 - - *178 - - *410 - - *417 + - *180 + - *414 + - *421 responses: '204': description: Response @@ -55468,15 +55794,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *76 - - *178 + - *180 responses: '200': description: Response content: application/json: - schema: *418 + schema: *422 examples: - default: *419 + default: *423 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55496,7 +55822,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *178 + - *180 requestBody: required: true content: @@ -55520,9 +55846,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *424 examples: - default: *421 + default: *425 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55542,7 +55868,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -55567,7 +55893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *76 - - *178 + - *180 - *17 - *19 responses: @@ -55577,9 +55903,9 @@ paths: application/json: schema: type: array - items: *323 + items: *327 examples: - default: *324 + default: *328 headers: Link: *41 x-github: @@ -55602,7 +55928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *76 - - *178 + - *180 - name: role description: Filters members returned by their role in the team. in: query @@ -55625,7 +55951,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -55656,14 +55982,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *76 + - *180 - *178 - - *176 responses: '200': description: Response content: application/json: - schema: &422 + schema: &426 title: Team Membership description: Team Membership type: object @@ -55691,7 +56017,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &755 + response-if-user-is-a-team-maintainer: &759 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55728,8 +56054,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *76 + - *180 - *178 - - *176 requestBody: required: false content: @@ -55754,9 +56080,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *426 examples: - response-if-users-membership-with-team-is-now-pending: &756 + response-if-users-membership-with-team-is-now-pending: &760 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55792,8 +56118,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *76 + - *180 - *178 - - *176 responses: '204': description: Response @@ -55819,7 +56145,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *76 - - *178 + - *180 - *17 - *19 responses: @@ -55829,7 +56155,7 @@ paths: application/json: schema: type: array - items: &423 + items: &427 title: Team Project description: A team's access to a project. type: object @@ -55898,7 +56224,7 @@ paths: - updated_at - permissions examples: - default: &757 + default: &761 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -55962,8 +56288,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *76 - - *178 - - &424 + - *180 + - &428 name: project_id description: The unique identifier of the project. in: path @@ -55975,9 +56301,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *427 examples: - default: &758 + default: &762 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56040,8 +56366,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *76 - - *178 - - *424 + - *180 + - *428 requestBody: required: false content: @@ -56109,8 +56435,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *76 - - *178 - - *424 + - *180 + - *428 responses: '204': description: Response @@ -56138,7 +56464,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *76 - - *178 + - *180 - *17 - *19 responses: @@ -56148,9 +56474,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -56180,15 +56506,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *76 - - *178 - - *425 - - *426 + - *180 + - *429 + - *430 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &759 + schema: &763 title: Team Repository description: A team's access to a repository. type: object @@ -56214,7 +56540,7 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 forks: type: integer permissions: @@ -56830,9 +57156,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *76 - - *178 - - *425 - - *426 + - *180 + - *429 + - *430 requestBody: required: false content: @@ -56878,9 +57204,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *76 - - *178 - - *425 - - *426 + - *180 + - *429 + - *430 responses: '204': description: Response @@ -56907,15 +57233,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *76 - - *178 + - *180 responses: '200': description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -56938,7 +57264,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *76 - - *178 + - *180 requestBody: required: true content: @@ -56981,7 +57307,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: default: value: @@ -57014,7 +57340,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *76 - - *178 + - *180 - *17 - *19 responses: @@ -57024,9 +57350,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - response-if-child-teams-exist: &760 + response-if-child-teams-exist: &764 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57153,7 +57479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &429 + - &433 name: card_id description: The unique identifier of the card. in: path @@ -57165,7 +57491,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &434 title: Project Card description: Project cards represent a scope of work. type: object @@ -57240,7 +57566,7 @@ paths: - created_at - updated_at examples: - default: &431 + default: &435 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -57296,7 +57622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *429 + - *433 requestBody: required: false content: @@ -57326,9 +57652,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '304': *35 '403': *27 '401': *23 @@ -57355,7 +57681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *429 + - *433 responses: '204': description: Response @@ -57399,7 +57725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *429 + - *433 requestBody: required: true content: @@ -57512,7 +57838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &432 + - &436 name: column_id description: The unique identifier of the column. in: path @@ -57524,7 +57850,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &437 title: Project Column description: Project columns contain cards of work. type: object @@ -57578,7 +57904,7 @@ paths: - created_at - updated_at examples: - default: &434 + default: &438 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -57613,7 +57939,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *432 + - *436 requestBody: required: true content: @@ -57638,9 +57964,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *437 examples: - default: *434 + default: *438 '304': *35 '403': *27 '401': *23 @@ -57665,7 +57991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *432 + - *436 responses: '204': description: Response @@ -57694,7 +58020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *432 + - *436 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -57715,7 +58041,7 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: default: value: @@ -57774,7 +58100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *432 + - *436 requestBody: required: true content: @@ -57818,9 +58144,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '304': *35 '403': *27 '401': *23 @@ -57830,8 +58156,8 @@ paths: application/json: schema: oneOf: - - *217 - - *218 + - *221 + - *222 '503': description: Response content: @@ -57876,7 +58202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *432 + - *436 requestBody: required: true content: @@ -57937,15 +58263,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *424 + - *428 responses: '200': description: Response content: application/json: - schema: *357 + schema: *361 examples: - default: &435 + default: &439 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -58002,7 +58328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *424 + - *428 requestBody: required: false content: @@ -58051,9 +58377,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: - default: *435 + default: *439 '404': description: Not Found if the authenticated user does not have access to the project @@ -58074,7 +58400,7 @@ paths: items: type: string '401': *23 - '410': *436 + '410': *440 '422': *7 x-github: githubCloudOnly: false @@ -58097,7 +58423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *424 + - *428 responses: '204': description: Delete Success @@ -58118,7 +58444,7 @@ paths: items: type: string '401': *23 - '410': *436 + '410': *440 '404': *6 x-github: githubCloudOnly: false @@ -58142,7 +58468,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *424 + - *428 - 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 @@ -58169,7 +58495,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '404': *6 @@ -58199,8 +58525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *424 - - *176 + - *428 + - *178 requestBody: required: false content: @@ -58254,8 +58580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *424 - - *176 + - *428 + - *178 responses: '204': description: Response @@ -58286,8 +58612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *424 - - *176 + - *428 + - *178 responses: '200': description: Response @@ -58357,7 +58683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *424 + - *428 - *17 - *19 responses: @@ -58367,7 +58693,7 @@ paths: application/json: schema: type: array - items: *433 + items: *437 examples: default: value: @@ -58405,7 +58731,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *424 + - *428 requestBody: required: true content: @@ -58429,7 +58755,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *437 examples: default: value: @@ -58494,7 +58820,7 @@ paths: resources: type: object properties: - core: &437 + core: &441 title: Rate Limit type: object properties: @@ -58511,21 +58837,21 @@ paths: - remaining - reset - used - graphql: *437 - search: *437 - code_search: *437 - source_import: *437 - integration_manifest: *437 - code_scanning_upload: *437 - actions_runner_registration: *437 - scim: *437 - dependency_snapshots: *437 - dependency_sbom: *437 - code_scanning_autofix: *437 + graphql: *441 + search: *441 + code_search: *441 + source_import: *441 + integration_manifest: *441 + code_scanning_upload: *441 + actions_runner_registration: *441 + scim: *441 + dependency_snapshots: *441 + dependency_sbom: *441 + code_scanning_autofix: *441 required: - core - search - rate: *437 + rate: *441 required: - rate - resources @@ -58630,14 +58956,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *438 + schema: *442 examples: default-response: summary: Default response @@ -59142,7 +59468,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *439 + '301': *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59160,8 +59486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -59419,10 +59745,10 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 - '307': &441 + default: *444 + '307': &445 description: Temporary Redirect content: application/json: @@ -59451,8 +59777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -59474,7 +59800,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': *441 + '307': *445 '404': *6 '409': *107 x-github: @@ -59498,11 +59824,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 - - &456 + - &460 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59525,7 +59851,7 @@ paths: type: integer artifacts: type: array - items: &442 + items: &446 title: Artifact description: An artifact type: object @@ -59620,7 +59946,7 @@ paths: - expires_at - updated_at examples: - default: &457 + default: &461 value: total_count: 2 artifacts: @@ -59681,9 +60007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *425 - - *426 - - &443 + - *429 + - *430 + - &447 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59695,7 +60021,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *446 examples: default: value: @@ -59733,9 +60059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *425 - - *426 - - *443 + - *429 + - *430 + - *447 responses: '204': description: Response @@ -59759,9 +60085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *425 - - *426 - - *443 + - *429 + - *430 + - *447 - name: archive_format in: path required: true @@ -59775,7 +60101,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': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59798,14 +60124,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *444 + schema: *448 examples: default: value: @@ -59831,11 +60157,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: - - *425 - - *426 + - *429 + - *430 - *17 - *19 - - &445 + - &449 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 @@ -59869,7 +60195,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &450 title: Repository actions caches description: Repository actions caches type: object @@ -59919,7 +60245,7 @@ paths: - total_count - actions_caches examples: - default: &447 + default: &451 value: total_count: 1 actions_caches: @@ -59951,23 +60277,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: - - *425 - - *426 + - *429 + - *430 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *445 + - *449 responses: '200': description: Response content: application/json: - schema: *446 + schema: *450 examples: - default: *447 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59987,8 +60313,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: - - *425 - - *426 + - *429 + - *430 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60019,9 +60345,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: - - *425 - - *426 - - &448 + - *429 + - *430 + - &452 name: job_id description: The unique identifier of the job. in: path @@ -60033,7 +60359,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &464 title: Job description: Information of a job execution in a workflow run type: object @@ -60380,9 +60706,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: - - *425 - - *426 - - *448 + - *429 + - *430 + - *452 responses: '302': description: Response @@ -60410,9 +60736,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: - - *425 - - *426 - - *448 + - *429 + - *430 + - *452 requestBody: required: false content: @@ -60434,7 +60760,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -60458,8 +60784,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Status response @@ -60509,8 +60835,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -60544,7 +60870,7 @@ paths: description: Empty response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -60573,8 +60899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -60592,7 +60918,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &466 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60613,7 +60939,7 @@ paths: - created_at - updated_at examples: - default: &463 + default: &467 value: total_count: 2 secrets: @@ -60646,9 +60972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *425 - - *426 - - *449 + - *429 + - *430 + - *453 - *19 responses: '200': @@ -60665,7 +60991,7 @@ paths: type: integer variables: type: array - items: &466 + items: &470 title: Actions Variable type: object properties: @@ -60699,7 +61025,7 @@ paths: - created_at - updated_at examples: - default: &467 + default: &471 value: total_count: 2 variables: @@ -60732,8 +61058,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -60742,11 +61068,11 @@ paths: schema: type: object properties: - enabled: &450 + enabled: &454 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *227 + selected_actions_url: *231 sha_pinning_required: *50 required: - enabled @@ -60777,8 +61103,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -60789,7 +61115,7 @@ paths: schema: type: object properties: - enabled: *450 + enabled: *454 allowed_actions: *49 sha_pinning_required: *50 required: @@ -60822,14 +61148,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: &451 + schema: &455 type: object properties: access_level: @@ -60847,7 +61173,7 @@ paths: required: - access_level examples: - default: &452 + default: &456 value: access_level: organization x-github: @@ -60872,15 +61198,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: application/json: - schema: *451 + schema: *455 examples: - default: *452 + default: *456 responses: '204': description: Response @@ -60904,14 +61230,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *229 + schema: *233 examples: default: value: @@ -60935,8 +61261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Empty response for successful settings update @@ -60946,7 +61272,7 @@ paths: required: true content: application/json: - schema: *230 + schema: *234 examples: default: summary: Set retention days @@ -60970,8 +61296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -60979,7 +61305,7 @@ paths: application/json: schema: *51 examples: - default: *231 + default: *235 '404': *6 x-github: enabledForGitHubApps: true @@ -60998,8 +61324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -61033,14 +61359,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *232 + schema: *236 examples: default: *52 '403': *27 @@ -61062,13 +61388,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: application/json: - schema: *233 + schema: *237 examples: default: *52 responses: @@ -61094,8 +61420,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -61126,8 +61452,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -61159,14 +61485,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *236 + schema: *240 examples: default: *58 x-github: @@ -61189,8 +61515,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Success response @@ -61201,7 +61527,7 @@ paths: required: true content: application/json: - schema: *237 + schema: *241 examples: default: *58 x-github: @@ -61230,8 +61556,8 @@ paths: in: query schema: type: string - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -61275,8 +61601,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -61284,9 +61610,9 @@ paths: application/json: schema: type: array - items: *241 + items: *245 examples: - default: *242 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61308,8 +61634,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -61352,7 +61678,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *243 + '201': *247 '404': *6 '422': *7 '409': *107 @@ -61383,8 +61709,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: - - *425 - - *426 + - *429 + - *430 responses: '201': description: Response @@ -61392,7 +61718,7 @@ paths: application/json: schema: *68 examples: - default: *244 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61420,8 +61746,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: - - *425 - - *426 + - *429 + - *430 responses: '201': description: Response @@ -61429,7 +61755,7 @@ paths: application/json: schema: *68 examples: - default: *245 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61451,8 +61777,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: - - *425 - - *426 + - *429 + - *430 - *64 responses: '200': @@ -61461,7 +61787,7 @@ paths: application/json: schema: *65 examples: - default: *246 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61482,8 +61808,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: - - *425 - - *426 + - *429 + - *430 - *64 responses: '204': @@ -61510,8 +61836,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: - - *425 - - *426 + - *429 + - *430 - *64 responses: '200': *70 @@ -61536,8 +61862,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: - - *425 - - *426 + - *429 + - *430 - *64 requestBody: required: true @@ -61586,8 +61912,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: - - *425 - - *426 + - *429 + - *430 - *64 requestBody: required: true @@ -61637,11 +61963,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: - - *425 - - *426 + - *429 + - *430 - *64 responses: - '200': *247 + '200': *251 '404': *6 x-github: githubCloudOnly: false @@ -61668,10 +61994,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: - - *425 - - *426 + - *429 + - *430 - *64 - - *248 + - *252 responses: '200': *70 '404': *6 @@ -61699,9 +62025,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: - - *425 - - *426 - - &470 + - *429 + - *430 + - &474 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. @@ -61709,7 +62035,7 @@ paths: required: false schema: type: string - - &471 + - &475 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61717,7 +62043,7 @@ paths: required: false schema: type: string - - &472 + - &476 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -61726,7 +62052,7 @@ paths: required: false schema: type: string - - &473 + - &477 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 @@ -61753,7 +62079,7 @@ paths: - pending - *17 - *19 - - &474 + - &478 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)." @@ -61762,7 +62088,7 @@ paths: schema: type: string format: date-time - - &453 + - &457 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -61771,13 +62097,13 @@ paths: schema: type: boolean default: false - - &475 + - &479 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &476 + - &480 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -61800,7 +62126,7 @@ paths: type: integer workflow_runs: type: array - items: &454 + items: &458 title: Workflow Run description: An invocation of a workflow type: object @@ -61917,7 +62243,7 @@ paths: type: - array - 'null' - items: &495 + items: &499 title: Pull Request Minimal type: object properties: @@ -62044,7 +62370,7 @@ paths: head_commit: anyOf: - type: 'null' - - &499 + - &503 title: Simple Commit description: A commit. type: object @@ -62118,8 +62444,8 @@ paths: - timestamp - author - committer - repository: *240 - head_repository: *240 + repository: *244 + head_repository: *244 head_repository_id: type: integer examples: @@ -62159,7 +62485,7 @@ paths: - workflow_url - pull_requests examples: - default: &477 + default: &481 value: total_count: 1 workflow_runs: @@ -62395,24 +62721,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *425 - - *426 - - &455 + - *429 + - *430 + - &459 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *453 + - *457 responses: '200': description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: &458 + default: &462 value: id: 30433642 name: Build @@ -62653,9 +62979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '204': description: Response @@ -62678,9 +63004,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '200': description: Response @@ -62808,15 +63134,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '201': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -62843,12 +63169,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 - *17 - *19 - - *456 + - *460 responses: '200': description: Response @@ -62864,9 +63190,9 @@ paths: type: integer artifacts: type: array - items: *442 + items: *446 examples: - default: *457 + default: *461 headers: Link: *41 x-github: @@ -62890,25 +63216,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *425 - - *426 - - *455 - - &459 + - *429 + - *430 + - *459 + - &463 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *453 + - *457 responses: '200': description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *458 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62931,10 +63257,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: - - *425 - - *426 - - *455 + - *429 + - *430 - *459 + - *463 - *17 - *19 responses: @@ -62952,9 +63278,9 @@ paths: type: integer jobs: type: array - items: *460 + items: *464 examples: - default: &461 + default: &465 value: total_count: 1 jobs: @@ -63067,10 +63393,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *425 - - *426 - - *455 + - *429 + - *430 - *459 + - *463 responses: '302': description: Response @@ -63098,15 +63424,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '202': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -63133,9 +63459,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 requestBody: required: true content: @@ -63202,15 +63528,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '202': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -63237,9 +63563,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 - 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 @@ -63269,9 +63595,9 @@ paths: type: integer jobs: type: array - items: *460 + items: *464 examples: - default: *461 + default: *465 headers: Link: *41 x-github: @@ -63296,9 +63622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '302': description: Response @@ -63325,9 +63651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '204': description: Response @@ -63354,9 +63680,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '200': description: Response @@ -63425,7 +63751,7 @@ paths: items: type: object properties: - type: &578 + type: &582 type: string description: The type of reviewer. enum: @@ -63436,7 +63762,7 @@ paths: reviewer: anyOf: - *4 - - *267 + - *271 required: - environment - wait_timer @@ -63511,9 +63837,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 requestBody: required: true content: @@ -63563,7 +63889,7 @@ paths: application/json: schema: type: array - items: &564 + items: &568 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63675,7 +64001,7 @@ paths: - created_at - updated_at examples: - default: &565 + default: &569 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63731,9 +64057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 requestBody: required: false content: @@ -63755,7 +64081,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -63778,9 +64104,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 requestBody: required: false content: @@ -63802,7 +64128,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -63835,9 +64161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '200': description: Response @@ -63974,8 +64300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -63993,9 +64319,9 @@ paths: type: integer secrets: type: array - items: *462 + items: *466 examples: - default: *463 + default: *467 headers: Link: *41 x-github: @@ -64020,16 +64346,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *464 + schema: *468 examples: - default: *465 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64051,17 +64377,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '200': description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: &591 + default: &595 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64087,9 +64413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 requestBody: required: true content: @@ -64120,7 +64446,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -64146,9 +64472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '204': description: Response @@ -64173,9 +64499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *425 - - *426 - - *449 + - *429 + - *430 + - *453 - *19 responses: '200': @@ -64192,9 +64518,9 @@ paths: type: integer variables: type: array - items: *466 + items: *470 examples: - default: *467 + default: *471 headers: Link: *41 x-github: @@ -64217,8 +64543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -64245,7 +64571,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -64270,17 +64596,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *425 - - *426 - - *253 + - *429 + - *430 + - *257 responses: '200': description: Response content: application/json: - schema: *466 + schema: *470 examples: - default: &592 + default: &596 value: name: USERNAME value: octocat @@ -64306,9 +64632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *425 - - *426 - - *253 + - *429 + - *430 + - *257 requestBody: required: true content: @@ -64350,9 +64676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *425 - - *426 - - *253 + - *429 + - *430 + - *257 responses: '204': description: Response @@ -64377,8 +64703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -64396,7 +64722,7 @@ paths: type: integer workflows: type: array - items: &468 + items: &472 title: Workflow description: A GitHub Actions workflow type: object @@ -64514,9 +64840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *425 - - *426 - - &469 + - *429 + - *430 + - &473 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64531,7 +64857,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *472 examples: default: value: @@ -64564,9 +64890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *425 - - *426 - - *469 + - *429 + - *430 + - *473 responses: '204': description: Response @@ -64591,9 +64917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *425 - - *426 - - *469 + - *429 + - *430 + - *473 responses: '204': description: Response @@ -64644,9 +64970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *425 - - *426 - - *469 + - *429 + - *430 + - *473 responses: '204': description: Response @@ -64673,19 +64999,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: - - *425 - - *426 - - *469 - - *470 - - *471 - - *472 + - *429 + - *430 - *473 - - *17 - - *19 - *474 - - *453 - *475 - *476 + - *477 + - *17 + - *19 + - *478 + - *457 + - *479 + - *480 responses: '200': description: Response @@ -64701,9 +65027,9 @@ paths: type: integer workflow_runs: type: array - items: *454 + items: *458 examples: - default: *477 + default: *481 headers: Link: *41 x-github: @@ -64736,9 +65062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *425 - - *426 - - *469 + - *429 + - *430 + - *473 responses: '200': description: Response @@ -64799,8 +65125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *425 - - *426 + - *429 + - *430 - *99 - *17 - *97 @@ -64968,8 +65294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -64981,7 +65307,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '404': *6 @@ -65006,8 +65332,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: - - *425 - - *426 + - *429 + - *430 - name: assignee in: path required: true @@ -65043,8 +65369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -65156,8 +65482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *97 - *98 @@ -65213,7 +65539,7 @@ paths: initiator: type: string examples: - default: *478 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65233,8 +65559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -65242,7 +65568,7 @@ paths: application/json: schema: type: array - items: &479 + items: &483 title: Autolink reference description: An autolink reference. type: object @@ -65301,8 +65627,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -65341,9 +65667,9 @@ paths: description: response content: application/json: - schema: *479 + schema: *483 examples: - default: &480 + default: &484 value: id: 1 key_prefix: TICKET- @@ -65374,9 +65700,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: - - *425 - - *426 - - &481 + - *429 + - *430 + - &485 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65388,9 +65714,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *483 examples: - default: *480 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -65410,9 +65736,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: - - *425 - - *426 - - *481 + - *429 + - *430 + - *485 responses: '204': description: Response @@ -65436,8 +65762,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response if Dependabot is enabled @@ -65487,8 +65813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -65509,8 +65835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -65530,8 +65856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *425 - - *426 + - *429 + - *430 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65569,7 +65895,7 @@ paths: - url protected: type: boolean - protection: &483 + protection: &487 title: Branch Protection description: Branch Protection type: object @@ -65612,7 +65938,7 @@ paths: required: - contexts - checks - enforce_admins: &486 + enforce_admins: &490 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65629,7 +65955,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &488 + required_pull_request_reviews: &492 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -65651,7 +65977,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *267 + items: *271 apps: description: The list of apps with review dismissal access. @@ -65683,7 +66009,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *267 + items: *271 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65713,7 +66039,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &485 + restrictions: &489 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65776,7 +66102,7 @@ paths: type: string teams: type: array - items: *267 + items: *271 apps: type: array items: @@ -66006,9 +66332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *425 - - *426 - - &484 + - *429 + - *430 + - &488 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). @@ -66022,14 +66348,14 @@ paths: description: Response content: application/json: - schema: &494 + schema: &498 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &541 + commit: &545 title: Commit description: Commit type: object @@ -66068,7 +66394,7 @@ paths: author: anyOf: - type: 'null' - - &482 + - &486 title: Git User description: Metaproperties for Git author/committer information. @@ -66089,7 +66415,7 @@ paths: committer: anyOf: - type: 'null' - - *482 + - *486 message: type: string examples: @@ -66113,7 +66439,7 @@ paths: required: - sha - url - verification: &598 + verification: &602 title: Verification type: object properties: @@ -66149,14 +66475,14 @@ paths: author: oneOf: - *4 - - *251 + - *255 type: - 'null' - object committer: oneOf: - *4 - - *251 + - *255 type: - 'null' - object @@ -66193,7 +66519,7 @@ paths: type: integer files: type: array - items: &552 + items: &556 title: Diff Entry description: Diff Entry type: object @@ -66289,7 +66615,7 @@ paths: - self protected: type: boolean - protection: *483 + protection: *487 protection_url: type: string format: uri @@ -66398,7 +66724,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *439 + '301': *443 '404': *6 x-github: githubCloudOnly: false @@ -66420,15 +66746,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *483 + schema: *487 examples: default: value: @@ -66622,9 +66948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -66884,7 +67210,7 @@ paths: url: type: string format: uri - required_status_checks: &491 + required_status_checks: &495 title: Status Check Policy description: Status Check Policy type: object @@ -66965,7 +67291,7 @@ paths: items: *4 teams: type: array - items: *267 + items: *271 apps: type: array items: *5 @@ -66983,7 +67309,7 @@ paths: items: *4 teams: type: array - items: *267 + items: *271 apps: type: array items: *5 @@ -67043,7 +67369,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *485 + restrictions: *489 required_conversation_resolution: type: object properties: @@ -67155,9 +67481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67182,17 +67508,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: &487 + default: &491 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67214,17 +67540,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: *487 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67243,9 +67569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67270,17 +67596,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: &489 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67376,9 +67702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -67476,9 +67802,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: *489 + default: *493 '422': *15 x-github: githubCloudOnly: false @@ -67499,9 +67825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67528,17 +67854,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: &490 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67561,17 +67887,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: *490 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -67591,9 +67917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67618,17 +67944,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *491 + schema: *495 examples: - default: &492 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67654,9 +67980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -67708,9 +68034,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: - default: *492 + default: *496 '404': *6 '422': *15 x-github: @@ -67732,9 +68058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67758,9 +68084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response @@ -67794,9 +68120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -67863,9 +68189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -67929,9 +68255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: content: application/json: @@ -67997,15 +68323,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *485 + schema: *489 examples: default: value: @@ -68096,9 +68422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -68121,9 +68447,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: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response @@ -68133,7 +68459,7 @@ paths: type: array items: *5 examples: - default: &493 + default: &497 value: - id: 1 slug: octoapp @@ -68190,9 +68516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68226,7 +68552,7 @@ paths: type: array items: *5 examples: - default: *493 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -68247,9 +68573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68283,7 +68609,7 @@ paths: type: array items: *5 examples: - default: *493 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -68304,9 +68630,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68340,7 +68666,7 @@ paths: type: array items: *5 examples: - default: *493 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -68362,9 +68688,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: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response @@ -68372,9 +68698,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 '404': *6 x-github: githubCloudOnly: false @@ -68394,9 +68720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -68432,9 +68758,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 '422': *15 x-github: githubCloudOnly: false @@ -68455,9 +68781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -68493,9 +68819,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 '422': *15 x-github: githubCloudOnly: false @@ -68516,9 +68842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: content: application/json: @@ -68553,9 +68879,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 '422': *15 x-github: githubCloudOnly: false @@ -68577,9 +68903,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: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response @@ -68589,7 +68915,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '404': *6 x-github: githubCloudOnly: false @@ -68613,9 +68939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68648,7 +68974,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '422': *15 x-github: githubCloudOnly: false @@ -68673,9 +68999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68708,7 +69034,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '422': *15 x-github: githubCloudOnly: false @@ -68733,9 +69059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68768,7 +69094,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '422': *15 x-github: githubCloudOnly: false @@ -68795,9 +69121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68819,7 +69145,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: default: value: @@ -68933,8 +69259,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *425 - - *426 + - *429 + - *430 - *92 - *93 - *94 @@ -68948,9 +69274,9 @@ paths: application/json: schema: type: array - items: *262 + items: *266 examples: - default: *263 + default: *267 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -68970,8 +69296,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: bypass_request_number in: path required: true @@ -68985,7 +69311,7 @@ paths: description: Response content: application/json: - schema: *262 + schema: *266 examples: default: value: @@ -69044,8 +69370,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *425 - - *426 + - *429 + - *430 - *92 - *93 - *94 @@ -69059,9 +69385,9 @@ paths: application/json: schema: type: array - items: *265 + items: *269 examples: - default: *266 + default: *270 '404': *6 '403': *27 '500': *38 @@ -69085,8 +69411,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *425 - - *426 + - *429 + - *430 - name: bypass_request_number in: path required: true @@ -69098,7 +69424,7 @@ paths: description: A single bypass request. content: application/json: - schema: *265 + schema: *269 examples: default: value: @@ -69156,8 +69482,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *425 - - *426 + - *429 + - *430 - name: bypass_request_number in: path required: true @@ -69228,8 +69554,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *425 - - *426 + - *429 + - *430 - name: bypass_response_id in: path required: true @@ -69262,8 +69588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -69542,7 +69868,7 @@ paths: description: Response content: application/json: - schema: &496 + schema: &500 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69677,8 +70003,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *495 - deployment: &814 + items: *499 + deployment: &818 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69965,9 +70291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *425 - - *426 - - &497 + - *429 + - *430 + - &501 name: check_run_id description: The unique identifier of the check run. in: path @@ -69979,9 +70305,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *500 examples: - default: &498 + default: &502 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70081,9 +70407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *425 - - *426 - - *497 + - *429 + - *430 + - *501 requestBody: required: true content: @@ -70323,9 +70649,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *500 examples: - default: *498 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70345,9 +70671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *425 - - *426 - - *497 + - *429 + - *430 + - *501 - *17 - *19 responses: @@ -70457,15 +70783,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *425 - - *426 - - *497 + - *429 + - *430 + - *501 responses: '201': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -70503,8 +70829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -70526,7 +70852,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &500 + schema: &504 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70608,12 +70934,12 @@ paths: type: - array - 'null' - items: *495 + items: *499 app: anyOf: - type: 'null' - *5 - repository: *240 + repository: *244 created_at: type: - string @@ -70624,7 +70950,7 @@ paths: - string - 'null' format: date-time - head_commit: *499 + head_commit: *503 latest_check_runs_count: type: integer check_runs_url: @@ -70652,7 +70978,7 @@ paths: - check_runs_url - pull_requests examples: - default: &501 + default: &505 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70943,9 +71269,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *500 + schema: *504 examples: - default: *501 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70964,8 +71290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -71026,7 +71352,7 @@ paths: required: - app_id - setting - repository: *240 + repository: *244 examples: default: value: @@ -71274,9 +71600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *425 - - *426 - - &502 + - *429 + - *430 + - &506 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71288,9 +71614,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *504 examples: - default: *501 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71313,17 +71639,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: - - *425 - - *426 - - *502 - - &547 + - *429 + - *430 + - *506 + - &551 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &548 + - &552 name: status description: Returns check runs with the specified `status`. in: query @@ -71362,9 +71688,9 @@ paths: type: integer check_runs: type: array - items: *496 + items: *500 examples: - default: &549 + default: &553 value: total_count: 1 check_runs: @@ -71466,15 +71792,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *425 - - *426 - - *502 + - *429 + - *430 + - *506 responses: '201': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -71501,21 +71827,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: - - *425 - - *426 - - *271 - - *272 + - *429 + - *430 + - *275 + - *276 - *19 - *17 - - &518 + - &522 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: *503 - - &519 + schema: *507 + - &523 name: pr description: The number of the pull request for the results you want to list. in: query @@ -71540,13 +71866,13 @@ paths: be returned. in: query required: false - schema: *273 + schema: *277 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *504 + schema: *508 responses: '200': description: Response @@ -71562,7 +71888,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *505 + instances_url: *509 state: *102 fixed_at: *119 dismissed_by: @@ -71570,11 +71896,11 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *506 - dismissed_comment: *507 - rule: *508 - tool: *509 - most_recent_instance: *510 + dismissed_reason: *510 + dismissed_comment: *511 + rule: *512 + tool: *513 + most_recent_instance: *514 dismissal_approved_by: anyOf: - type: 'null' @@ -71697,7 +72023,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &511 + '403': &515 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -71724,9 +72050,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: - - *425 - - *426 - - &512 + - *429 + - *430 + - &516 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71740,7 +72066,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &517 type: object properties: number: *109 @@ -71748,7 +72074,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *505 + instances_url: *509 state: *102 fixed_at: *119 dismissed_by: @@ -71756,8 +72082,8 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *506 - dismissed_comment: *507 + dismissed_reason: *510 + dismissed_comment: *511 rule: type: object properties: @@ -71819,8 +72145,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *509 - most_recent_instance: *510 + tool: *513 + most_recent_instance: *514 dismissal_approved_by: anyOf: - type: 'null' @@ -71916,7 +72242,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -71936,9 +72262,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 requestBody: required: true content: @@ -71953,8 +72279,8 @@ paths: enum: - open - dismissed - dismissed_reason: *506 - dismissed_comment: *507 + dismissed_reason: *510 + dismissed_comment: *511 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71973,7 +72299,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: default: value: @@ -72049,7 +72375,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &517 + '403': &521 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -72076,15 +72402,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 responses: '200': description: Response content: application/json: - schema: &514 + schema: &518 type: object properties: status: @@ -72111,13 +72437,13 @@ paths: - description - started_at examples: - default: &515 + default: &519 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &516 + '400': &520 description: Bad Request content: application/json: @@ -72128,7 +72454,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': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -72153,29 +72479,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 responses: '200': description: OK content: application/json: - schema: *514 + schema: *518 examples: - default: *515 + default: *519 '202': description: Accepted content: application/json: - schema: *514 + schema: *518 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *516 + '400': *520 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72207,9 +72533,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 requestBody: required: false content: @@ -72255,8 +72581,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *516 - '403': *517 + '400': *520 + '403': *521 '404': *6 '422': description: Unprocessable Entity @@ -72280,13 +72606,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 - *19 - *17 - - *518 - - *519 + - *522 + - *523 responses: '200': description: Response @@ -72294,7 +72620,7 @@ paths: application/json: schema: type: array - items: *510 + items: *514 examples: default: value: @@ -72333,7 +72659,7 @@ paths: end_column: 50 classifications: - source - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -72367,25 +72693,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: - - *425 - - *426 - - *271 - - *272 + - *429 + - *430 + - *275 + - *276 - *19 - *17 - - *519 + - *523 - 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: *503 + schema: *507 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &522 + schema: &526 type: string description: An identifier for the upload. examples: @@ -72407,23 +72733,23 @@ paths: application/json: schema: type: array - items: &523 + items: &527 type: object properties: - ref: *503 - commit_sha: &531 + ref: *507 + commit_sha: &535 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: *520 + analysis_key: *524 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *521 + category: *525 error: type: string examples: @@ -72448,8 +72774,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *522 - tool: *509 + sarif_id: *526 + tool: *513 deletable: type: boolean warning: @@ -72511,7 +72837,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -72547,8 +72873,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: - - *425 - - *426 + - *429 + - *430 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72561,7 +72887,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: response: summary: application/json response @@ -72615,7 +72941,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *511 + '403': *515 '404': *6 '422': description: Response if analysis could not be processed @@ -72702,8 +73028,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: - - *425 - - *426 + - *429 + - *430 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72759,7 +73085,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': *517 + '403': *521 '404': *6 '503': *163 x-github: @@ -72781,8 +73107,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -72790,7 +73116,7 @@ paths: application/json: schema: type: array - items: &524 + items: &528 title: CodeQL Database description: A CodeQL database. type: object @@ -72902,7 +73228,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': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -72931,8 +73257,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: - - *425 - - *426 + - *429 + - *430 - name: language in: path description: The language of the CodeQL database. @@ -72944,7 +73270,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *528 examples: default: value: @@ -72976,9 +73302,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': &554 + '302': &558 description: Found - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -73000,8 +73326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *425 - - *426 + - *429 + - *430 - name: language in: path description: The language of the CodeQL database. @@ -73011,7 +73337,7 @@ paths: responses: '204': description: Response - '403': *517 + '403': *521 '404': *6 '503': *163 x-github: @@ -73039,8 +73365,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -73049,7 +73375,7 @@ paths: type: object additionalProperties: false properties: - language: &525 + language: &529 type: string description: The language targeted by the CodeQL query enum: @@ -73128,7 +73454,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &529 + schema: &533 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73138,7 +73464,7 @@ paths: description: The ID of the variant analysis. controller_repo: *108 actor: *4 - query_language: *525 + query_language: *529 query_pack_url: type: string description: The download url for the query pack. @@ -73186,7 +73512,7 @@ paths: items: type: object properties: - repository: &526 + repository: &530 title: Repository Identifier description: Repository Identifier type: object @@ -73228,7 +73554,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &530 + analysis_status: &534 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73260,7 +73586,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &527 + access_mismatch_repos: &531 type: object properties: repository_count: @@ -73275,7 +73601,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: *526 + items: *530 required: - repository_count - repositories @@ -73298,8 +73624,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *527 - over_limit_repos: *527 + no_codeql_db_repos: *531 + over_limit_repos: *531 required: - access_mismatch_repos - not_found_repos @@ -73315,7 +73641,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &528 + value: &532 summary: Default response value: id: 1 @@ -73467,10 +73793,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *528 + value: *532 repository_lists: summary: Response for a successful variant analysis submission - value: *528 + value: *532 '404': *6 '422': description: Unable to process variant analysis submission @@ -73498,8 +73824,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: - - *425 - - *426 + - *429 + - *430 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73511,9 +73837,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *533 examples: - default: *528 + default: *532 '404': *6 '503': *163 x-github: @@ -73536,7 +73862,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: - - *425 + - *429 - name: repo in: path description: The name of the controller repository. @@ -73571,7 +73897,7 @@ paths: type: object properties: repository: *108 - analysis_status: *530 + analysis_status: *534 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73696,8 +74022,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -73790,7 +74116,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -73811,8 +74137,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -73881,7 +74207,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -73906,7 +74232,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *517 + '403': *521 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73977,8 +74303,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -73986,7 +74312,7 @@ paths: schema: type: object properties: - commit_sha: *531 + commit_sha: *535 ref: type: string description: |- @@ -74046,7 +74372,7 @@ paths: schema: type: object properties: - id: *522 + id: *526 url: type: string description: The REST API URL for checking the status of the upload. @@ -74060,7 +74386,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': *517 + '403': *521 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74083,8 +74409,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: - - *425 - - *426 + - *429 + - *430 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74132,7 +74458,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': *511 + '403': *515 '404': description: Not Found if the sarif id does not match any upload '503': *163 @@ -74157,8 +74483,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -74239,8 +74565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *425 - - *426 + - *429 + - *430 - 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 @@ -74368,8 +74694,8 @@ paths: parameters: - *17 - *19 - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -74385,7 +74711,7 @@ paths: type: integer codespaces: type: array - items: *331 + items: *335 examples: default: value: @@ -74683,8 +75009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -74748,17 +75074,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '400': *14 '401': *23 '403': *27 @@ -74787,8 +75113,8 @@ paths: parameters: - *17 - *19 - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -74852,8 +75178,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: - - *425 - - *426 + - *429 + - *430 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74890,9 +75216,9 @@ paths: type: integer machines: type: array - items: *533 + items: *537 examples: - default: &767 + default: &771 value: total_count: 2 machines: @@ -74932,8 +75258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *425 - - *426 + - *429 + - *430 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -75020,8 +75346,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: - - *425 - - *426 + - *429 + - *430 - 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 @@ -75090,8 +75416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -75109,7 +75435,7 @@ paths: type: integer secrets: type: array - items: &537 + items: &541 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75130,7 +75456,7 @@ paths: - created_at - updated_at examples: - default: *534 + default: *538 headers: Link: *41 x-github: @@ -75153,16 +75479,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *535 + schema: *539 examples: - default: *536 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75182,17 +75508,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '200': description: Response content: application/json: - schema: *537 + schema: *541 examples: - default: *538 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75212,9 +75538,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: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 requestBody: required: true content: @@ -75242,7 +75568,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -75266,9 +75592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '204': description: Response @@ -75296,8 +75622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *425 - - *426 + - *429 + - *430 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75335,7 +75661,7 @@ paths: application/json: schema: type: array - items: &539 + items: &543 title: Collaborator description: Collaborator type: object @@ -75528,9 +75854,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: - - *425 - - *426 - - *176 + - *429 + - *430 + - *178 responses: '204': description: Response if user is a collaborator @@ -75576,9 +75902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *425 - - *426 - - *176 + - *429 + - *430 + - *178 requestBody: required: false content: @@ -75604,7 +75930,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &611 + schema: &615 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75616,7 +75942,7 @@ paths: format: int64 examples: - 42 - repository: *240 + repository: *244 invitee: anyOf: - type: 'null' @@ -75792,7 +76118,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *217 + schema: *221 '403': *27 x-github: triggersNotification: true @@ -75832,9 +76158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *425 - - *426 - - *176 + - *429 + - *430 + - *178 responses: '204': description: No Content when collaborator was removed from the repository. @@ -75865,9 +76191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *425 - - *426 - - *176 + - *429 + - *430 + - *178 responses: '200': description: if user has admin permissions @@ -75887,7 +76213,7 @@ paths: user: anyOf: - type: 'null' - - *539 + - *543 required: - permission - role_name @@ -75941,8 +76267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -75952,7 +76278,7 @@ paths: application/json: schema: type: array - items: &540 + items: &544 title: Commit Comment description: Commit Comment type: object @@ -75993,8 +76319,8 @@ paths: updated_at: type: string format: date-time - author_association: *180 - reactions: *181 + author_association: *182 + reactions: *183 required: - url - html_url @@ -76010,7 +76336,7 @@ paths: - created_at - updated_at examples: - default: &543 + default: &547 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76069,17 +76395,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '200': description: Response content: application/json: - schema: *540 + schema: *544 examples: - default: &544 + default: &548 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76136,9 +76462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -76160,7 +76486,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: default: value: @@ -76211,9 +76537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '204': description: Response @@ -76234,9 +76560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 - 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. @@ -76262,9 +76588,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 @@ -76285,9 +76611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -76319,16 +76645,16 @@ paths: description: Reaction exists content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Reaction created content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -76350,10 +76676,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *425 - - *426 - - *192 - - *417 + - *429 + - *430 + - *194 + - *421 responses: '204': description: Response @@ -76402,8 +76728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *425 - - *426 + - *429 + - *430 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76459,9 +76785,9 @@ paths: application/json: schema: type: array - items: *541 + items: *545 examples: - default: &658 + default: &662 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76555,9 +76881,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *425 - - *426 - - &542 + - *429 + - *430 + - &546 name: commit_sha description: The SHA of the commit. in: path @@ -76629,9 +76955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *425 - - *426 - - *542 + - *429 + - *430 + - *546 - *17 - *19 responses: @@ -76641,9 +76967,9 @@ paths: application/json: schema: type: array - items: *540 + items: *544 examples: - default: *543 + default: *547 headers: Link: *41 x-github: @@ -76671,9 +76997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *425 - - *426 - - *542 + - *429 + - *430 + - *546 requestBody: required: true content: @@ -76708,9 +77034,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: - default: *544 + default: *548 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76738,9 +77064,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: - - *425 - - *426 - - *542 + - *429 + - *430 + - *546 - *17 - *19 responses: @@ -76750,9 +77076,9 @@ paths: application/json: schema: type: array - items: *545 + items: *549 examples: - default: &650 + default: &654 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77289,11 +77615,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *425 - - *426 + - *429 + - *430 - *19 - *17 - - &546 + - &550 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)" @@ -77308,9 +77634,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *545 examples: - default: &638 + default: &642 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77423,11 +77749,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: - - *425 - - *426 - - *546 - - *547 - - *548 + - *429 + - *430 + - *550 + - *551 + - *552 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77461,9 +77787,9 @@ paths: type: integer check_runs: type: array - items: *496 + items: *500 examples: - default: *549 + default: *553 headers: Link: *41 x-github: @@ -77488,9 +77814,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: - - *425 - - *426 - - *546 + - *429 + - *430 + - *550 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77498,7 +77824,7 @@ paths: schema: type: integer example: 1 - - *547 + - *551 - *17 - *19 responses: @@ -77516,7 +77842,7 @@ paths: type: integer check_suites: type: array - items: *500 + items: *504 examples: default: value: @@ -77716,9 +78042,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: - - *425 - - *426 - - *546 + - *429 + - *430 + - *550 - *17 - *19 responses: @@ -77789,7 +78115,7 @@ paths: type: string total_count: type: integer - repository: *240 + repository: *244 commit_url: type: string format: uri @@ -77920,9 +78246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *425 - - *426 - - *546 + - *429 + - *430 + - *550 - *17 - *19 responses: @@ -77932,7 +78258,7 @@ paths: application/json: schema: type: array - items: &712 + items: &716 title: Status description: The status of a commit. type: object @@ -78013,7 +78339,7 @@ paths: site_admin: false headers: Link: *41 - '301': *439 + '301': *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78041,8 +78367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -78075,11 +78401,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *550 + - *554 code_of_conduct_file: anyOf: - type: 'null' - - &551 + - &555 title: Community Health File type: object properties: @@ -78095,23 +78421,23 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 contributing: anyOf: - type: 'null' - - *551 + - *555 readme: anyOf: - type: 'null' - - *551 + - *555 issue_template: anyOf: - type: 'null' - - *551 + - *555 pull_request_template: anyOf: - type: 'null' - - *551 + - *555 required: - code_of_conduct - code_of_conduct_file @@ -78240,8 +78566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *425 - - *426 + - *429 + - *430 - *19 - *17 - name: basehead @@ -78289,8 +78615,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *541 - merge_base_commit: *541 + base_commit: *545 + merge_base_commit: *545 status: type: string enum: @@ -78314,10 +78640,10 @@ paths: - 6 commits: type: array - items: *541 + items: *545 files: type: array - items: *552 + items: *556 required: - url - html_url @@ -78603,8 +78929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *425 - - *426 + - *429 + - *430 - name: path description: path parameter in: path @@ -78757,7 +79083,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &553 + response-if-content-is-a-file: &557 summary: Response if content is a file value: type: file @@ -78894,7 +79220,7 @@ paths: - size - type - url - - &663 + - &667 title: Content File description: Content File type: object @@ -79112,7 +79438,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *553 + response-if-content-is-a-file: *557 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79181,7 +79507,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *554 + '302': *558 '304': *35 x-github: githubCloudOnly: false @@ -79204,8 +79530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *425 - - *426 + - *429 + - *430 - name: path description: path parameter in: path @@ -79300,7 +79626,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &559 title: File Commit description: File Commit type: object @@ -79456,7 +79782,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: example-for-creating-a-file: value: @@ -79510,7 +79836,7 @@ paths: schema: oneOf: - *3 - - &593 + - &597 description: Repository rule violation was detected type: object properties: @@ -79531,7 +79857,7 @@ paths: items: type: object properties: - placeholder_id: &704 + placeholder_id: &708 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79563,8 +79889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *425 - - *426 + - *429 + - *430 - name: path description: path parameter in: path @@ -79625,7 +79951,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: default: value: @@ -79680,8 +80006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *425 - - *426 + - *429 + - *430 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79805,22 +80131,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *425 - - *426 - - *288 - - *289 - - *290 - - *291 + - *429 + - *430 + - *292 + - *293 + - *294 + - *295 - 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 - - *292 - - *293 - - *294 - - *295 + - *296 + - *297 + - *298 + - *299 - *99 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -79840,8 +80166,8 @@ paths: default: 30 - *97 - *98 - - *296 - - *297 + - *300 + - *301 responses: '200': description: Response @@ -79849,7 +80175,7 @@ paths: application/json: schema: type: array - items: &558 + items: &562 type: object description: A Dependabot alert. properties: @@ -79899,7 +80225,7 @@ paths: - direct - transitive - - security_advisory: *556 + security_advisory: *560 security_vulnerability: *113 url: *114 html_url: *115 @@ -79930,7 +80256,7 @@ paths: dismissal. maxLength: 280 fixed_at: *119 - auto_dismissed_at: *557 + auto_dismissed_at: *561 required: - number - state @@ -80160,9 +80486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *425 - - *426 - - &559 + - *429 + - *430 + - &563 name: alert_number in: path description: |- @@ -80177,7 +80503,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *562 examples: default: value: @@ -80290,9 +80616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *425 - - *426 - - *559 + - *429 + - *430 + - *563 requestBody: required: true content: @@ -80337,7 +80663,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *562 examples: default: value: @@ -80466,8 +80792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -80485,7 +80811,7 @@ paths: type: integer secrets: type: array - items: &562 + items: &566 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80539,16 +80865,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *560 + schema: *564 examples: - default: *561 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80568,15 +80894,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '200': description: Response content: application/json: - schema: *562 + schema: *566 examples: default: value: @@ -80602,9 +80928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 requestBody: required: true content: @@ -80632,7 +80958,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -80656,9 +80982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '204': description: Response @@ -80680,8 +81006,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: - - *425 - - *426 + - *429 + - *430 - 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 @@ -80855,8 +81181,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -81116,8 +81442,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -81200,7 +81526,7 @@ paths: - version - url additionalProperties: false - metadata: &563 + metadata: &567 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81239,7 +81565,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *563 + metadata: *567 resolved: type: object description: A collection of resolved package dependencies. @@ -81253,7 +81579,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *563 + metadata: *567 relationship: type: string description: A notation of whether a dependency is requested @@ -81386,8 +81712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *425 - - *426 + - *429 + - *430 - name: sha description: The SHA recorded at creation time. in: query @@ -81428,9 +81754,9 @@ paths: application/json: schema: type: array - items: *564 + items: *568 examples: - default: *565 + default: *569 headers: Link: *41 x-github: @@ -81496,8 +81822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -81579,7 +81905,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: simple-example: summary: Simple example @@ -81652,9 +81978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *425 - - *426 - - &566 + - *429 + - *430 + - &570 name: deployment_id description: deployment_id parameter in: path @@ -81666,7 +81992,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: default: value: @@ -81731,9 +82057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *425 - - *426 - - *566 + - *429 + - *430 + - *570 responses: '204': description: Response @@ -81755,9 +82081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *425 - - *426 - - *566 + - *429 + - *430 + - *570 - *17 - *19 responses: @@ -81767,7 +82093,7 @@ paths: application/json: schema: type: array - items: &567 + items: &571 title: Deployment Status description: The status of a deployment. type: object @@ -81931,9 +82257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *425 - - *426 - - *566 + - *429 + - *430 + - *570 requestBody: required: true content: @@ -82008,9 +82334,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *571 examples: - default: &568 + default: &572 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82066,9 +82392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *425 - - *426 - - *566 + - *429 + - *430 + - *570 - name: status_id in: path required: true @@ -82079,9 +82405,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *571 examples: - default: *568 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -82108,12 +82434,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 - - *569 - - *570 - - *571 - - *572 + - *429 + - *430 + - *573 + - *574 + - *575 + - *576 - *17 - *19 responses: @@ -82123,9 +82449,9 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: - default: *574 + default: *578 '404': *6 '403': *27 '500': *38 @@ -82149,8 +82475,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: alert_number in: path required: true @@ -82162,7 +82488,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *573 + schema: *577 examples: default: value: @@ -82218,8 +82544,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: alert_number in: path required: true @@ -82278,12 +82604,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - *92 - *93 - *94 - - *575 + - *579 - *17 - *19 responses: @@ -82293,9 +82619,9 @@ paths: application/json: schema: type: array - items: *576 + items: *580 examples: - default: *577 + default: *581 '404': *6 '403': *27 '500': *38 @@ -82320,8 +82646,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: alert_number in: path required: true @@ -82333,7 +82659,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *576 + schema: *580 examples: default: value: @@ -82391,8 +82717,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: alert_number in: path required: true @@ -82461,8 +82787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -82519,8 +82845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -82538,7 +82864,7 @@ paths: - 5 environments: type: array - items: &579 + items: &583 title: Environment description: Details of a deployment environment type: object @@ -82600,7 +82926,7 @@ paths: type: string examples: - wait_timer - wait_timer: &581 + wait_timer: &585 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -82642,11 +82968,11 @@ paths: items: type: object properties: - type: *578 + type: *582 reviewer: anyOf: - *4 - - *267 + - *271 required: - id - node_id @@ -82669,7 +82995,7 @@ paths: - id - node_id - type - deployment_branch_policy: &582 + deployment_branch_policy: &586 type: - object - 'null' @@ -82786,9 +83112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *425 - - *426 - - &580 + - *429 + - *430 + - &584 name: environment_name in: path required: true @@ -82801,9 +83127,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: &583 + default: &587 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82887,9 +83213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 requestBody: required: false content: @@ -82899,7 +83225,7 @@ paths: - object - 'null' properties: - wait_timer: *581 + wait_timer: *585 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -82918,14 +83244,14 @@ paths: items: type: object properties: - type: *578 + type: *582 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *582 + deployment_branch_policy: *586 additionalProperties: false examples: default: @@ -82945,9 +83271,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: *583 + default: *587 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82971,9 +83297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 responses: '204': description: Default response @@ -82998,9 +83324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 - *17 - *19 responses: @@ -83019,7 +83345,7 @@ paths: - 2 branch_policies: type: array - items: &584 + items: &588 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83080,9 +83406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 requestBody: required: true content: @@ -83130,9 +83456,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - example-wildcard: &585 + example-wildcard: &589 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83174,10 +83500,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *425 - - *426 - - *580 - - &586 + - *429 + - *430 + - *584 + - &590 name: branch_policy_id in: path required: true @@ -83189,9 +83515,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: *585 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83210,10 +83536,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *425 - - *426 - - *580 - - *586 + - *429 + - *430 + - *584 + - *590 requestBody: required: true content: @@ -83242,9 +83568,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: *585 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83263,10 +83589,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *425 - - *426 - - *580 - - *586 + - *429 + - *430 + - *584 + - *590 responses: '204': description: Response @@ -83291,9 +83617,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: - - *580 - - *426 - - *425 + - *584 + - *430 + - *429 responses: '200': description: List of deployment protection rules @@ -83310,7 +83636,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &587 + items: &591 title: Deployment protection rule description: Deployment protection rule type: object @@ -83332,7 +83658,7 @@ paths: for the environment. examples: - true - app: &588 + app: &592 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83435,9 +83761,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: - - *580 - - *426 - - *425 + - *584 + - *430 + - *429 requestBody: content: application/json: @@ -83458,9 +83784,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *587 + schema: *591 examples: - default: &589 + default: &593 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83495,9 +83821,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: - - *580 - - *426 - - *425 + - *584 + - *430 + - *429 - *19 - *17 responses: @@ -83517,7 +83843,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *588 + items: *592 examples: default: value: @@ -83552,10 +83878,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: - - *425 - - *426 - - *580 - - &590 + - *429 + - *430 + - *584 + - &594 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83567,9 +83893,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *591 examples: - default: *589 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83590,10 +83916,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: - - *580 - - *426 - - *425 - - *590 + - *584 + - *430 + - *429 + - *594 responses: '204': description: Response @@ -83619,9 +83945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 - *17 - *19 responses: @@ -83639,9 +83965,9 @@ paths: type: integer secrets: type: array - items: *462 + items: *466 examples: - default: *463 + default: *467 headers: Link: *41 x-github: @@ -83666,17 +83992,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 responses: '200': description: Response content: application/json: - schema: *464 + schema: *468 examples: - default: *465 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83698,18 +84024,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *425 - - *426 - - *580 - - *250 + - *429 + - *430 + - *584 + - *254 responses: '200': description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: *591 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83731,10 +84057,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *425 - - *426 - - *580 - - *250 + - *429 + - *430 + - *584 + - *254 requestBody: required: true content: @@ -83765,7 +84091,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -83791,10 +84117,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *425 - - *426 - - *580 - - *250 + - *429 + - *430 + - *584 + - *254 responses: '204': description: Default response @@ -83819,10 +84145,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *425 - - *426 - - *580 - - *449 + - *429 + - *430 + - *584 + - *453 - *19 responses: '200': @@ -83839,9 +84165,9 @@ paths: type: integer variables: type: array - items: *466 + items: *470 examples: - default: *467 + default: *471 headers: Link: *41 x-github: @@ -83864,9 +84190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 requestBody: required: true content: @@ -83893,7 +84219,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -83918,18 +84244,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *425 - - *426 - - *580 - - *253 + - *429 + - *430 + - *584 + - *257 responses: '200': description: Response content: application/json: - schema: *466 + schema: *470 examples: - default: *592 + default: *596 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83950,10 +84276,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *425 - - *426 - - *253 - - *580 + - *429 + - *430 + - *257 + - *584 requestBody: required: true content: @@ -83995,10 +84321,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *425 - - *426 - - *253 - - *580 + - *429 + - *430 + - *257 + - *584 responses: '204': description: Response @@ -84020,8 +84346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -84031,7 +84357,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: 200-response: value: @@ -84098,8 +84424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *425 - - *426 + - *429 + - *430 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84121,7 +84447,7 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: default: value: @@ -84258,8 +84584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -84292,9 +84618,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 + default: *444 '400': *14 '422': *15 '403': *27 @@ -84315,8 +84641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -84375,8 +84701,8 @@ paths: application/json: schema: oneOf: - - *217 - - *593 + - *221 + - *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84401,8 +84727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *425 - - *426 + - *429 + - *430 - name: file_sha in: path required: true @@ -84502,8 +84828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -84612,7 +84938,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &598 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84839,15 +85165,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *425 - - *426 - - *542 + - *429 + - *430 + - *546 responses: '200': description: Response content: application/json: - schema: *594 + schema: *598 examples: default: value: @@ -84903,9 +85229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *425 - - *426 - - &595 + - *429 + - *430 + - &599 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. @@ -84922,7 +85248,7 @@ paths: application/json: schema: type: array - items: &596 + items: &600 title: Git Reference description: Git references within a repository type: object @@ -84998,17 +85324,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *425 - - *426 - - *595 + - *429 + - *430 + - *599 responses: '200': description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: &597 + default: &601 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85037,8 +85363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -85067,9 +85393,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: *597 + default: *601 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85095,9 +85421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *425 - - *426 - - *595 + - *429 + - *430 + - *599 requestBody: required: true content: @@ -85126,9 +85452,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: *597 + default: *601 '422': *15 '409': *107 x-github: @@ -85146,9 +85472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *425 - - *426 - - *595 + - *429 + - *430 + - *599 responses: '204': description: Response @@ -85203,8 +85529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -85271,7 +85597,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &603 title: Git Tag description: Metadata for a Git tag type: object @@ -85327,7 +85653,7 @@ paths: - sha - type - url - verification: *598 + verification: *602 required: - sha - url @@ -85337,7 +85663,7 @@ paths: - tag - message examples: - default: &600 + default: &604 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85410,8 +85736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *425 - - *426 + - *429 + - *430 - name: tag_sha in: path required: true @@ -85422,9 +85748,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *603 examples: - default: *600 + default: *604 '404': *6 '409': *107 x-github: @@ -85448,8 +85774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -85523,7 +85849,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &605 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85625,8 +85951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *425 - - *426 + - *429 + - *430 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -85649,7 +85975,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *605 examples: default-response: summary: Default response @@ -85708,8 +86034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -85719,7 +86045,7 @@ paths: application/json: schema: type: array - items: &602 + items: &606 title: Webhook description: Webhooks for repositories. type: object @@ -85782,7 +86108,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &845 + last_response: &849 title: Hook Response type: object properties: @@ -85859,8 +86185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -85913,9 +86239,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: &603 + default: &607 value: type: Repository id: 12345678 @@ -85963,17 +86289,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '200': description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '404': *6 x-github: githubCloudOnly: false @@ -85993,9 +86319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 requestBody: required: true content: @@ -86040,9 +86366,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 '404': *6 x-github: @@ -86063,9 +86389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '204': description: Response @@ -86089,9 +86415,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: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '200': description: Response @@ -86118,9 +86444,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: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 requestBody: required: false content: @@ -86164,11 +86490,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 - *17 - - *304 + - *308 responses: '200': description: Response @@ -86176,9 +86502,9 @@ paths: application/json: schema: type: array - items: *305 + items: *309 examples: - default: *306 + default: *310 '400': *14 '422': *15 x-github: @@ -86197,18 +86523,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: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 - *16 responses: '200': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '400': *14 '422': *15 x-github: @@ -86227,9 +86553,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: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 - *16 responses: '202': *37 @@ -86252,9 +86578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '204': description: Response @@ -86279,9 +86605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '204': description: Response @@ -86339,14 +86665,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: &604 + schema: &608 title: Import description: A repository import from an external source. type: object @@ -86453,7 +86779,7 @@ paths: - html_url - authors_url examples: - default: &607 + default: &611 value: vcs: subversion use_lfs: true @@ -86469,7 +86795,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': &605 + '503': &609 description: Unavailable due to service under maintenance. content: application/json: @@ -86498,8 +86824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -86547,7 +86873,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *608 examples: default: value: @@ -86572,7 +86898,7 @@ paths: type: string '422': *15 '404': *6 - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86600,8 +86926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -86653,7 +86979,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *608 examples: example-1: summary: Example 1 @@ -86701,7 +87027,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': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86724,12 +87050,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86755,9 +87081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *425 - - *426 - - &789 + - *429 + - *430 + - &793 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86771,7 +87097,7 @@ paths: application/json: schema: type: array - items: &606 + items: &610 title: Porter Author description: Porter Author type: object @@ -86825,7 +87151,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': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86850,8 +87176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *425 - - *426 + - *429 + - *430 - name: author_id in: path required: true @@ -86881,7 +87207,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: default: value: @@ -86894,7 +87220,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86918,8 +87244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -86960,7 +87286,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86988,8 +87314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -87016,11 +87342,11 @@ paths: description: Response content: application/json: - schema: *604 + schema: *608 examples: - default: *607 + default: *611 '422': *15 - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87043,8 +87369,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -87052,8 +87378,8 @@ paths: application/json: schema: *20 examples: - default: *608 - '301': *439 + default: *612 + '301': *443 '404': *6 x-github: githubCloudOnly: false @@ -87073,8 +87399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -87082,12 +87408,12 @@ paths: application/json: schema: anyOf: - - *321 + - *325 - type: object properties: {} additionalProperties: false examples: - default: &610 + default: &614 value: limit: collaborators_only origin: repository @@ -87112,13 +87438,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: application/json: - schema: *609 + schema: *613 examples: default: summary: Example request body @@ -87130,9 +87456,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *325 examples: - default: *610 + default: *614 '409': description: Response x-github: @@ -87154,8 +87480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -87178,8 +87504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -87189,9 +87515,9 @@ paths: application/json: schema: type: array - items: *611 + items: *615 examples: - default: &782 + default: &786 value: - id: 1 repository: @@ -87322,9 +87648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *425 - - *426 - - *325 + - *429 + - *430 + - *329 requestBody: required: false content: @@ -87353,7 +87679,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *615 examples: default: value: @@ -87484,9 +87810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *425 - - *426 - - *325 + - *429 + - *430 + - *329 responses: '204': description: Response @@ -87517,8 +87843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *425 - - *426 + - *429 + - *430 - 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 @@ -87566,7 +87892,7 @@ paths: required: false schema: type: string - - *329 + - *333 - name: sort description: What to sort results by. in: query @@ -87579,7 +87905,7 @@ paths: - comments default: created - *99 - - *183 + - *185 - *17 - *19 responses: @@ -87589,9 +87915,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: &618 + default: &622 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87739,7 +88065,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *439 + '301': *443 '422': *15 '404': *6 x-github: @@ -87768,8 +88094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -87859,9 +88185,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: &615 + default: &619 value: id: 1 node_id: MDU6SXNzdWUx @@ -88017,7 +88343,7 @@ paths: '422': *15 '503': *163 '404': *6 - '410': *436 + '410': *440 x-github: triggersNotification: true githubCloudOnly: false @@ -88045,9 +88371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *425 - - *426 - - *202 + - *429 + - *430 + - *204 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -88057,7 +88383,7 @@ paths: enum: - asc - desc - - *183 + - *185 - *17 - *19 responses: @@ -88067,9 +88393,9 @@ paths: application/json: schema: type: array - items: *612 + items: *616 examples: - default: &617 + default: &621 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88127,17 +88453,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '200': description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: &613 + default: &617 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88191,9 +88517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -88215,9 +88541,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *613 + default: *617 '422': *15 x-github: githubCloudOnly: false @@ -88235,9 +88561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '204': description: Response @@ -88257,9 +88583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 - 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. @@ -88285,9 +88611,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 @@ -88308,9 +88634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -88342,16 +88668,16 @@ paths: description: Reaction exists content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Reaction created content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -88373,10 +88699,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *425 - - *426 - - *192 - - *417 + - *429 + - *430 + - *194 + - *421 responses: '204': description: Response @@ -88396,8 +88722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -88407,7 +88733,7 @@ paths: application/json: schema: type: array - items: &614 + items: &618 title: Issue Event description: Issue Event type: object @@ -88454,7 +88780,7 @@ paths: issue: anyOf: - type: 'null' - - *193 + - *195 label: title: Issue Event Label description: Issue Event Label @@ -88487,7 +88813,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *267 + requested_team: *271 dismissed_review: title: Issue Event Dismissed Review type: object @@ -88554,7 +88880,7 @@ paths: required: - from - to - author_association: *180 + author_association: *182 lock_reason: type: - string @@ -88746,8 +89072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *425 - - *426 + - *429 + - *430 - name: event_id in: path required: true @@ -88758,7 +89084,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *618 examples: default: value: @@ -88951,7 +89277,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *436 + '410': *440 '403': *27 x-github: githubCloudOnly: false @@ -88985,9 +89311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *425 - - *426 - - &616 + - *429 + - *430 + - &620 name: issue_number description: The number that identifies the issue. in: path @@ -88999,12 +89325,12 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 - '301': *439 + default: *619 + '301': *443 '404': *6 - '410': *436 + '410': *440 '304': *35 x-github: githubCloudOnly: false @@ -89029,9 +89355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -89150,15 +89476,15 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 '422': *15 '503': *163 '403': *27 - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89176,9 +89502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -89204,9 +89530,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89222,9 +89548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: content: application/json: @@ -89249,9 +89575,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89273,9 +89599,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: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - name: assignee in: path required: true @@ -89315,10 +89641,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *425 - - *426 - - *616 - - *183 + - *429 + - *430 + - *620 + - *185 - *17 - *19 responses: @@ -89328,13 +89654,13 @@ paths: application/json: schema: type: array - items: *612 + items: *616 examples: - default: *617 + default: *621 headers: Link: *41 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89363,9 +89689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -89387,16 +89713,16 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *613 + default: *617 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *436 + '410': *440 '422': *15 '404': *6 x-github: @@ -89424,9 +89750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -89436,14 +89762,14 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *618 + default: *622 headers: Link: *41 - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89471,9 +89797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -89495,17 +89821,17 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *439 + '301': *443 '403': *27 - '410': *436 + '410': *440 '422': *15 '404': *6 x-github: @@ -89536,9 +89862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89550,15 +89876,15 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 - '301': *439 + default: *619 + '301': *443 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *436 + '410': *440 x-github: triggersNotification: true githubCloudOnly: false @@ -89584,9 +89910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -89596,14 +89922,14 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *618 + default: *622 headers: Link: *41 - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89620,9 +89946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -89636,7 +89962,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &621 + - &625 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89685,7 +90011,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &622 + - &626 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89813,7 +90139,7 @@ paths: - performed_via_github_app - assignee - assigner - - &623 + - &627 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89859,7 +90185,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &624 + - &628 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89905,7 +90231,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &625 + - &629 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89954,7 +90280,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &630 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89983,7 +90309,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *267 + requested_team: *271 requested_reviewer: *4 required: - review_requester @@ -89996,7 +90322,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &627 + - &631 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -90025,7 +90351,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *267 + requested_team: *271 requested_reviewer: *4 required: - review_requester @@ -90038,7 +90364,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &628 + - &632 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90094,7 +90420,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &629 + - &633 title: Locked Issue Event description: Locked Issue Event type: object @@ -90139,7 +90465,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &630 + - &634 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90200,7 +90526,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &631 + - &635 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -90261,7 +90587,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &632 + - &636 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -90322,7 +90648,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &633 + - &637 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -90415,7 +90741,7 @@ paths: color: red headers: Link: *41 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90432,9 +90758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -90444,7 +90770,7 @@ paths: application/json: schema: type: array - items: &619 + items: &623 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -90499,7 +90825,7 @@ paths: - color - default examples: - default: &620 + default: &624 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90517,9 +90843,9 @@ paths: default: false headers: Link: *41 - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90536,9 +90862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -90597,12 +90923,12 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: - default: *620 - '301': *439 + default: *624 + '301': *443 '404': *6 - '410': *436 + '410': *440 '422': *15 x-github: githubCloudOnly: false @@ -90619,9 +90945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -90681,12 +91007,12 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: - default: *620 - '301': *439 + default: *624 + '301': *443 '404': *6 - '410': *436 + '410': *440 '422': *15 x-github: githubCloudOnly: false @@ -90703,15 +91029,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 responses: '204': description: Response - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90730,9 +91056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - name: name in: path required: true @@ -90745,7 +91071,7 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: default: value: @@ -90756,9 +91082,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90778,9 +91104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -90809,7 +91135,7 @@ paths: '204': description: Response '403': *27 - '410': *436 + '410': *440 '404': *6 '422': *15 x-github: @@ -90827,9 +91153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 responses: '204': description: Response @@ -90859,20 +91185,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 responses: '200': description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 - '301': *439 + default: *619 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90889,9 +91215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - 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. @@ -90917,13 +91243,13 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90941,9 +91267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -90975,16 +91301,16 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -91006,10 +91332,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *425 - - *426 - - *616 - - *417 + - *429 + - *430 + - *620 + - *421 responses: '204': description: Response @@ -91038,9 +91364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -91062,9 +91388,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -91097,9 +91423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -91109,13 +91435,13 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *618 + default: *622 headers: Link: *41 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91143,9 +91469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -91172,16 +91498,16 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *436 + '410': *440 '422': *15 '404': *6 x-github: @@ -91201,9 +91527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -91234,9 +91560,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 '403': *27 '404': *6 '422': *7 @@ -91258,9 +91584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -91275,10 +91601,6 @@ paths: description: Timeline Event type: object anyOf: - - *621 - - *622 - - *623 - - *624 - *625 - *626 - *627 @@ -91288,6 +91610,10 @@ paths: - *631 - *632 - *633 + - *634 + - *635 + - *636 + - *637 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91335,12 +91661,12 @@ paths: issue_url: type: string format: uri - author_association: *180 + author_association: *182 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *181 + reactions: *183 required: - event - actor @@ -91371,7 +91697,7 @@ paths: properties: type: type: string - issue: *193 + issue: *195 required: - event - created_at @@ -91593,7 +91919,7 @@ paths: type: string body_text: type: string - author_association: *180 + author_association: *182 required: - event - id @@ -91616,7 +91942,7 @@ paths: type: string comments: type: array - items: &652 + items: &656 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91721,7 +92047,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *180 + author_association: *182 _links: type: object properties: @@ -91816,7 +92142,7 @@ paths: enum: - line - file - reactions: *181 + reactions: *183 body_html: type: string examples: @@ -91854,7 +92180,7 @@ paths: type: string comments: type: array - items: *540 + items: *544 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92129,7 +92455,7 @@ paths: headers: Link: *41 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92146,8 +92472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -92157,7 +92483,7 @@ paths: application/json: schema: type: array - items: &634 + items: &638 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -92225,8 +92551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -92262,9 +92588,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: &635 + default: &639 value: id: 1 key: ssh-rsa AAA... @@ -92298,9 +92624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *425 - - *426 - - &636 + - *429 + - *430 + - &640 name: key_id description: The unique identifier of the key. in: path @@ -92312,9 +92638,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: *635 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -92332,9 +92658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *425 - - *426 - - *636 + - *429 + - *430 + - *640 responses: '204': description: Response @@ -92354,8 +92680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -92365,9 +92691,9 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: - default: *620 + default: *624 headers: Link: *41 '404': *6 @@ -92388,8 +92714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -92425,9 +92751,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: &637 + default: &641 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92459,8 +92785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *425 - - *426 + - *429 + - *430 - name: name in: path required: true @@ -92471,9 +92797,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: *637 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -92490,8 +92816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *425 - - *426 + - *429 + - *430 - name: name in: path required: true @@ -92530,7 +92856,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: default: value: @@ -92556,8 +92882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *425 - - *426 + - *429 + - *430 - name: name in: path required: true @@ -92583,8 +92909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -92620,8 +92946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '202': *37 '403': @@ -92649,8 +92975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -92676,9 +93002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *425 - - *426 - - *518 + - *429 + - *430 + - *522 responses: '200': description: Response @@ -92744,7 +93070,7 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 required: - _links - git_url @@ -92825,8 +93151,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -92891,8 +93217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -92926,9 +93252,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *541 + schema: *545 examples: - default: *638 + default: *642 '204': description: Response when already merged '404': @@ -92953,8 +93279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *425 - - *426 + - *429 + - *430 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92995,7 +93321,7 @@ paths: application/json: schema: type: array - items: *363 + items: *367 examples: default: value: @@ -93051,8 +93377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -93092,9 +93418,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *367 examples: - default: &639 + default: &643 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -93153,9 +93479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *425 - - *426 - - &640 + - *429 + - *430 + - &644 name: milestone_number description: The number that identifies the milestone. in: path @@ -93167,9 +93493,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *367 examples: - default: *639 + default: *643 '404': *6 x-github: githubCloudOnly: false @@ -93186,9 +93512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *425 - - *426 - - *640 + - *429 + - *430 + - *644 requestBody: required: false content: @@ -93226,9 +93552,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *367 examples: - default: *639 + default: *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93244,9 +93570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *425 - - *426 - - *640 + - *429 + - *430 + - *644 responses: '204': description: Response @@ -93267,9 +93593,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: - - *425 - - *426 - - *640 + - *429 + - *430 + - *644 - *17 - *19 responses: @@ -93279,9 +93605,9 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: - default: *620 + default: *624 headers: Link: *41 x-github: @@ -93300,12 +93626,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: - - *425 - - *426 - - *641 - - *642 - - *183 - - *643 + - *429 + - *430 + - *645 + - *646 + - *185 + - *647 - *17 - *19 responses: @@ -93315,9 +93641,9 @@ paths: application/json: schema: type: array - items: *205 + items: *207 examples: - default: *644 + default: *648 headers: Link: *41 x-github: @@ -93341,8 +93667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -93400,14 +93726,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: &645 + schema: &649 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -93551,7 +93877,7 @@ paths: - custom_404 - public examples: - default: &646 + default: &650 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -93592,8 +93918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -93648,9 +93974,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: *646 + default: *650 '422': *15 '409': *107 x-github: @@ -93673,8 +93999,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -93782,8 +94108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -93809,8 +94135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -93820,7 +94146,7 @@ paths: application/json: schema: type: array - items: &647 + items: &651 title: Page Build description: Page Build type: object @@ -93912,8 +94238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *425 - - *426 + - *429 + - *430 responses: '201': description: Response @@ -93960,16 +94286,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *647 + schema: *651 examples: - default: &648 + default: &652 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -94017,8 +94343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *425 - - *426 + - *429 + - *430 - name: build_id in: path required: true @@ -94029,9 +94355,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *651 examples: - default: *648 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94051,8 +94377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -94160,9 +94486,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: - - *425 - - *426 - - &649 + - *429 + - *430 + - &653 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -94220,9 +94546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *425 - - *426 - - *649 + - *429 + - *430 + - *653 responses: '204': *129 '404': *6 @@ -94249,8 +94575,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -94518,7 +94844,7 @@ paths: description: Empty response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -94545,8 +94871,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Private vulnerability reporting status @@ -94583,8 +94909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': *129 '422': *14 @@ -94605,8 +94931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': *129 '422': *14 @@ -94629,8 +94955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *425 - - *426 + - *429 + - *430 - name: state description: Indicates the state of the projects to return. in: query @@ -94651,7 +94977,7 @@ paths: application/json: schema: type: array - items: *357 + items: *361 examples: default: value: @@ -94691,7 +95017,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *436 + '410': *440 '422': *7 x-github: githubCloudOnly: false @@ -94714,8 +95040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -94741,13 +95067,13 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: - default: *435 + default: *439 '401': *23 '403': *27 '404': *6 - '410': *436 + '410': *440 '422': *7 x-github: githubCloudOnly: false @@ -94770,8 +95096,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -94779,7 +95105,7 @@ paths: application/json: schema: type: array - items: *371 + items: *375 examples: default: value: @@ -94810,8 +95136,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -94823,7 +95149,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *371 + items: *375 required: - properties examples: @@ -94873,8 +95199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94934,9 +95260,9 @@ paths: application/json: schema: type: array - items: *545 + items: *549 examples: - default: *650 + default: *654 headers: Link: *41 '304': *35 @@ -94968,8 +95294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -95036,7 +95362,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &658 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95165,7 +95491,7 @@ paths: milestone: anyOf: - type: 'null' - - *363 + - *367 active_lock_reason: type: - string @@ -95220,7 +95546,7 @@ paths: type: - array - 'null' - items: *339 + items: *343 head: type: object properties: @@ -95258,14 +95584,14 @@ paths: _links: type: object properties: - comments: *364 - commits: *364 - statuses: *364 - html: *364 - issue: *364 - review_comments: *364 - review_comment: *364 - self: *364 + comments: *368 + commits: *368 + statuses: *368 + html: *368 + issue: *368 + review_comments: *368 + review_comment: *368 + self: *368 required: - comments - commits @@ -95275,8 +95601,8 @@ paths: - review_comments - review_comment - self - author_association: *180 - auto_merge: *651 + author_association: *182 + auto_merge: *655 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -95378,7 +95704,7 @@ paths: - merged_by - review_comments examples: - default: &655 + default: &659 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95905,8 +96231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - name: sort in: query required: false @@ -95925,7 +96251,7 @@ paths: enum: - asc - desc - - *183 + - *185 - *17 - *19 responses: @@ -95935,9 +96261,9 @@ paths: application/json: schema: type: array - items: *652 + items: *656 examples: - default: &657 + default: &661 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96014,17 +96340,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '200': description: Response content: application/json: - schema: *652 + schema: *656 examples: - default: &653 + default: &657 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96099,9 +96425,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -96123,9 +96449,9 @@ paths: description: Response content: application/json: - schema: *652 + schema: *656 examples: - default: *653 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96141,9 +96467,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '204': description: Response @@ -96164,9 +96490,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 - 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. @@ -96192,9 +96518,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 @@ -96215,9 +96541,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -96249,16 +96575,16 @@ paths: description: Reaction exists content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Reaction created content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -96280,10 +96606,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *425 - - *426 - - *192 - - *417 + - *429 + - *430 + - *194 + - *421 responses: '204': description: Response @@ -96326,9 +96652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *425 - - *426 - - &656 + - *429 + - *430 + - &660 name: pull_number description: The number that identifies the pull request. in: path @@ -96341,9 +96667,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *654 + schema: *658 examples: - default: *655 + default: *659 '304': *35 '404': *6 '406': @@ -96378,9 +96704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -96422,9 +96748,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *658 examples: - default: *655 + default: *659 '422': *15 '403': *27 x-github: @@ -96446,9 +96772,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: true content: @@ -96509,17 +96835,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '401': *23 '403': *27 '404': *6 @@ -96549,10 +96875,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: - - *425 - - *426 - - *656 - - *202 + - *429 + - *430 + - *660 + - *204 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -96562,7 +96888,7 @@ paths: enum: - asc - desc - - *183 + - *185 - *17 - *19 responses: @@ -96572,9 +96898,9 @@ paths: application/json: schema: type: array - items: *652 + items: *656 examples: - default: *657 + default: *661 headers: Link: *41 x-github: @@ -96607,9 +96933,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: true content: @@ -96715,7 +97041,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *656 examples: example-for-a-multi-line-comment: value: @@ -96803,10 +97129,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: - - *425 - - *426 - - *656 - - *192 + - *429 + - *430 + - *660 + - *194 requestBody: required: true content: @@ -96828,7 +97154,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *656 examples: default: value: @@ -96914,9 +97240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 - *17 - *19 responses: @@ -96926,9 +97252,9 @@ paths: application/json: schema: type: array - items: *541 + items: *545 examples: - default: *658 + default: *662 headers: Link: *41 x-github: @@ -96958,9 +97284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 - *17 - *19 responses: @@ -96970,7 +97296,7 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: default: value: @@ -97008,9 +97334,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 responses: '204': description: Response if pull request has been merged @@ -97033,9 +97359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -97147,9 +97473,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 responses: '200': description: Response @@ -97165,7 +97491,7 @@ paths: items: *4 teams: type: array - items: *267 + items: *271 required: - users - teams @@ -97224,9 +97550,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -97263,7 +97589,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -97799,9 +98125,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: true content: @@ -97835,7 +98161,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -98340,9 +98666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 - *17 - *19 responses: @@ -98352,7 +98678,7 @@ paths: application/json: schema: type: array - items: &659 + items: &663 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98426,7 +98752,7 @@ paths: type: string body_text: type: string - author_association: *180 + author_association: *182 required: - id - node_id @@ -98508,9 +98834,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -98600,9 +98926,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: - default: &661 + default: &665 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98665,10 +98991,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: - - *425 - - *426 - - *656 - - &660 + - *429 + - *430 + - *660 + - &664 name: review_id description: The unique identifier of the review. in: path @@ -98680,9 +99006,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: - default: &662 + default: &666 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98741,10 +99067,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 requestBody: required: true content: @@ -98767,7 +99093,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: default: value: @@ -98829,18 +99155,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 responses: '200': description: Response content: application/json: - schema: *659 + schema: *663 examples: - default: *661 + default: *665 '422': *7 '404': *6 x-github: @@ -98867,10 +99193,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 - *17 - *19 responses: @@ -98964,13 +99290,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *180 + author_association: *182 _links: type: object properties: - self: *364 - html: *364 - pull_request: *364 + self: *368 + html: *368 + pull_request: *368 required: - self - html @@ -98979,7 +99305,7 @@ paths: type: string body_html: type: string - reactions: *181 + reactions: *183 side: description: The side of the first line of the range for a multi-line comment. @@ -99128,10 +99454,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 requestBody: required: true content: @@ -99160,7 +99486,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: default: value: @@ -99223,10 +99549,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 requestBody: required: true content: @@ -99261,9 +99587,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: - default: *662 + default: *666 '404': *6 '422': *7 '403': *27 @@ -99285,9 +99611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -99351,8 +99677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *425 - - *426 + - *429 + - *430 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99365,9 +99691,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: &664 + default: &668 value: type: file encoding: base64 @@ -99409,8 +99735,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: - - *425 - - *426 + - *429 + - *430 - name: dir description: The alternate path to look for a README file in: path @@ -99430,9 +99756,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: *664 + default: *668 '404': *6 '422': *15 x-github: @@ -99454,8 +99780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -99465,7 +99791,7 @@ paths: application/json: schema: type: array - items: &665 + items: &669 title: Release description: A release. type: object @@ -99547,7 +99873,7 @@ paths: author: *4 assets: type: array - items: &666 + items: &670 title: Release Asset description: Data related to a release. type: object @@ -99622,7 +99948,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *181 + reactions: *183 required: - assets_url - upload_url @@ -99734,8 +100060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -99811,9 +100137,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: - default: &669 + default: &673 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99918,9 +100244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *425 - - *426 - - &667 + - *429 + - *430 + - &671 name: asset_id description: The unique identifier of the asset. in: path @@ -99932,9 +100258,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: &668 + default: &672 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 @@ -99969,7 +100295,7 @@ paths: type: User site_admin: false '404': *6 - '302': *554 + '302': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99985,9 +100311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *425 - - *426 - - *667 + - *429 + - *430 + - *671 requestBody: required: false content: @@ -100016,9 +100342,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *668 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100034,9 +100360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *425 - - *426 - - *667 + - *429 + - *430 + - *671 responses: '204': description: Response @@ -100060,8 +100386,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -100147,16 +100473,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *665 + schema: *669 examples: - default: *669 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100173,8 +100499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *425 - - *426 + - *429 + - *430 - name: tag description: tag parameter in: path @@ -100187,9 +100513,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: - default: *669 + default: *673 '404': *6 x-github: githubCloudOnly: false @@ -100211,9 +100537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *425 - - *426 - - &670 + - *429 + - *430 + - &674 name: release_id description: The unique identifier of the release. in: path @@ -100227,9 +100553,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: *665 + schema: *669 examples: - default: *669 + default: *673 '401': description: Unauthorized x-github: @@ -100247,9 +100573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 requestBody: required: false content: @@ -100313,9 +100639,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: - default: *669 + default: *673 '404': description: Not Found if the discussion category name is invalid content: @@ -100336,9 +100662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 responses: '204': description: Response @@ -100358,9 +100684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 - *17 - *19 responses: @@ -100370,7 +100696,7 @@ paths: application/json: schema: type: array - items: *666 + items: *670 examples: default: value: @@ -100452,9 +100778,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: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 - name: name in: query required: true @@ -100480,7 +100806,7 @@ paths: description: Response for successful upload content: application/json: - schema: *666 + schema: *670 examples: response-for-successful-upload: value: @@ -100535,9 +100861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 - 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. @@ -100561,9 +100887,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 @@ -100584,9 +100910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 requestBody: required: true content: @@ -100616,16 +100942,16 @@ paths: description: Reaction exists content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Reaction created content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -100647,10 +100973,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *425 - - *426 - - *670 - - *417 + - *429 + - *430 + - *674 + - *421 responses: '204': description: Response @@ -100674,9 +101000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 - *17 - *19 responses: @@ -100693,7 +101019,7 @@ paths: oneOf: - allOf: - *138 - - &671 + - &675 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100714,67 +101040,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *139 - - *671 + - *675 - allOf: - *140 - - *671 + - *675 - allOf: - *141 - - *671 + - *675 - allOf: - - *672 - - *671 + - *676 + - *675 - allOf: - *142 - - *671 + - *675 - allOf: - *143 - - *671 + - *675 - allOf: - *144 - - *671 + - *675 - allOf: - *145 - - *671 + - *675 - allOf: - *146 - - *671 + - *675 - allOf: - *147 - - *671 + - *675 - allOf: - *148 - - *671 + - *675 - allOf: - *149 - - *671 + - *675 - allOf: - *150 - - *671 + - *675 - allOf: - *151 - - *671 + - *675 - allOf: - *152 - - *671 + - *675 - allOf: - *153 - - *671 + - *675 - allOf: - *154 - - *671 + - *675 - allOf: - *155 - - *671 + - *675 - allOf: - *156 - - *671 + - *675 - allOf: - *157 - - *671 + - *675 - allOf: - - *673 - - *671 + - *677 + - *675 examples: default: value: @@ -100813,8 +101139,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 - name: includes_parents @@ -100825,7 +101151,7 @@ paths: schema: type: boolean default: true - - *674 + - *678 responses: '200': description: Response @@ -100880,8 +101206,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 requestBody: description: Request body required: true @@ -100910,7 +101236,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *675 + items: *679 required: - name - enforcement @@ -100943,7 +101269,7 @@ paths: application/json: schema: *158 examples: - default: &684 + default: &688 value: id: 42 name: super cool ruleset @@ -100990,12 +101316,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *425 - - *426 - - *676 + - *429 + - *430 + - *680 - *94 - - *677 - - *678 + - *681 + - *682 - *17 - *19 responses: @@ -101003,9 +101329,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: *680 + default: *684 '404': *6 '500': *38 x-github: @@ -101026,17 +101352,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *425 - - *426 - - *681 + - *429 + - *430 + - *685 responses: '200': description: Response content: application/json: - schema: *682 + schema: *686 examples: - default: *683 + default: *687 '404': *6 '500': *38 x-github: @@ -101064,8 +101390,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101087,7 +101413,7 @@ paths: application/json: schema: *158 examples: - default: *684 + default: *688 '404': *6 '500': *38 put: @@ -101105,8 +101431,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101140,7 +101466,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *675 + items: *679 examples: default: value: @@ -101170,7 +101496,7 @@ paths: application/json: schema: *158 examples: - default: *684 + default: *688 '404': *6 '500': *38 delete: @@ -101188,8 +101514,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101212,8 +101538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 - name: ruleset_id @@ -101231,7 +101557,7 @@ paths: type: array items: *162 examples: - default: *378 + default: *382 '404': *6 '500': *38 x-github: @@ -101250,8 +101576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *425 - - *426 + - *429 + - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101269,7 +101595,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *383 examples: default: value: @@ -101324,21 +101650,21 @@ 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: - - *425 - - *426 - - *380 - - *381 - - *382 - - *383 - - *99 - - *19 - - *17 - - *685 - - *686 + - *429 + - *430 - *384 - *385 - *386 - *387 + - *99 + - *19 + - *17 + - *689 + - *690 + - *388 + - *389 + - *390 + - *391 responses: '200': description: Response @@ -101346,7 +101672,7 @@ paths: application/json: schema: type: array - items: &690 + items: &694 type: object properties: number: *109 @@ -101362,8 +101688,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *687 - resolution: *688 + state: *691 + resolution: *692 resolved_at: type: - string @@ -101457,7 +101783,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *689 + - *693 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -101579,16 +101905,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *425 - - *426 - - *512 - - *387 + - *429 + - *430 + - *516 + - *391 responses: '200': description: Response content: application/json: - schema: *690 + schema: *694 examples: default: value: @@ -101640,9 +101966,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 requestBody: required: true content: @@ -101650,8 +101976,8 @@ paths: schema: type: object properties: - state: *687 - resolution: *688 + state: *691 + resolution: *692 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101670,7 +101996,7 @@ paths: description: Response content: application/json: - schema: *690 + schema: *694 examples: default: value: @@ -101745,9 +102071,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 - *19 - *17 responses: @@ -101758,7 +102084,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &865 + items: &869 type: object properties: type: @@ -101785,10 +102111,6 @@ paths: - commit details: oneOf: - - *691 - - *692 - - *693 - - *694 - *695 - *696 - *697 @@ -101798,6 +102120,10 @@ paths: - *701 - *702 - *703 + - *704 + - *705 + - *706 + - *707 examples: default: value: @@ -101883,8 +102209,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -101892,14 +102218,14 @@ paths: schema: type: object properties: - reason: &705 + reason: &709 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *704 + placeholder_id: *708 required: - reason - placeholder_id @@ -101916,7 +102242,7 @@ paths: schema: type: object properties: - reason: *705 + reason: *709 expire_at: type: - string @@ -101960,8 +102286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -101976,7 +102302,7 @@ paths: properties: incremental_scans: type: array - items: &706 + items: &710 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102004,15 +102330,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *706 + items: *710 backfill_scans: type: array - items: *706 + items: *710 custom_pattern_backfill_scans: type: array items: allOf: - - *706 + - *710 - type: object properties: pattern_name: @@ -102082,8 +102408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *425 - - *426 + - *429 + - *430 - *99 - name: sort description: The property to sort the results by. @@ -102127,9 +102453,9 @@ paths: application/json: schema: type: array - items: *707 + items: *711 examples: - default: *708 + default: *712 '400': *14 '404': *6 x-github: @@ -102152,8 +102478,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -102233,7 +102559,7 @@ paths: login: type: string description: The username of the user credited. - type: *392 + type: *396 required: - login - type @@ -102323,9 +102649,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: &710 + default: &714 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102558,8 +102884,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -102672,7 +102998,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: default: value: @@ -102819,17 +103145,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: - - *425 - - *426 - - *709 + - *429 + - *430 + - *713 responses: '200': description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *710 + default: *714 '403': *27 '404': *6 x-github: @@ -102853,9 +103179,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: - - *425 - - *426 - - *709 + - *429 + - *430 + - *713 requestBody: required: true content: @@ -102935,7 +103261,7 @@ paths: login: type: string description: The username of the user credited. - type: *392 + type: *396 required: - login - type @@ -103026,17 +103352,17 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *710 - add_credit: *710 + default: *714 + add_credit: *714 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *217 + schema: *221 examples: invalid_state_transition: value: @@ -103067,9 +103393,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: - - *425 - - *426 - - *709 + - *429 + - *430 + - *713 responses: '202': *37 '400': *14 @@ -103096,17 +103422,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: - - *425 - - *426 - - *709 + - *429 + - *430 + - *713 responses: '202': description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 + default: *444 '400': *14 '422': *15 '403': *27 @@ -103132,8 +103458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -103229,8 +103555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103239,7 +103565,7 @@ paths: application/json: schema: type: array - items: &711 + items: &715 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103272,8 +103598,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -103351,8 +103677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -103446,8 +103772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103601,8 +103927,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103612,7 +103938,7 @@ paths: application/json: schema: type: array - items: *711 + items: *715 examples: default: value: @@ -103645,8 +103971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *425 - - *426 + - *429 + - *430 - name: sha in: path required: true @@ -103702,7 +104028,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *716 examples: default: value: @@ -103756,8 +104082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -103769,7 +104095,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -103789,14 +104115,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &713 + schema: &717 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103869,8 +104195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -103896,7 +104222,7 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: default: value: @@ -103923,8 +104249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -103944,8 +104270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -104027,8 +104353,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -104036,7 +104362,7 @@ paths: application/json: schema: type: array - items: &714 + items: &718 title: Tag protection description: Tag protection type: object @@ -104093,8 +104419,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -104117,7 +104443,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *718 examples: default: value: @@ -104148,8 +104474,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: - - *425 - - *426 + - *429 + - *430 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -104186,8 +104512,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *425 - - *426 + - *429 + - *430 - name: ref in: path required: true @@ -104223,8 +104549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -104234,9 +104560,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 headers: Link: *41 '404': *6 @@ -104256,8 +104582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *425 - - *426 + - *429 + - *430 - *19 - *17 responses: @@ -104265,7 +104591,7 @@ paths: description: Response content: application/json: - schema: &715 + schema: &719 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104277,7 +104603,7 @@ paths: required: - names examples: - default: &716 + default: &720 value: names: - octocat @@ -104300,8 +104626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -104332,9 +104658,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *719 examples: - default: *716 + default: *720 '404': *6 '422': *7 x-github: @@ -104355,9 +104681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *425 - - *426 - - &717 + - *429 + - *430 + - &721 name: per description: The time frame to display results for. in: query @@ -104388,7 +104714,7 @@ paths: - 128 clones: type: array - items: &718 + items: &722 title: Traffic type: object properties: @@ -104475,8 +104801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -104570,8 +104896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -104634,9 +104960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *425 - - *426 - - *717 + - *429 + - *430 + - *721 responses: '200': description: Response @@ -104657,7 +104983,7 @@ paths: - 3782 views: type: array - items: *718 + items: *722 required: - uniques - count @@ -104734,8 +105060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -104771,7 +105097,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: default: value: @@ -105009,8 +105335,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105033,8 +105359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -105056,8 +105382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -105083,8 +105409,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *425 - - *426 + - *429 + - *430 - name: ref in: path required: true @@ -105176,9 +105502,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 + default: *444 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105219,7 +105545,7 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: default: value: @@ -105329,7 +105655,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &726 + - &730 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -105339,7 +105665,7 @@ paths: type: string examples: - members - - &731 + - &735 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -105351,7 +105677,7 @@ paths: format: int32 examples: - 1 - - &732 + - &736 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -105395,7 +105721,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &721 + items: &725 allOf: - type: object required: @@ -105477,7 +105803,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: &733 + meta: &737 type: object description: The metadata associated with the creation/updates to the user. @@ -105542,30 +105868,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &722 + '400': &726 description: Bad request content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '401': *720 - '403': &723 + schema: *723 + '401': *724 + '403': &727 description: Permission denied - '429': &724 + '429': &728 description: Too many requests content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '500': &725 + schema: *723 + '500': &729 description: Internal server error content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 + schema: *723 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105589,7 +105915,7 @@ paths: required: true content: application/json: - schema: &729 + schema: &733 type: object required: - schemas @@ -105653,9 +105979,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *721 + schema: *725 examples: - group: &727 + group: &731 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -105674,13 +106000,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': *722 - '401': *720 - '403': *723 - '409': &730 + '400': *726 + '401': *724 + '403': *727 + '409': &734 description: Duplicate record detected - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105697,7 +106023,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: - - &728 + - &732 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -105706,22 +106032,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *726 + - *730 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *721 + schema: *725 examples: - default: *727 - '400': *722 - '401': *720 - '403': *723 + default: *731 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105740,13 +106066,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: - - *728 + - *732 - *39 requestBody: required: true content: application/json: - schema: *729 + schema: *733 examples: group: summary: Group @@ -105772,17 +106098,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *721 + schema: *725 examples: - group: *727 - groupWithMembers: *727 - '400': *722 - '401': *720 - '403': *723 + group: *731 + groupWithMembers: *731 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '409': *730 - '429': *724 - '500': *725 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105806,13 +106132,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: - - *728 + - *732 - *39 requestBody: required: true content: application/json: - schema: &740 + schema: &744 type: object required: - Operations @@ -105872,17 +106198,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *721 + schema: *725 examples: - updateGroup: *727 - addMembers: *727 - '400': *722 - '401': *720 - '403': *723 + updateGroup: *731 + addMembers: *731 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '409': *730 - '429': *724 - '500': *725 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105898,17 +106224,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: - - *728 + - *732 - *39 responses: '204': description: Group was deleted, no content - '400': *722 - '401': *720 - '403': *723 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105942,8 +106268,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *731 - - *732 + - *735 + - *736 - *39 responses: '200': @@ -105977,7 +106303,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &735 + items: &739 allOf: - type: object required: @@ -106069,7 +106395,7 @@ paths: address. examples: - true - roles: &734 + roles: &738 type: array description: The roles assigned to the user. items: @@ -106128,7 +106454,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *733 + meta: *737 startIndex: type: integer description: A starting index for the returned page @@ -106167,11 +106493,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *722 - '401': *720 - '403': *723 - '429': *724 - '500': *725 + '400': *726 + '401': *724 + '403': *727 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106195,7 +106521,7 @@ paths: required: true content: application/json: - schema: &738 + schema: &742 type: object required: - schemas @@ -106288,9 +106614,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *734 + roles: *738 examples: - user: &739 + user: &743 summary: User value: schemas: @@ -106337,9 +106663,9 @@ paths: description: User has been created content: application/scim+json: - schema: *735 + schema: *739 examples: - user: &736 + user: &740 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106365,13 +106691,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: *736 - '400': *722 - '401': *720 - '403': *723 - '409': *730 - '429': *724 - '500': *725 + enterpriseOwner: *740 + '400': *726 + '401': *724 + '403': *727 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106388,7 +106714,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: - - &737 + - &741 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -106401,15 +106727,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *735 + schema: *739 examples: - default: *736 - '400': *722 - '401': *720 - '403': *723 + default: *740 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106431,30 +106757,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: - - *737 + - *741 - *39 requestBody: required: true content: application/json: - schema: *738 + schema: *742 examples: - user: *739 + user: *743 responses: '200': description: User was updated content: application/scim+json: - schema: *735 + schema: *739 examples: - user: *736 - '400': *722 - '401': *720 - '403': *723 + user: *740 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '409': *730 - '429': *724 - '500': *725 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106489,13 +106815,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: - - *737 + - *741 - *39 requestBody: required: true content: application/json: - schema: *740 + schema: *744 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -106535,18 +106861,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *735 + schema: *739 examples: - userMultiValuedProperties: *736 - userSingleValuedProperties: *736 - disableUser: *736 - '400': *722 - '401': *720 - '403': *723 + userMultiValuedProperties: *740 + userSingleValuedProperties: *740 + disableUser: *740 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '409': *730 - '429': *724 - '500': *725 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106566,17 +106892,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: - - *737 + - *741 - *39 responses: '204': description: User was deleted, no content - '400': *722 - '401': *720 - '403': *723 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106667,7 +106993,7 @@ paths: - 1 Resources: type: array - items: &741 + items: &745 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -106914,22 +107240,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &742 + '404': &746 description: Resource not found content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '403': &743 + schema: *723 + '403': &747 description: Forbidden content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '400': *722 - '429': *724 + schema: *723 + '400': *726 + '429': *728 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -106955,9 +107281,9 @@ paths: description: Response content: application/scim+json: - schema: *741 + schema: *745 examples: - default: &744 + default: &748 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106980,17 +107306,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *742 - '403': *743 - '500': *725 + '404': *746 + '403': *747 + '500': *729 '409': description: Conflict content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '400': *722 + schema: *723 + '400': *726 requestBody: required: true content: @@ -107090,17 +107416,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *76 - - *737 + - *741 responses: '200': description: Response content: application/scim+json: - schema: *741 + schema: *745 examples: - default: *744 - '404': *742 - '403': *743 + default: *748 + '404': *746 + '403': *747 '304': *35 x-github: githubCloudOnly: true @@ -107124,18 +107450,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *76 - - *737 + - *741 responses: '200': description: Response content: application/scim+json: - schema: *741 + schema: *745 examples: - default: *744 + default: *748 '304': *35 - '404': *742 - '403': *743 + '404': *746 + '403': *747 requestBody: required: true content: @@ -107250,19 +107576,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *76 - - *737 + - *741 responses: '200': description: Response content: application/scim+json: - schema: *741 + schema: *745 examples: - default: *744 + default: *748 '304': *35 - '404': *742 - '403': *743 - '400': *722 + '404': *746 + '403': *747 + '400': *726 '429': description: Response content: @@ -107358,12 +107684,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *76 - - *737 + - *741 responses: '204': description: Response - '404': *742 - '403': *743 + '404': *746 + '403': *747 '304': *35 x-github: githubCloudOnly: true @@ -107478,7 +107804,7 @@ paths: html_url: type: string format: uri - repository: *240 + repository: *244 score: type: number file_size: @@ -107497,7 +107823,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &745 + text_matches: &749 title: Search Result Text Matches type: array items: @@ -107661,7 +107987,7 @@ paths: enum: - author-date - committer-date - - &746 + - &750 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 @@ -107730,7 +108056,7 @@ paths: committer: anyOf: - type: 'null' - - *482 + - *486 comment_count: type: integer message: @@ -107749,7 +108075,7 @@ paths: url: type: string format: uri - verification: *598 + verification: *602 required: - author - committer @@ -107764,7 +108090,7 @@ paths: committer: anyOf: - type: 'null' - - *482 + - *486 parents: type: array items: @@ -107776,12 +108102,12 @@ paths: type: string sha: type: string - repository: *240 + repository: *244 score: type: number node_id: type: string - text_matches: *745 + text_matches: *749 required: - sha - node_id @@ -107964,7 +108290,7 @@ paths: - interactions - created - updated - - *746 + - *750 - *17 - *19 - name: advanced_search @@ -108070,11 +108396,11 @@ paths: type: - string - 'null' - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: type: string state_reason: @@ -108088,7 +108414,7 @@ paths: milestone: anyOf: - type: 'null' - - *363 + - *367 comments: type: integer created_at: @@ -108102,7 +108428,7 @@ paths: - string - 'null' format: date-time - text_matches: *745 + text_matches: *749 pull_request: type: object properties: @@ -108140,7 +108466,7 @@ paths: type: string score: type: number - author_association: *180 + author_association: *182 draft: type: boolean repository: *67 @@ -108151,12 +108477,12 @@ paths: timeline_url: type: string format: uri - type: *326 + type: *330 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *181 + reactions: *183 required: - assignee - closed_at @@ -108328,7 +108654,7 @@ paths: enum: - created - updated - - *746 + - *750 - *17 - *19 responses: @@ -108373,7 +108699,7 @@ paths: - 'null' score: type: number - text_matches: *745 + text_matches: *749 required: - id - node_id @@ -108459,7 +108785,7 @@ paths: - forks - help-wanted-issues - updated - - *746 + - *750 - *17 - *19 responses: @@ -108678,7 +109004,7 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 permissions: type: object properties: @@ -108696,7 +109022,7 @@ paths: - admin - pull - push - text_matches: *745 + text_matches: *749 temp_clone_token: type: string allow_merge_commit: @@ -109005,7 +109331,7 @@ paths: - string - 'null' format: uri - text_matches: *745 + text_matches: *749 related: type: - array @@ -109200,7 +109526,7 @@ paths: - followers - repositories - joined - - *746 + - *750 - *17 - *19 responses: @@ -109310,7 +109636,7 @@ paths: type: - boolean - 'null' - text_matches: *745 + text_matches: *749 blog: type: - string @@ -109392,7 +109718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &750 + - &754 name: team_id description: The unique identifier of the team. in: path @@ -109404,9 +109730,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '404': *6 x-github: githubCloudOnly: false @@ -109433,7 +109759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *750 + - *754 requestBody: required: true content: @@ -109497,16 +109823,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '201': description: Response content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '404': *6 '422': *15 '403': *27 @@ -109534,7 +109860,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *750 + - *754 responses: '204': description: Response @@ -109565,7 +109891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *750 + - *754 - *99 - *17 - *19 @@ -109576,9 +109902,9 @@ paths: application/json: schema: type: array - items: *408 + items: *412 examples: - default: *751 + default: *755 headers: Link: *41 x-github: @@ -109607,7 +109933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *750 + - *754 requestBody: required: true content: @@ -109641,9 +109967,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: *409 + default: *413 x-github: triggersNotification: true githubCloudOnly: false @@ -109670,16 +109996,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *750 - - *410 + - *754 + - *414 responses: '200': description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: *409 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109704,8 +110030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *750 - - *410 + - *754 + - *414 requestBody: required: false content: @@ -109728,9 +110054,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: *752 + default: *756 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109755,8 +110081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *750 - - *410 + - *754 + - *414 responses: '204': description: Response @@ -109785,8 +110111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *750 - - *410 + - *754 + - *414 - *99 - *17 - *19 @@ -109797,9 +110123,9 @@ paths: application/json: schema: type: array - items: *411 + items: *415 examples: - default: *753 + default: *757 headers: Link: *41 x-github: @@ -109828,8 +110154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *750 - - *410 + - *754 + - *414 requestBody: required: true content: @@ -109851,9 +110177,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: *412 + default: *416 x-github: triggersNotification: true githubCloudOnly: false @@ -109880,17 +110206,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 responses: '200': description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: *412 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109915,9 +110241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 requestBody: required: true content: @@ -109939,9 +110265,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: *754 + default: *758 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109966,9 +110292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 responses: '204': description: Response @@ -109997,9 +110323,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: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 - 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. @@ -110025,9 +110351,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 x-github: @@ -110056,9 +110382,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: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 requestBody: required: true content: @@ -110090,9 +110416,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110118,8 +110444,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: - - *750 - - *410 + - *754 + - *414 - 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. @@ -110145,9 +110471,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 x-github: @@ -110176,8 +110502,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: - - *750 - - *410 + - *754 + - *414 requestBody: required: true content: @@ -110209,9 +110535,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110235,7 +110561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *750 + - *754 - *17 - *19 responses: @@ -110245,9 +110571,9 @@ paths: application/json: schema: type: array - items: *323 + items: *327 examples: - default: *324 + default: *328 headers: Link: *41 x-github: @@ -110273,7 +110599,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *750 + - *754 - name: role description: Filters members returned by their role in the team. in: query @@ -110296,7 +110622,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '404': *6 @@ -110324,8 +110650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *750 - - *176 + - *754 + - *178 responses: '204': description: if user is a member @@ -110361,8 +110687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *750 - - *176 + - *754 + - *178 responses: '204': description: Response @@ -110401,8 +110727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *750 - - *176 + - *754 + - *178 responses: '204': description: Response @@ -110438,16 +110764,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: - - *750 - - *176 + - *754 + - *178 responses: '200': description: Response content: application/json: - schema: *422 + schema: *426 examples: - response-if-user-is-a-team-maintainer: *755 + response-if-user-is-a-team-maintainer: *759 '404': *6 x-github: githubCloudOnly: false @@ -110480,8 +110806,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: - - *750 - - *176 + - *754 + - *178 requestBody: required: false content: @@ -110506,9 +110832,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *426 examples: - response-if-users-membership-with-team-is-now-pending: *756 + response-if-users-membership-with-team-is-now-pending: *760 '403': description: Forbidden if team synchronization is set up '422': @@ -110542,8 +110868,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: - - *750 - - *176 + - *754 + - *178 responses: '204': description: Response @@ -110571,7 +110897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *750 + - *754 - *17 - *19 responses: @@ -110581,9 +110907,9 @@ paths: application/json: schema: type: array - items: *423 + items: *427 examples: - default: *757 + default: *761 headers: Link: *41 '404': *6 @@ -110609,16 +110935,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: - - *750 - - *424 + - *754 + - *428 responses: '200': description: Response content: application/json: - schema: *423 + schema: *427 examples: - default: *758 + default: *762 '404': description: Not Found if project is not managed by this team x-github: @@ -110642,8 +110968,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: - - *750 - - *424 + - *754 + - *428 requestBody: required: false content: @@ -110710,8 +111036,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: - - *750 - - *424 + - *754 + - *428 responses: '204': description: Response @@ -110738,7 +111064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *750 + - *754 - *17 - *19 responses: @@ -110748,9 +111074,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 '404': *6 @@ -110780,15 +111106,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: - - *750 - - *425 - - *426 + - *754 + - *429 + - *430 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *759 + schema: *763 examples: alternative-response-with-extra-repository-information: value: @@ -110939,9 +111265,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: - - *750 - - *425 - - *426 + - *754 + - *429 + - *430 requestBody: required: false content: @@ -110991,9 +111317,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: - - *750 - - *425 - - *426 + - *754 + - *429 + - *430 responses: '204': description: Response @@ -111022,15 +111348,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: - - *750 + - *754 responses: '200': description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 '403': *27 '404': *6 x-github: @@ -111057,7 +111383,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: - - *750 + - *754 requestBody: required: true content: @@ -111118,7 +111444,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: default: value: @@ -111149,7 +111475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *750 + - *754 - *17 - *19 responses: @@ -111159,9 +111485,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - response-if-child-teams-exist: *760 + response-if-child-teams-exist: *764 headers: Link: *41 '404': *6 @@ -111194,7 +111520,7 @@ paths: application/json: schema: oneOf: - - &762 + - &766 title: Private User description: Private User type: object @@ -111444,7 +111770,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *761 + - *765 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -111604,7 +111930,7 @@ paths: description: Response content: application/json: - schema: *762 + schema: *766 examples: default: value: @@ -111683,7 +112009,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '304': *35 '404': *6 '403': *27 @@ -111706,7 +112032,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: - - *176 + - *178 responses: '204': description: If the user is blocked @@ -111734,7 +112060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *176 + - *178 responses: '204': description: Response @@ -111758,7 +112084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *176 + - *178 responses: '204': description: Response @@ -111807,9 +112133,9 @@ paths: type: integer codespaces: type: array - items: *331 + items: *335 examples: - default: *332 + default: *336 '304': *35 '500': *38 '401': *23 @@ -111948,17 +112274,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '401': *23 '403': *27 '404': *6 @@ -112002,7 +112328,7 @@ paths: type: integer secrets: type: array - items: &763 + items: &767 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112044,7 +112370,7 @@ paths: - visibility - selected_repositories_url examples: - default: *534 + default: *538 headers: Link: *41 x-github: @@ -112116,13 +112442,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: - - *250 + - *254 responses: '200': description: Response content: application/json: - schema: *763 + schema: *767 examples: default: value: @@ -112152,7 +112478,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: - - *250 + - *254 requestBody: required: true content: @@ -112197,7 +112523,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -112225,7 +112551,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: - - *250 + - *254 responses: '204': description: Response @@ -112250,7 +112576,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: - - *250 + - *254 responses: '200': description: Response @@ -112266,9 +112592,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: *764 + default: *768 '401': *23 '403': *27 '404': *6 @@ -112293,7 +112619,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: - - *250 + - *254 requestBody: required: true content: @@ -112347,7 +112673,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: - - *250 + - *254 - name: repository_id in: path required: true @@ -112380,7 +112706,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: - - *250 + - *254 - name: repository_id in: path required: true @@ -112412,15 +112738,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: - - *333 + - *337 responses: '200': description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '304': *35 '500': *38 '401': *23 @@ -112446,7 +112772,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: - - *333 + - *337 requestBody: required: false content: @@ -112476,9 +112802,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '401': *23 '403': *27 '404': *6 @@ -112500,7 +112826,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: - - *333 + - *337 responses: '202': *37 '304': *35 @@ -112529,13 +112855,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: - - *333 + - *337 responses: '202': description: Response content: application/json: - schema: &765 + schema: &769 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112588,7 +112914,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &766 + default: &770 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112620,7 +112946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *333 + - *337 - name: export_id in: path required: true @@ -112633,9 +112959,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *769 examples: - default: *766 + default: *770 '404': *6 x-github: githubCloudOnly: false @@ -112656,7 +112982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *333 + - *337 responses: '200': description: Response @@ -112672,9 +112998,9 @@ paths: type: integer machines: type: array - items: *533 + items: *537 examples: - default: *767 + default: *771 '304': *35 '500': *38 '401': *23 @@ -112703,7 +113029,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: - - *333 + - *337 requestBody: required: true content: @@ -112759,11 +113085,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *438 + repository: *442 machine: anyOf: - type: 'null' - - *533 + - *537 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -113560,15 +113886,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: - - *333 + - *337 responses: '200': description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '304': *35 '500': *38 '400': *14 @@ -113600,15 +113926,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: - - *333 + - *337 responses: '200': description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '500': *38 '401': *23 '403': *27 @@ -113638,9 +113964,9 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: &779 + default: &783 value: - id: 197 name: hello_docker @@ -113741,7 +114067,7 @@ paths: application/json: schema: type: array - items: &768 + items: &772 title: Email description: Email type: object @@ -113811,9 +114137,9 @@ paths: application/json: schema: type: array - items: *768 + items: *772 examples: - default: &781 + default: &785 value: - email: octocat@github.com verified: true @@ -113890,7 +114216,7 @@ paths: application/json: schema: type: array - items: *768 + items: *772 examples: default: value: @@ -114002,7 +114328,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '304': *35 @@ -114035,7 +114361,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '304': *35 @@ -114057,7 +114383,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: - - *176 + - *178 responses: '204': description: if the person is followed by the authenticated user @@ -114087,7 +114413,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *176 + - *178 responses: '204': description: Response @@ -114112,7 +114438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *176 + - *178 responses: '204': description: Response @@ -114148,7 +114474,7 @@ paths: application/json: schema: type: array - items: &769 + items: &773 title: GPG Key description: A unique encryption key type: object @@ -114293,7 +114619,7 @@ paths: - subkeys - revoked examples: - default: &795 + default: &799 value: - id: 3 name: Octocat's GPG Key @@ -114378,9 +114704,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *773 examples: - default: &770 + default: &774 value: id: 3 name: Octocat's GPG Key @@ -114437,7 +114763,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: - - &771 + - &775 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114449,9 +114775,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *773 examples: - default: *770 + default: *774 '404': *6 '304': *35 '403': *27 @@ -114474,7 +114800,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: - - *771 + - *775 responses: '204': description: Response @@ -114665,7 +114991,7 @@ paths: type: array items: *67 examples: - default: *235 + default: *239 headers: Link: *41 '404': *6 @@ -114690,7 +115016,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *234 + - *238 responses: '204': description: Response @@ -114716,7 +115042,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *234 + - *238 responses: '204': description: Response @@ -114750,12 +115076,12 @@ paths: application/json: schema: anyOf: - - *321 + - *325 - type: object properties: {} additionalProperties: false examples: - default: *322 + default: *326 '204': description: Response when there are no restrictions x-github: @@ -114779,7 +115105,7 @@ paths: required: true content: application/json: - schema: *609 + schema: *613 examples: default: value: @@ -114790,7 +115116,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *325 examples: default: value: @@ -114871,7 +115197,7 @@ paths: - closed - all default: open - - *329 + - *333 - name: sort description: What to sort results by. in: query @@ -114884,7 +115210,7 @@ paths: - comments default: created - *99 - - *183 + - *185 - *17 - *19 responses: @@ -114894,9 +115220,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *330 + default: *334 headers: Link: *41 '404': *6 @@ -114929,7 +115255,7 @@ paths: application/json: schema: type: array - items: &772 + items: &776 title: Key description: Key type: object @@ -115032,9 +115358,9 @@ paths: description: Response content: application/json: - schema: *772 + schema: *776 examples: - default: &773 + default: &777 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115067,15 +115393,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: - - *636 + - *640 responses: '200': description: Response content: application/json: - schema: *772 + schema: *776 examples: - default: *773 + default: *777 '404': *6 '304': *35 '403': *27 @@ -115098,7 +115424,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: - - *636 + - *640 responses: '204': description: Response @@ -115131,7 +115457,7 @@ paths: application/json: schema: type: array - items: &774 + items: &778 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115199,7 +115525,7 @@ paths: - id - type - login - plan: *196 + plan: *198 required: - billing_cycle - next_billing_date @@ -115210,7 +115536,7 @@ paths: - account - plan examples: - default: &775 + default: &779 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115272,9 +115598,9 @@ paths: application/json: schema: type: array - items: *774 + items: *778 examples: - default: *775 + default: *779 headers: Link: *41 '304': *35 @@ -115314,7 +115640,7 @@ paths: application/json: schema: type: array - items: *334 + items: *338 examples: default: value: @@ -115422,7 +115748,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: default: value: @@ -115505,7 +115831,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: default: value: @@ -115573,7 +115899,7 @@ paths: application/json: schema: type: array - items: *336 + items: *340 examples: default: value: @@ -115835,7 +116161,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -116015,7 +116341,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *337 + - *341 - name: exclude in: query required: false @@ -116028,7 +116354,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -116222,7 +116548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *337 + - *341 responses: '302': description: Response @@ -116248,7 +116574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *337 + - *341 responses: '204': description: Response @@ -116277,8 +116603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *337 - - *776 + - *341 + - *780 responses: '204': description: Response @@ -116302,7 +116628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *337 + - *341 - *17 - *19 responses: @@ -116312,9 +116638,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 '404': *6 @@ -116351,7 +116677,7 @@ paths: type: array items: *62 examples: - default: *777 + default: *781 headers: Link: *41 '304': *35 @@ -116393,7 +116719,7 @@ paths: - docker - nuget - container - - *778 + - *782 - *19 - *17 responses: @@ -116403,10 +116729,10 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: *779 - '400': *780 + default: *783 + '400': *784 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116426,16 +116752,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: - - *343 - - *344 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *341 + schema: *345 examples: - default: &796 + default: &800 value: id: 40201 name: octo-name @@ -116548,8 +116874,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: - - *343 - - *344 + - *347 + - *348 responses: '204': description: Response @@ -116579,8 +116905,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: - - *343 - - *344 + - *347 + - *348 - name: token description: package token schema: @@ -116612,8 +116938,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: - - *343 - - *344 + - *347 + - *348 - *19 - *17 - name: state @@ -116633,7 +116959,7 @@ paths: application/json: schema: type: array - items: *345 + items: *349 examples: default: value: @@ -116682,15 +117008,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: - - *343 - - *344 - - *346 + - *347 + - *348 + - *350 responses: '200': description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -116726,9 +117052,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: - - *343 - - *344 - - *346 + - *347 + - *348 + - *350 responses: '204': description: Response @@ -116758,9 +117084,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: - - *343 - - *344 - - *346 + - *347 + - *348 + - *350 responses: '204': description: Response @@ -116818,7 +117144,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -116890,9 +117216,9 @@ paths: application/json: schema: type: array - items: *768 + items: *772 examples: - default: *781 + default: *785 headers: Link: *41 '304': *35 @@ -117005,7 +117331,7 @@ paths: type: array items: *67 examples: - default: &788 + default: &792 summary: Default response value: - id: 1296269 @@ -117323,9 +117649,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 + default: *444 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117363,9 +117689,9 @@ paths: application/json: schema: type: array - items: *611 + items: *615 examples: - default: *782 + default: *786 headers: Link: *41 '304': *35 @@ -117388,7 +117714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *325 + - *329 responses: '204': description: Response @@ -117411,7 +117737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *325 + - *329 responses: '204': description: Response @@ -117444,7 +117770,7 @@ paths: application/json: schema: type: array - items: &783 + items: &787 title: Social account description: Social media account type: object @@ -117461,7 +117787,7 @@ paths: - provider - url examples: - default: &784 + default: &788 value: - provider: twitter url: https://twitter.com/github @@ -117524,9 +117850,9 @@ paths: application/json: schema: type: array - items: *783 + items: *787 examples: - default: *784 + default: *788 '422': *15 '304': *35 '404': *6 @@ -117614,7 +117940,7 @@ paths: application/json: schema: type: array - items: &785 + items: &789 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117634,7 +117960,7 @@ paths: - title - created_at examples: - default: &799 + default: &803 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117701,9 +118027,9 @@ paths: description: Response content: application/json: - schema: *785 + schema: *789 examples: - default: &786 + default: &790 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117734,7 +118060,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: - - &787 + - &791 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117746,9 +118072,9 @@ paths: description: Response content: application/json: - schema: *785 + schema: *789 examples: - default: *786 + default: *790 '404': *6 '304': *35 '403': *27 @@ -117771,7 +118097,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: - - *787 + - *791 responses: '204': description: Response @@ -117800,7 +118126,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: - - &800 + - &804 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 @@ -117825,11 +118151,11 @@ paths: type: array items: *67 examples: - default-response: *788 + default-response: *792 application/vnd.github.v3.star+json: schema: type: array - items: &801 + items: &805 title: Starred Repository description: Starred Repository type: object @@ -117985,8 +118311,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response if this repository is starred by you @@ -118014,8 +118340,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -118039,8 +118365,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -118073,9 +118399,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 '304': *35 @@ -118112,7 +118438,7 @@ paths: application/json: schema: type: array - items: *406 + items: *410 examples: default: value: @@ -118190,7 +118516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *198 + - *200 responses: '200': description: Response @@ -118198,10 +118524,10 @@ paths: application/json: schema: oneOf: - - *762 - - *761 + - *766 + - *765 examples: - default-response: &790 + default-response: &794 summary: Default response value: login: octocat @@ -118236,7 +118562,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &791 + response-with-git-hub-plan-information: &795 summary: Response with GitHub plan information value: login: octocat @@ -118296,7 +118622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *789 + - *793 - *17 responses: '200': @@ -118307,7 +118633,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: example: ; rel="next" @@ -118337,7 +118663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *176 + - *178 responses: '200': description: Response @@ -118345,11 +118671,11 @@ paths: application/json: schema: oneOf: - - *762 - - *761 + - *766 + - *765 examples: - default-response: *790 - response-with-git-hub-plan-information: *791 + default-response: *794 + response-with-git-hub-plan-information: *795 '404': *6 x-github: githubCloudOnly: false @@ -118375,7 +118701,7 @@ paths: - *17 - *97 - *98 - - *176 + - *178 requestBody: required: true content: @@ -118398,8 +118724,8 @@ paths: required: - subject_digests examples: - default: *792 - withPredicateType: *793 + default: *796 + withPredicateType: *797 responses: '200': description: Response @@ -118453,7 +118779,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *794 + default: *798 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118471,7 +118797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *176 + - *178 requestBody: required: true content: @@ -118536,7 +118862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *176 + - *178 - name: subject_digest description: Subject Digest in: path @@ -118567,7 +118893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *176 + - *178 - name: attestation_id description: Attestation ID in: path @@ -118605,7 +118931,7 @@ paths: - *17 - *97 - *98 - - *176 + - *178 - name: subject_digest description: Subject Digest in: path @@ -118657,12 +118983,12 @@ paths: initiator: type: string examples: - default: *478 + default: *482 '201': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -118688,7 +119014,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: - - *176 + - *178 responses: '200': description: Response @@ -118696,9 +119022,9 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: *779 + default: *783 '403': *27 '401': *23 x-github: @@ -118721,7 +119047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -118731,7 +119057,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -118802,7 +119128,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *176 + - *178 - *76 - *17 - *19 @@ -118813,7 +119139,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -118892,7 +119218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -118902,7 +119228,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -118969,7 +119295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -118981,7 +119307,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -119000,7 +119326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *176 + - *178 - *17 - *19 responses: @@ -119012,7 +119338,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -119031,7 +119357,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: - - *176 + - *178 - name: target_user in: path required: true @@ -119058,8 +119384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *176 - - *183 + - *178 + - *185 - *17 - *19 responses: @@ -119069,9 +119395,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 headers: Link: *41 '422': *15 @@ -119092,7 +119418,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: - - *176 + - *178 - *17 - *19 responses: @@ -119102,9 +119428,9 @@ paths: application/json: schema: type: array - items: *769 + items: *773 examples: - default: *795 + default: *799 headers: Link: *41 x-github: @@ -119128,7 +119454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *176 + - *178 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -119200,7 +119526,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: - - *176 + - *178 responses: '200': description: Response @@ -119208,7 +119534,7 @@ paths: application/json: schema: *20 examples: - default: *608 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119226,7 +119552,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -119282,7 +119608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -119294,7 +119620,7 @@ paths: type: array items: *62 examples: - default: *777 + default: *781 headers: Link: *41 x-github: @@ -119333,8 +119659,8 @@ paths: - docker - nuget - container - - *778 - - *176 + - *782 + - *178 - *19 - *17 responses: @@ -119344,12 +119670,12 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: *779 + default: *783 '403': *27 '401': *23 - '400': *780 + '400': *784 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119369,17 +119695,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *343 - - *344 - - *176 + - *347 + - *348 + - *178 responses: '200': description: Response content: application/json: - schema: *341 + schema: *345 examples: - default: *796 + default: *800 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119400,9 +119726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *343 - - *344 - - *176 + - *347 + - *348 + - *178 responses: '204': description: Response @@ -119434,9 +119760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *343 - - *344 - - *176 + - *347 + - *348 + - *178 - name: token description: package token schema: @@ -119468,9 +119794,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: - - *343 - - *344 - - *176 + - *347 + - *348 + - *178 responses: '200': description: Response @@ -119478,7 +119804,7 @@ paths: application/json: schema: type: array - items: *345 + items: *349 examples: default: value: @@ -119536,16 +119862,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: - - *343 - - *344 - - *346 - - *176 + - *347 + - *348 + - *350 + - *178 responses: '200': description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -119580,10 +119906,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *343 - - *344 - - *176 - - *346 + - *347 + - *348 + - *178 + - *350 responses: '204': description: Response @@ -119615,10 +119941,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *343 - - *344 - - *176 - - *346 + - *347 + - *348 + - *178 + - *350 responses: '204': description: Response @@ -119644,7 +119970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *176 + - *178 - name: state description: Indicates the state of the projects to return. in: query @@ -119665,7 +119991,7 @@ paths: application/json: schema: type: array - items: *357 + items: *361 examples: default: value: @@ -119723,7 +120049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *176 + - *178 - name: q description: Limit results to projects of the specified type. in: query @@ -119740,9 +120066,9 @@ paths: application/json: schema: type: array - items: *358 + items: *362 examples: - default: *359 + default: *363 headers: Link: *41 '304': *35 @@ -119764,16 +120090,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *360 - - *176 + - *364 + - *178 responses: '200': description: Response content: application/json: - schema: *358 + schema: *362 examples: - default: *359 + default: *363 headers: Link: *41 '304': *35 @@ -119795,8 +120121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *360 - - *176 + - *364 + - *178 - *17 - *97 - *98 @@ -119807,9 +120133,9 @@ paths: application/json: schema: type: array - items: *361 + items: *365 examples: - default: *362 + default: *366 headers: Link: *41 '304': *35 @@ -119831,17 +120157,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *360 - - *797 - - *176 + - *364 + - *801 + - *178 responses: '200': description: Response content: application/json: - schema: *361 + schema: *365 examples: - default: *362 + default: *366 headers: Link: *41 '304': *35 @@ -119864,8 +120190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *360 - - *176 + - *364 + - *178 - *97 - *98 - *17 @@ -119895,9 +120221,9 @@ paths: application/json: schema: type: array - items: *367 + items: *371 examples: - default: *368 + default: *372 headers: Link: *41 '304': *35 @@ -119918,8 +120244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *176 - - *360 + - *178 + - *364 requestBody: required: true description: Details of the item to add to the project. @@ -119956,10 +120282,10 @@ paths: description: Response content: application/json: - schema: *798 + schema: *802 examples: - issue: *366 - pull_request: *366 + issue: *370 + pull_request: *370 '304': *35 '403': *27 '401': *23 @@ -119979,9 +120305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *360 - - *176 - - *369 + - *364 + - *178 + - *373 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -119999,9 +120325,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *371 examples: - default: *368 + default: *372 headers: Link: *41 '304': *35 @@ -120022,9 +120348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *360 - - *176 - - *369 + - *364 + - *178 + - *373 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120097,13 +120423,13 @@ paths: description: Response content: application/json: - schema: *367 + schema: *371 examples: - text_field: *368 - number_field: *368 - date_field: *368 - single_select_field: *368 - iteration_field: *368 + text_field: *372 + number_field: *372 + date_field: *372 + single_select_field: *372 + iteration_field: *372 '401': *23 '403': *27 '404': *6 @@ -120123,9 +120449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *360 - - *176 - - *369 + - *364 + - *178 + - *373 responses: '204': description: Response @@ -120152,7 +120478,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: - - *176 + - *178 - *17 - *19 responses: @@ -120162,7 +120488,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -120241,7 +120567,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: - - *176 + - *178 - *17 - *19 responses: @@ -120251,7 +120577,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -120328,7 +120654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *176 + - *178 - name: type description: Limit results to repositories of the specified type. in: query @@ -120371,9 +120697,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -120397,15 +120723,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: - - *176 + - *178 responses: '200': description: Response content: application/json: - schema: *393 + schema: *397 examples: - default: *394 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120427,20 +120753,150 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *176 + - *178 responses: '200': description: Response content: application/json: - schema: *398 + schema: *402 examples: - default: *399 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - *178 + - *169 + - *211 + - *170 + - *213 + - *214 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *38 + '503': *163 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -120457,15 +120913,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: - - *176 + - *178 responses: '200': description: Response content: application/json: - schema: *400 + schema: *404 examples: - default: *401 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120485,11 +120941,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *176 - - *209 - - *210 - - *211 - - *212 + - *178 + - *169 + - *215 + - *170 + - *216 responses: '200': description: Response when getting a billing usage report @@ -120578,7 +121034,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: - - *176 + - *178 - *17 - *19 responses: @@ -120588,9 +121044,9 @@ paths: application/json: schema: type: array - items: *783 + items: *787 examples: - default: *784 + default: *788 headers: Link: *41 x-github: @@ -120610,7 +121066,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: - - *176 + - *178 - *17 - *19 responses: @@ -120620,9 +121076,9 @@ paths: application/json: schema: type: array - items: *785 + items: *789 examples: - default: *799 + default: *803 headers: Link: *41 x-github: @@ -120646,8 +121102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *176 - - *800 + - *178 + - *804 - *99 - *17 - *19 @@ -120659,11 +121115,11 @@ paths: schema: anyOf: - type: array - items: *801 + items: *805 - type: array items: *67 examples: - default-response: *788 + default-response: *792 headers: Link: *41 x-github: @@ -120682,7 +121138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -120692,9 +121148,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -120823,7 +121279,7 @@ webhooks: type: string enum: - disabled - enterprise: &802 + enterprise: &806 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120892,7 +121348,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &803 + installation: &807 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120913,7 +121369,7 @@ webhooks: required: - id - node_id - organization: &804 + organization: &808 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120986,7 +121442,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &805 + repository: &809 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -121015,7 +121471,7 @@ webhooks: license: anyOf: - type: 'null' - - *194 + - *196 organization: anyOf: - type: 'null' @@ -121899,10 +122355,10 @@ webhooks: type: string enum: - enabled - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -121978,11 +122434,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - rule: &806 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + rule: &810 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) @@ -122205,11 +122661,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - rule: *806 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + rule: *810 sender: *4 required: - action @@ -122397,11 +122853,11 @@ webhooks: - everyone required: - from - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - rule: *806 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + rule: *810 sender: *4 required: - action @@ -122472,7 +122928,7 @@ webhooks: required: true content: application/json: - schema: &809 + schema: &813 title: Exemption request cancellation event type: object properties: @@ -122480,11 +122936,11 @@ webhooks: type: string enum: - cancelled - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: &807 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: &811 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -122722,7 +123178,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &808 + items: &812 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -122832,7 +123288,7 @@ webhooks: required: true content: application/json: - schema: &810 + schema: &814 title: Exemption request completed event type: object properties: @@ -122840,11 +123296,11 @@ webhooks: type: string enum: - completed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: *807 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: *811 sender: *4 required: - action @@ -122914,7 +123370,7 @@ webhooks: required: true content: application/json: - schema: &811 + schema: &815 title: Exemption request created event type: object properties: @@ -122922,11 +123378,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: *807 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: *811 sender: *4 required: - action @@ -122996,7 +123452,7 @@ webhooks: required: true content: application/json: - schema: &812 + schema: &816 title: Exemption response dismissed event type: object properties: @@ -123004,12 +123460,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: *807 - exemption_response: *808 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: *811 + exemption_response: *812 sender: *4 required: - action @@ -123081,7 +123537,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &817 title: Exemption response submitted event type: object properties: @@ -123089,12 +123545,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: *807 - exemption_response: *808 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: *811 + exemption_response: *812 sender: *4 required: - action @@ -123167,7 +123623,7 @@ webhooks: required: true content: application/json: - schema: *809 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123234,7 +123690,7 @@ webhooks: required: true content: application/json: - schema: *810 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123301,7 +123757,7 @@ webhooks: required: true content: application/json: - schema: *811 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123368,7 +123824,7 @@ webhooks: required: true content: application/json: - schema: *812 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123436,7 +123892,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123514,7 +123970,7 @@ webhooks: type: string enum: - completed - check_run: &815 + check_run: &819 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123579,8 +124035,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *495 - repository: *240 + items: *499 + repository: *244 status: type: string enum: @@ -123624,7 +124080,7 @@ webhooks: - examples: - neutral - deployment: *814 + deployment: *818 details_url: type: string examples: @@ -123684,7 +124140,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *495 + items: *499 started_at: type: string format: date-time @@ -123722,10 +124178,10 @@ webhooks: - output - app - pull_requests - installation: *803 - enterprise: *802 - organization: *804 - repository: *805 + installation: *807 + enterprise: *806 + organization: *808 + repository: *809 sender: *4 required: - check_run @@ -124118,11 +124574,11 @@ webhooks: type: string enum: - created - check_run: *815 - installation: *803 - enterprise: *802 - organization: *804 - repository: *805 + check_run: *819 + installation: *807 + enterprise: *806 + organization: *808 + repository: *809 sender: *4 required: - check_run @@ -124518,11 +124974,11 @@ webhooks: type: string enum: - requested_action - check_run: *815 - installation: *803 - enterprise: *802 - organization: *804 - repository: *805 + check_run: *819 + installation: *807 + enterprise: *806 + organization: *808 + repository: *809 requested_action: description: The action requested by the user. type: object @@ -124927,11 +125383,11 @@ webhooks: type: string enum: - rerequested - check_run: *815 - installation: *803 - enterprise: *802 - organization: *804 - repository: *805 + check_run: *819 + installation: *807 + enterprise: *806 + organization: *808 + repository: *809 sender: *4 required: - check_run @@ -125923,10 +126379,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -126611,10 +127067,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -127293,10 +127749,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -127465,7 +127921,7 @@ webhooks: required: - login - id - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127617,20 +128073,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &816 + commit_oid: &820 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: *802 - installation: *803 - organization: *804 - ref: &817 + enterprise: *806 + installation: *807 + organization: *808 + ref: &821 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: *805 + repository: *809 sender: *4 required: - action @@ -127797,7 +128253,7 @@ webhooks: required: - login - id - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128038,12 +128494,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *816 - enterprise: *802 - installation: *803 - organization: *804 - ref: *817 - repository: *805 + commit_oid: *820 + enterprise: *806 + installation: *807 + organization: *808 + ref: *821 + repository: *809 sender: *4 required: - action @@ -128141,7 +128597,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128326,12 +128782,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *816 - enterprise: *802 - installation: *803 - organization: *804 - ref: *817 - repository: *805 + commit_oid: *820 + enterprise: *806 + installation: *807 + organization: *808 + ref: *821 + repository: *809 sender: *4 required: - action @@ -128500,7 +128956,7 @@ webhooks: required: - login - id - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128677,12 +129133,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *816 - enterprise: *802 - installation: *803 - organization: *804 - ref: *817 - repository: *805 + commit_oid: *820 + enterprise: *806 + installation: *807 + organization: *808 + ref: *821 + repository: *809 sender: *4 required: - action @@ -128785,7 +129241,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128965,9 +129421,9 @@ webhooks: type: - string - 'null' - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -128975,7 +129431,7 @@ webhooks: type: - string - 'null' - repository: *805 + repository: *809 sender: *4 required: - action @@ -129074,7 +129530,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129221,12 +129677,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *816 - enterprise: *802 - installation: *803 - organization: *804 - ref: *817 - repository: *805 + commit_oid: *820 + enterprise: *806 + installation: *807 + organization: *808 + ref: *821 + repository: *809 sender: *4 required: - action @@ -129488,10 +129944,10 @@ webhooks: - updated_at - author_association - body - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -129572,18 +130028,18 @@ webhooks: type: - string - 'null' - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *804 - pusher_type: &818 + organization: *808 + pusher_type: &822 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &819 + ref: &823 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129593,7 +130049,7 @@ webhooks: enum: - tag - branch - repository: *805 + repository: *809 sender: *4 required: - ref @@ -129676,9 +130132,9 @@ webhooks: enum: - created definition: *125 - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -129763,9 +130219,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -129843,9 +130299,9 @@ webhooks: enum: - promote_to_enterprise definition: *125 - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -129923,9 +130379,9 @@ webhooks: enum: - updated definition: *125 - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -130002,19 +130458,19 @@ webhooks: type: string enum: - updated - enterprise: *802 - installation: *803 - repository: *805 - organization: *804 + enterprise: *806 + installation: *807 + repository: *809 + organization: *808 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *371 + items: *375 old_property_values: type: array description: The old custom property values for the repository. - items: *371 + items: *375 required: - action - repository @@ -130090,18 +130546,18 @@ webhooks: title: delete event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 - pusher_type: *818 - ref: *819 + enterprise: *806 + installation: *807 + organization: *808 + pusher_type: *822 + ref: *823 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *805 + repository: *809 sender: *4 required: - ref @@ -130185,11 +130641,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130273,11 +130729,11 @@ webhooks: type: string enum: - auto_reopened - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130361,11 +130817,11 @@ webhooks: type: string enum: - created - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130447,11 +130903,11 @@ webhooks: type: string enum: - dismissed - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130533,11 +130989,11 @@ webhooks: type: string enum: - fixed - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130620,11 +131076,11 @@ webhooks: type: string enum: - reintroduced - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130706,11 +131162,11 @@ webhooks: type: string enum: - reopened - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130787,9 +131243,9 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - key: &820 + enterprise: *806 + installation: *807 + key: &824 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130827,8 +131283,8 @@ webhooks: - verified - created_at - read_only - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -130905,11 +131361,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - key: *820 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + key: *824 + organization: *808 + repository: *809 sender: *4 required: - action @@ -131481,12 +131937,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: &824 + workflow: &828 title: Workflow type: - object @@ -132224,13 +132680,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *564 + deployment: *568 pull_requests: type: array - items: *654 - repository: *805 - organization: *804 - installation: *803 + items: *658 + repository: *809 + organization: *808 + installation: *807 sender: *4 responses: '200': @@ -132301,7 +132757,7 @@ webhooks: type: string enum: - approved - approver: &821 + approver: &825 type: object properties: avatar_url: @@ -132344,11 +132800,11 @@ webhooks: type: string comment: type: string - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - reviewers: &822 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + reviewers: &826 type: array items: type: object @@ -132429,7 +132885,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &823 + workflow_job_run: &827 type: object properties: conclusion: @@ -133175,18 +133631,18 @@ webhooks: type: string enum: - rejected - approver: *821 + approver: *825 comment: type: string - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - reviewers: *822 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + reviewers: *826 sender: *4 since: type: string - workflow_job_run: *823 + workflow_job_run: *827 workflow_job_runs: type: array items: @@ -133903,13 +134359,13 @@ webhooks: type: string enum: - requested - enterprise: *802 + enterprise: *806 environment: type: string - installation: *803 - organization: *804 - repository: *805 - requestor: &829 + installation: *807 + organization: *808 + repository: *809 + requestor: &833 title: User type: - object @@ -135852,12 +136308,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: *824 + workflow: *828 workflow_run: title: Deployment Workflow Run type: @@ -136548,7 +137004,7 @@ webhooks: type: string enum: - answered - answer: &827 + answer: &831 type: object properties: author_association: @@ -136708,7 +137164,7 @@ webhooks: - created_at - updated_at - body - discussion: &825 + discussion: &829 title: Discussion description: A Discussion in a repository. type: object @@ -137004,7 +137460,7 @@ webhooks: - id labels: type: array - items: *619 + items: *623 required: - repository_url - category @@ -137026,10 +137482,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137156,11 +137612,11 @@ webhooks: - from required: - category - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137243,11 +137699,11 @@ webhooks: type: string enum: - closed - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137329,7 +137785,7 @@ webhooks: type: string enum: - created - comment: &826 + comment: &830 type: object properties: author_association: @@ -137489,11 +137945,11 @@ webhooks: - updated_at - body - reactions - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137576,12 +138032,12 @@ webhooks: type: string enum: - deleted - comment: *826 - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + comment: *830 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137676,12 +138132,12 @@ webhooks: - from required: - body - comment: *826 - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + comment: *830 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137765,11 +138221,11 @@ webhooks: type: string enum: - created - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137851,11 +138307,11 @@ webhooks: type: string enum: - deleted - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137955,11 +138411,11 @@ webhooks: type: string required: - from - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138041,10 +138497,10 @@ webhooks: type: string enum: - labeled - discussion: *825 - enterprise: *802 - installation: *803 - label: &828 + discussion: *829 + enterprise: *806 + installation: *807 + label: &832 title: Label type: object properties: @@ -138077,8 +138533,8 @@ webhooks: - color - default - description - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138161,11 +138617,11 @@ webhooks: type: string enum: - locked - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138247,11 +138703,11 @@ webhooks: type: string enum: - pinned - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138333,11 +138789,11 @@ webhooks: type: string enum: - reopened - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138422,16 +138878,16 @@ webhooks: changes: type: object properties: - new_discussion: *825 - new_repository: *805 + new_discussion: *829 + new_repository: *809 required: - new_discussion - new_repository - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138514,10 +138970,10 @@ webhooks: type: string enum: - unanswered - discussion: *825 - old_answer: *827 - organization: *804 - repository: *805 + discussion: *829 + old_answer: *831 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138599,12 +139055,12 @@ webhooks: type: string enum: - unlabeled - discussion: *825 - enterprise: *802 - installation: *803 - label: *828 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138687,11 +139143,11 @@ webhooks: type: string enum: - unlocked - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138773,11 +139229,11 @@ webhooks: type: string enum: - unpinned - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138846,7 +139302,7 @@ webhooks: required: true content: application/json: - schema: *811 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138909,7 +139365,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138975,7 +139431,7 @@ webhooks: required: true content: application/json: - schema: *809 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139041,7 +139497,7 @@ webhooks: required: true content: application/json: - schema: *810 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139107,7 +139563,7 @@ webhooks: required: true content: application/json: - schema: *811 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139173,7 +139629,7 @@ webhooks: required: true content: application/json: - schema: *812 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139239,7 +139695,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139306,7 +139762,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *802 + enterprise: *806 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139984,9 +140440,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *803 - organization: *804 - repository: *805 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - forkee @@ -140132,9 +140588,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pages: description: The pages that were updated. type: array @@ -140172,7 +140628,7 @@ webhooks: - action - sha - html_url - repository: *805 + repository: *809 sender: *4 required: - pages @@ -140248,10 +140704,10 @@ webhooks: type: string enum: - created - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: &830 + organization: *808 + repositories: &834 description: An array of repository objects that the installation can access. type: array @@ -140277,8 +140733,8 @@ webhooks: - name - full_name - private - repository: *805 - requester: *829 + repository: *809 + requester: *833 sender: *4 required: - action @@ -140353,11 +140809,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: *830 - repository: *805 + organization: *808 + repositories: *834 + repository: *809 requester: type: - 'null' @@ -140434,11 +140890,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: *830 - repository: *805 + organization: *808 + repositories: *834 + repository: *809 requester: type: - 'null' @@ -140515,10 +140971,10 @@ webhooks: type: string enum: - added - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories_added: &831 + organization: *808 + repositories_added: &835 description: An array of repository objects, which were added to the installation. type: array @@ -140564,15 +141020,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *805 - repository_selection: &832 + repository: *809 + repository_selection: &836 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *829 + requester: *833 sender: *4 required: - action @@ -140651,10 +141107,10 @@ webhooks: type: string enum: - removed - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories_added: *831 + organization: *808 + repositories_added: *835 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140681,9 +141137,9 @@ webhooks: - name - full_name - private - repository: *805 - repository_selection: *832 - requester: *829 + repository: *809 + repository_selection: *836 + requester: *833 sender: *4 required: - action @@ -140762,11 +141218,11 @@ webhooks: type: string enum: - suspend - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: *830 - repository: *805 + organization: *808 + repositories: *834 + repository: *809 requester: type: - 'null' @@ -140949,10 +141405,10 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 target_type: type: string @@ -141031,11 +141487,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: *830 - repository: *805 + organization: *808 + repositories: *834 + repository: *809 requester: type: - 'null' @@ -141283,8 +141739,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142101,8 +142557,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142119,7 +142575,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -142463,8 +142919,8 @@ webhooks: - state - locked - assignee - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -142544,7 +143000,7 @@ webhooks: type: string enum: - deleted - comment: &833 + comment: &837 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142711,8 +143167,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143525,8 +143981,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143543,7 +143999,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -143889,8 +144345,8 @@ webhooks: - state - locked - assignee - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -143970,7 +144426,7 @@ webhooks: type: string enum: - edited - changes: &857 + changes: &861 description: The changes to the comment. type: object properties: @@ -143982,9 +144438,9 @@ webhooks: type: string required: - from - comment: *833 - enterprise: *802 - installation: *803 + comment: *837 + enterprise: *806 + installation: *807 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144800,8 +145256,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144818,7 +145274,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -145162,8 +145618,8 @@ webhooks: - state - locked - assignee - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145247,15 +145703,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *193 + blocked_issue: *195 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *193 + blocking_issue: *195 blocking_issue_repo: *67 - installation: *803 - organization: *804 - repository: *805 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145343,15 +145799,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *193 + blocked_issue: *195 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *193 + blocking_issue: *195 blocking_issue_repo: *67 - installation: *803 - organization: *804 - repository: *805 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145438,15 +145894,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *193 + blocked_issue: *195 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *193 - installation: *803 - organization: *804 - repository: *805 + blocking_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145534,15 +145990,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *193 + blocked_issue: *195 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *193 - installation: *803 - organization: *804 - repository: *805 + blocking_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145627,10 +146083,10 @@ webhooks: type: string enum: - assigned - assignee: *829 - enterprise: *802 - installation: *803 - issue: &836 + assignee: *833 + enterprise: *806 + installation: *807 + issue: &840 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146442,11 +146898,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146463,7 +146919,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -146566,8 +147022,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -146647,8 +147103,8 @@ webhooks: type: string enum: - closed - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147465,11 +147921,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147486,7 +147942,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -147732,8 +148188,8 @@ webhooks: required: - state - closed_at - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -147812,8 +148268,8 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148621,11 +149077,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148642,7 +149098,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -148744,8 +149200,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -148824,8 +149280,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149656,11 +150112,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149677,7 +150133,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -149758,7 +150214,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &834 + milestone: &838 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149901,8 +150357,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -150001,8 +150457,8 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150814,11 +151270,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150832,7 +151288,7 @@ webhooks: timeline_url: type: string format: uri - type: *326 + type: *330 title: description: Title of the issue type: string @@ -150938,9 +151394,9 @@ webhooks: - active_lock_reason - body - reactions - label: *828 - organization: *804 - repository: *805 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -151020,8 +151476,8 @@ webhooks: type: string enum: - labeled - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151832,11 +152288,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151850,7 +152306,7 @@ webhooks: timeline_url: type: string format: uri - type: *326 + type: *330 title: description: Title of the issue type: string @@ -151956,9 +152412,9 @@ webhooks: - active_lock_reason - body - reactions - label: *828 - organization: *804 - repository: *805 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -152038,8 +152494,8 @@ webhooks: type: string enum: - locked - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152875,11 +153331,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152893,7 +153349,7 @@ webhooks: timeline_url: type: string format: uri - type: *326 + type: *330 title: description: Title of the issue type: string @@ -152976,8 +153432,8 @@ webhooks: format: uri user_view_type: type: string - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -153056,8 +153512,8 @@ webhooks: type: string enum: - milestoned - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153887,11 +154343,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153908,7 +154364,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -153988,9 +154444,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *834 - organization: *804 - repository: *805 + milestone: *838 + organization: *808 + repository: *809 sender: *4 required: - action @@ -154882,11 +155338,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154982,7 +155438,7 @@ webhooks: required: - login - id - type: *326 + type: *330 required: - id - number @@ -155463,8 +155919,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156276,11 +156732,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156297,7 +156753,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -156399,8 +156855,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -156480,9 +156936,9 @@ webhooks: type: string enum: - pinned - enterprise: *802 - installation: *803 - issue: &835 + enterprise: *806 + installation: *807 + issue: &839 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -157288,11 +157744,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157309,7 +157765,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -157411,8 +157867,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -157491,8 +157947,8 @@ webhooks: type: string enum: - reopened - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158326,11 +158782,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158427,9 +158883,9 @@ webhooks: format: uri user_view_type: type: string - type: *326 - organization: *804 - repository: *805 + type: *330 + organization: *808 + repository: *809 sender: *4 required: - action @@ -159318,11 +159774,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159339,7 +159795,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -159921,11 +160377,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *802 - installation: *803 - issue: *835 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *839 + organization: *808 + repository: *809 sender: *4 required: - action @@ -160005,12 +160461,12 @@ webhooks: type: string enum: - typed - enterprise: *802 - installation: *803 - issue: *836 - type: *326 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *840 + type: *330 + organization: *808 + repository: *809 sender: *4 required: - action @@ -160091,7 +160547,7 @@ webhooks: type: string enum: - unassigned - assignee: &860 + assignee: &864 title: User type: - object @@ -160163,11 +160619,11 @@ webhooks: required: - login - id - enterprise: *802 - installation: *803 - issue: *836 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *840 + organization: *808 + repository: *809 sender: *4 required: - action @@ -160246,12 +160702,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *802 - installation: *803 - issue: *836 - label: *828 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *840 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -160331,8 +160787,8 @@ webhooks: type: string enum: - unlocked - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161166,11 +161622,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161187,7 +161643,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -161267,8 +161723,8 @@ webhooks: format: uri user_view_type: type: string - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161348,11 +161804,11 @@ webhooks: type: string enum: - unpinned - enterprise: *802 - installation: *803 - issue: *835 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *839 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161431,12 +161887,12 @@ webhooks: type: string enum: - untyped - enterprise: *802 - installation: *803 - issue: *836 - type: *326 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *840 + type: *330 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161516,11 +161972,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - label: *828 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161598,11 +162054,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - label: *828 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161712,11 +162168,11 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - label: *828 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161798,9 +162254,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *802 - installation: *803 - marketplace_purchase: &837 + enterprise: *806 + installation: *807 + marketplace_purchase: &841 title: Marketplace Purchase type: object required: @@ -161888,8 +162344,8 @@ webhooks: type: integer unit_count: type: integer - organization: *804 - previous_marketplace_purchase: &838 + organization: *808 + previous_marketplace_purchase: &842 title: Marketplace Purchase type: object properties: @@ -161973,7 +162429,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *805 + repository: *809 sender: *4 required: - action @@ -162053,10 +162509,10 @@ webhooks: - changed effective_date: type: string - enterprise: *802 - installation: *803 - marketplace_purchase: *837 - organization: *804 + enterprise: *806 + installation: *807 + marketplace_purchase: *841 + organization: *808 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162144,7 +162600,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *805 + repository: *809 sender: *4 required: - action @@ -162226,10 +162682,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *802 - installation: *803 - marketplace_purchase: *837 - organization: *804 + enterprise: *806 + installation: *807 + marketplace_purchase: *841 + organization: *808 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162315,7 +162771,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *805 + repository: *809 sender: *4 required: - action @@ -162396,8 +162852,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 marketplace_purchase: title: Marketplace Purchase type: object @@ -162483,9 +162939,9 @@ webhooks: type: integer unit_count: type: integer - organization: *804 - previous_marketplace_purchase: *838 - repository: *805 + organization: *808 + previous_marketplace_purchase: *842 + repository: *809 sender: *4 required: - action @@ -162565,12 +163021,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *802 - installation: *803 - marketplace_purchase: *837 - organization: *804 - previous_marketplace_purchase: *838 - repository: *805 + enterprise: *806 + installation: *807 + marketplace_purchase: *841 + organization: *808 + previous_marketplace_purchase: *842 + repository: *809 sender: *4 required: - action @@ -162672,11 +163128,11 @@ webhooks: type: string required: - to - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 sender: *4 required: - action @@ -162778,11 +163234,11 @@ webhooks: type: - string - 'null' - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 sender: *4 required: - action @@ -162861,11 +163317,11 @@ webhooks: type: string enum: - removed - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 sender: *4 required: - action @@ -162943,11 +163399,11 @@ webhooks: type: string enum: - added - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163025,7 +163481,7 @@ webhooks: required: - login - id - team: &839 + team: &843 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -163255,11 +163711,11 @@ webhooks: type: string enum: - removed - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163338,7 +163794,7 @@ webhooks: required: - login - id - team: *839 + team: *843 required: - action - scope @@ -163420,8 +163876,8 @@ webhooks: type: string enum: - checks_requested - installation: *803 - merge_group: &840 + installation: *807 + merge_group: &844 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -163440,15 +163896,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *499 + head_commit: *503 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -163534,10 +163990,10 @@ webhooks: - merged - invalidated - dequeued - installation: *803 - merge_group: *840 - organization: *804 - repository: *805 + installation: *807 + merge_group: *844 + organization: *808 + repository: *809 sender: *4 required: - action @@ -163610,7 +164066,7 @@ webhooks: type: string enum: - deleted - enterprise: *802 + enterprise: *806 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163719,12 +164175,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *803 - organization: *804 + installation: *807 + organization: *808 repository: anyOf: - type: 'null' - - *805 + - *809 sender: *4 required: - action @@ -163804,11 +164260,11 @@ webhooks: type: string enum: - closed - enterprise: *802 - installation: *803 - milestone: *834 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + milestone: *838 + organization: *808 + repository: *809 sender: *4 required: - action @@ -163887,9 +164343,9 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - milestone: &841 + enterprise: *806 + installation: *807 + milestone: &845 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164031,8 +164487,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164111,11 +164567,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - milestone: *834 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + milestone: *838 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164225,11 +164681,11 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - milestone: *834 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + milestone: *838 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164309,11 +164765,11 @@ webhooks: type: string enum: - opened - enterprise: *802 - installation: *803 - milestone: *841 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + milestone: *845 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164392,11 +164848,11 @@ webhooks: type: string enum: - blocked - blocked_user: *829 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + blocked_user: *833 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164475,11 +164931,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *829 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + blocked_user: *833 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164558,9 +165014,9 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - membership: &842 + enterprise: *806 + installation: *807 + membership: &846 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164670,8 +165126,8 @@ webhooks: - role - organization_url - user - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164749,11 +165205,11 @@ webhooks: type: string enum: - member_added - enterprise: *802 - installation: *803 - membership: *842 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + membership: *846 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164832,8 +165288,8 @@ webhooks: type: string enum: - member_invited - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164955,10 +165411,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 - user: *829 + user: *833 required: - action - invitation @@ -165036,11 +165492,11 @@ webhooks: type: string enum: - member_removed - enterprise: *802 - installation: *803 - membership: *842 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + membership: *846 + organization: *808 + repository: *809 sender: *4 required: - action @@ -165127,11 +165583,11 @@ webhooks: properties: from: type: string - enterprise: *802 - installation: *803 - membership: *842 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + membership: *846 + organization: *808 + repository: *809 sender: *4 required: - action @@ -165207,9 +165663,9 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 package: description: Information about the package. type: object @@ -165732,7 +166188,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &843 + items: &847 title: Ruby Gems metadata type: object properties: @@ -165829,7 +166285,7 @@ webhooks: - owner - package_version - registry - repository: *805 + repository: *809 sender: *4 required: - action @@ -165905,9 +166361,9 @@ webhooks: type: string enum: - updated - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 package: description: Information about the package. type: object @@ -166269,7 +166725,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *843 + items: *847 source_url: type: string format: uri @@ -166340,7 +166796,7 @@ webhooks: - owner - package_version - registry - repository: *805 + repository: *809 sender: *4 required: - action @@ -166521,12 +166977,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *802 + enterprise: *806 id: type: integer - installation: *803 - organization: *804 - repository: *805 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - id @@ -166603,7 +167059,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &844 + personal_access_token_request: &848 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166753,10 +167209,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *802 - organization: *804 + enterprise: *806 + organization: *808 sender: *4 - installation: *803 + installation: *807 required: - action - personal_access_token_request @@ -166833,11 +167289,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *844 - enterprise: *802 - organization: *804 + personal_access_token_request: *848 + enterprise: *806 + organization: *808 sender: *4 - installation: *803 + installation: *807 required: - action - personal_access_token_request @@ -166913,11 +167369,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *844 - enterprise: *802 - organization: *804 + personal_access_token_request: *848 + enterprise: *806 + organization: *808 sender: *4 - installation: *803 + installation: *807 required: - action - personal_access_token_request @@ -166992,11 +167448,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *844 - organization: *804 - enterprise: *802 + personal_access_token_request: *848 + organization: *808 + enterprise: *806 sender: *4 - installation: *803 + installation: *807 required: - action - personal_access_token_request @@ -167101,7 +167557,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *845 + last_response: *849 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -167133,8 +167589,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 zen: description: Random string of GitHub zen. @@ -167379,10 +167835,10 @@ webhooks: - from required: - note - enterprise: *802 - installation: *803 - organization: *804 - project_card: &846 + enterprise: *806 + installation: *807 + organization: *808 + project_card: &850 title: Project Card type: object properties: @@ -167505,7 +167961,7 @@ webhooks: - creator - created_at - updated_at - repository: *805 + repository: *809 sender: *4 required: - action @@ -167586,11 +168042,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - project_card: *846 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project_card: *850 + repository: *809 sender: *4 required: - action @@ -167670,9 +168126,9 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 project_card: title: Project Card type: object @@ -167802,7 +168258,7 @@ webhooks: repository: anyOf: - type: 'null' - - *805 + - *809 sender: *4 required: - action @@ -167896,11 +168352,11 @@ webhooks: - from required: - note - enterprise: *802 - installation: *803 - organization: *804 - project_card: *846 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project_card: *850 + repository: *809 sender: *4 required: - action @@ -167994,9 +168450,9 @@ webhooks: - from required: - column_id - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 project_card: allOf: - title: Project Card @@ -168193,7 +168649,7 @@ webhooks: type: string required: - after_id - repository: *805 + repository: *809 sender: *4 required: - action @@ -168273,10 +168729,10 @@ webhooks: type: string enum: - closed - enterprise: *802 - installation: *803 - organization: *804 - project: &848 + enterprise: *806 + installation: *807 + organization: *808 + project: &852 title: Project type: object properties: @@ -168403,7 +168859,7 @@ webhooks: - creator - created_at - updated_at - repository: *805 + repository: *809 sender: *4 required: - action @@ -168483,10 +168939,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - project_column: &847 + enterprise: *806 + installation: *807 + organization: *808 + project_column: &851 title: Project Column type: object properties: @@ -168526,7 +168982,7 @@ webhooks: - name - created_at - updated_at - repository: *805 + repository: *809 sender: *4 required: - action @@ -168605,14 +169061,14 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - project_column: *847 + enterprise: *806 + installation: *807 + organization: *808 + project_column: *851 repository: anyOf: - type: 'null' - - *805 + - *809 sender: *4 required: - action @@ -168701,11 +169157,11 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 - project_column: *847 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project_column: *851 + repository: *809 sender: *4 required: - action @@ -168785,11 +169241,11 @@ webhooks: type: string enum: - moved - enterprise: *802 - installation: *803 - organization: *804 - project_column: *847 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project_column: *851 + repository: *809 sender: *4 required: - action @@ -168869,11 +169325,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - project: *848 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project: *852 + repository: *809 sender: *4 required: - action @@ -168953,14 +169409,14 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - project: *848 + enterprise: *806 + installation: *807 + organization: *808 + project: *852 repository: anyOf: - type: 'null' - - *805 + - *809 sender: *4 required: - action @@ -169061,11 +169517,11 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 - project: *848 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project: *852 + repository: *809 sender: *4 required: - action @@ -169144,11 +169600,11 @@ webhooks: type: string enum: - reopened - enterprise: *802 - installation: *803 - organization: *804 - project: *848 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project: *852 + repository: *809 sender: *4 required: - action @@ -169229,9 +169685,9 @@ webhooks: type: string enum: - closed - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -169312,9 +169768,9 @@ webhooks: type: string enum: - created - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -169395,9 +169851,9 @@ webhooks: type: string enum: - deleted - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -169518,9 +169974,9 @@ webhooks: type: string to: type: string - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -169603,7 +170059,7 @@ webhooks: type: string enum: - archived - changes: &852 + changes: &856 type: object properties: archived_at: @@ -169619,9 +170075,9 @@ webhooks: - string - 'null' format: date-time - installation: *803 - organization: *804 - projects_v2_item: &849 + installation: *807 + organization: *808 + projects_v2_item: &853 title: Projects v2 Item description: An item belonging to a project type: object @@ -169639,7 +170095,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *365 + content_type: *369 creator: *4 created_at: type: string @@ -169761,9 +170217,9 @@ webhooks: - 'null' to: type: string - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -169845,9 +170301,9 @@ webhooks: type: string enum: - created - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -169928,9 +170384,9 @@ webhooks: type: string enum: - deleted - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -170035,7 +170491,7 @@ webhooks: oneOf: - type: string - type: integer - - &850 + - &854 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -170059,7 +170515,7 @@ webhooks: required: - id - name - - &851 + - &855 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -170099,8 +170555,8 @@ webhooks: oneOf: - type: string - type: integer - - *850 - - *851 + - *854 + - *855 type: - 'null' - string @@ -170123,9 +170579,9 @@ webhooks: - 'null' required: - body - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -170222,9 +170678,9 @@ webhooks: type: - string - 'null' - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -170307,10 +170763,10 @@ webhooks: type: string enum: - restored - changes: *852 - installation: *803 - organization: *804 - projects_v2_item: *849 + changes: *856 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -170392,9 +170848,9 @@ webhooks: type: string enum: - reopened - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -170475,9 +170931,9 @@ webhooks: type: string enum: - created - installation: *803 - organization: *804 - projects_v2_status_update: *853 + installation: *807 + organization: *808 + projects_v2_status_update: *857 sender: *4 required: - action @@ -170558,9 +171014,9 @@ webhooks: type: string enum: - deleted - installation: *803 - organization: *804 - projects_v2_status_update: *853 + installation: *807 + organization: *808 + projects_v2_status_update: *857 sender: *4 required: - action @@ -170706,9 +171162,9 @@ webhooks: - string - 'null' format: date - installation: *803 - organization: *804 - projects_v2_status_update: *853 + installation: *807 + organization: *808 + projects_v2_status_update: *857 sender: *4 required: - action @@ -170779,10 +171235,10 @@ webhooks: title: public event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - repository @@ -170859,13 +171315,13 @@ webhooks: type: string enum: - assigned - assignee: *829 - enterprise: *802 - installation: *803 - number: &854 + assignee: *833 + enterprise: *806 + installation: *807 + number: &858 description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -173214,7 +173670,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -173296,11 +173752,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -175642,7 +176098,7 @@ webhooks: - draft reason: type: string - repository: *805 + repository: *809 sender: *4 required: - action @@ -175724,11 +176180,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -178070,7 +178526,7 @@ webhooks: - draft reason: type: string - repository: *805 + repository: *809 sender: *4 required: - action @@ -178152,13 +178608,13 @@ webhooks: type: string enum: - closed - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: &855 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: &859 allOf: - - *654 + - *658 - type: object properties: allow_auto_merge: @@ -178220,7 +178676,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *805 + repository: *809 sender: *4 required: - action @@ -178301,12 +178757,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -178386,11 +178842,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *802 - milestone: *363 - number: *854 - organization: *804 - pull_request: &856 + enterprise: *806 + milestone: *367 + number: *858 + organization: *808 + pull_request: &860 title: Pull Request type: object properties: @@ -180717,7 +181173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -180796,11 +181252,11 @@ webhooks: type: string enum: - dequeued - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -183146,7 +183602,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *805 + repository: *809 sender: *4 required: - action @@ -183270,12 +183726,12 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -183355,11 +183811,11 @@ webhooks: type: string enum: - enqueued - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -185690,7 +186146,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -185770,11 +186226,11 @@ webhooks: type: string enum: - labeled - enterprise: *802 - installation: *803 - label: *828 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + label: *832 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -188122,7 +188578,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -188203,10 +188659,10 @@ webhooks: type: string enum: - locked - enterprise: *802 - installation: *803 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -190552,7 +191008,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -190632,12 +191088,12 @@ webhooks: type: string enum: - milestoned - enterprise: *802 - milestone: *363 - number: *854 - organization: *804 - pull_request: *856 - repository: *805 + enterprise: *806 + milestone: *367 + number: *858 + organization: *808 + pull_request: *860 + repository: *809 sender: *4 required: - action @@ -190716,12 +191172,12 @@ webhooks: type: string enum: - opened - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -190802,12 +191258,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -190887,12 +191343,12 @@ webhooks: type: string enum: - reopened - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -191267,9 +191723,9 @@ webhooks: - start_side - side - reactions - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: type: object properties: @@ -193499,7 +193955,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *805 + repository: *809 sender: *4 required: - action @@ -193579,7 +194035,7 @@ webhooks: type: string enum: - deleted - comment: &858 + comment: &862 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. @@ -193872,9 +194328,9 @@ webhooks: - start_side - side - reactions - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: type: object properties: @@ -196092,7 +196548,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *805 + repository: *809 sender: *4 required: - action @@ -196172,11 +196628,11 @@ webhooks: type: string enum: - edited - changes: *857 - comment: *858 - enterprise: *802 - installation: *803 - organization: *804 + changes: *861 + comment: *862 + enterprise: *806 + installation: *807 + organization: *808 pull_request: type: object properties: @@ -198397,7 +198853,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *805 + repository: *809 sender: *4 required: - action @@ -198478,9 +198934,9 @@ webhooks: type: string enum: - dismissed - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -200713,7 +201169,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 + repository: *809 review: description: The review that was affected. type: object @@ -200964,9 +201420,9 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -203080,8 +203536,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 - review: &859 + repository: *809 + review: &863 description: The review that was affected. type: object properties: @@ -203319,12 +203775,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -205671,7 +206127,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 requested_reviewer: title: User type: @@ -205757,12 +206213,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -208116,7 +208572,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 requested_team: title: Team description: Groups of organization members that gives permissions @@ -208311,12 +208767,12 @@ webhooks: type: string enum: - review_requested - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -210665,7 +211121,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 requested_reviewer: title: User type: @@ -210752,12 +211208,12 @@ webhooks: type: string enum: - review_requested - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -213097,7 +213553,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213281,9 +213737,9 @@ webhooks: type: string enum: - submitted - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -215519,8 +215975,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 - review: *859 + repository: *809 + review: *863 sender: *4 required: - action @@ -215600,9 +216056,9 @@ webhooks: type: string enum: - resolved - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -217733,7 +218189,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 + repository: *809 sender: *4 thread: type: object @@ -218130,9 +218586,9 @@ webhooks: type: string enum: - unresolved - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -220246,7 +220702,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 + repository: *809 sender: *4 thread: type: object @@ -220645,10 +221101,10 @@ webhooks: type: string before: type: string - enterprise: *802 - installation: *803 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -222983,7 +223439,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -223065,11 +223521,11 @@ webhooks: type: string enum: - unassigned - assignee: *860 - enterprise: *802 - installation: *803 - number: *854 - organization: *804 + assignee: *864 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -225419,7 +225875,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -225498,11 +225954,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *802 - installation: *803 - label: *828 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + label: *832 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -227841,7 +228297,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -227922,10 +228378,10 @@ webhooks: type: string enum: - unlocked - enterprise: *802 - installation: *803 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -230254,7 +230710,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -230457,7 +230913,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *802 + enterprise: *806 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -230552,8 +231008,8 @@ webhooks: - url - author - committer - installation: *803 - organization: *804 + installation: *807 + organization: *808 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -231141,9 +231597,9 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 registry_package: type: object properties: @@ -231620,7 +232076,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *843 + items: *847 summary: type: string tag_name: @@ -231676,7 +232132,7 @@ webhooks: - owner - package_version - registry - repository: *805 + repository: *809 sender: *4 required: - action @@ -231754,9 +232210,9 @@ webhooks: type: string enum: - updated - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 registry_package: type: object properties: @@ -232068,7 +232524,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *843 + items: *847 summary: type: string tag_name: @@ -232118,7 +232574,7 @@ webhooks: - owner - package_version - registry - repository: *805 + repository: *809 sender: *4 required: - action @@ -232195,10 +232651,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - release: &861 + enterprise: *806 + installation: *807 + organization: *808 + release: &865 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232529,7 +232985,7 @@ webhooks: - updated_at - zipball_url - body - repository: *805 + repository: *809 sender: *4 required: - action @@ -232606,11 +233062,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - release: *861 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + release: *865 + repository: *809 sender: *4 required: - action @@ -232727,11 +233183,11 @@ webhooks: type: boolean required: - to - enterprise: *802 - installation: *803 - organization: *804 - release: *861 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + release: *865 + repository: *809 sender: *4 required: - action @@ -232809,9 +233265,9 @@ webhooks: type: string enum: - prereleased - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -233147,7 +233603,7 @@ webhooks: - string - 'null' format: uri - repository: *805 + repository: *809 sender: *4 required: - action @@ -233223,10 +233679,10 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 - release: &862 + enterprise: *806 + installation: *807 + organization: *808 + release: &866 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233559,7 +234015,7 @@ webhooks: - string - 'null' format: uri - repository: *805 + repository: *809 sender: *4 required: - action @@ -233635,11 +234091,11 @@ webhooks: type: string enum: - released - enterprise: *802 - installation: *803 - organization: *804 - release: *861 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + release: *865 + repository: *809 sender: *4 required: - action @@ -233715,11 +234171,11 @@ webhooks: type: string enum: - unpublished - enterprise: *802 - installation: *803 - organization: *804 - release: *862 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + release: *866 + repository: *809 sender: *4 required: - action @@ -233795,11 +234251,11 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - repository_advisory: *707 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + repository_advisory: *711 sender: *4 required: - action @@ -233875,11 +234331,11 @@ webhooks: type: string enum: - reported - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - repository_advisory: *707 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + repository_advisory: *711 sender: *4 required: - action @@ -233955,10 +234411,10 @@ webhooks: type: string enum: - archived - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234035,10 +234491,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234116,10 +234572,10 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234204,10 +234660,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234322,10 +234778,10 @@ webhooks: - 'null' items: type: string - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234397,10 +234853,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 status: type: string @@ -234481,10 +234937,10 @@ webhooks: type: string enum: - privatized - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234561,10 +235017,10 @@ webhooks: type: string enum: - publicized - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234658,10 +235114,10 @@ webhooks: - name required: - repository - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234741,10 +235197,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 repository_ruleset: *158 sender: *4 required: @@ -234823,10 +235279,10 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 repository_ruleset: *158 sender: *4 required: @@ -234905,10 +235361,10 @@ webhooks: type: string enum: - edited - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 repository_ruleset: *158 changes: type: object @@ -234970,16 +235426,16 @@ webhooks: properties: added: type: array - items: *675 + items: *679 deleted: type: array - items: *675 + items: *679 updated: type: array items: type: object properties: - rule: *675 + rule: *679 changes: type: object properties: @@ -235216,10 +235672,10 @@ webhooks: - from required: - owner - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -235297,10 +235753,10 @@ webhooks: type: string enum: - unarchived - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -235378,7 +235834,7 @@ webhooks: type: string enum: - create - alert: &863 + alert: &867 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -235502,10 +235958,10 @@ webhooks: type: string enum: - open - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -235715,10 +236171,10 @@ webhooks: type: string enum: - dismissed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -235796,11 +236252,11 @@ webhooks: type: string enum: - reopen - alert: *863 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *867 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236002,10 +236458,10 @@ webhooks: enum: - fixed - open - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236083,7 +236539,7 @@ webhooks: type: string enum: - created - alert: &864 + alert: &868 type: object properties: number: *109 @@ -236193,10 +236649,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236277,11 +236733,11 @@ webhooks: type: string enum: - created - alert: *864 - installation: *803 - location: *865 - organization: *804 - repository: *805 + alert: *868 + installation: *807 + location: *869 + organization: *808 + repository: *809 sender: *4 required: - location @@ -236519,11 +236975,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *864 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *868 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236601,11 +237057,11 @@ webhooks: type: string enum: - reopened - alert: *864 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *868 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236683,11 +237139,11 @@ webhooks: type: string enum: - resolved - alert: *864 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *868 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236765,11 +237221,11 @@ webhooks: type: string enum: - validated - alert: *864 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *868 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236899,10 +237355,10 @@ webhooks: - organization - enterprise - - repository: *805 - enterprise: *802 - installation: *803 - organization: *804 + repository: *809 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -236980,11 +237436,11 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - security_advisory: &866 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + security_advisory: &870 description: The details of the security advisory, including summary, description, and severity. type: object @@ -237170,11 +237626,11 @@ webhooks: type: string enum: - updated - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - security_advisory: *866 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + security_advisory: *870 sender: *4 required: - action @@ -237247,10 +237703,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -237436,11 +237892,11 @@ webhooks: from: type: object properties: - security_and_analysis: *372 - enterprise: *802 - installation: *803 - organization: *804 - repository: *438 + security_and_analysis: *376 + enterprise: *806 + installation: *807 + organization: *808 + repository: *442 sender: *4 required: - changes @@ -237518,12 +237974,12 @@ webhooks: type: string enum: - cancelled - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: &867 + sponsorship: &871 type: object properties: created_at: @@ -237828,12 +238284,12 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - sponsorship @@ -237921,12 +238377,12 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - changes @@ -238003,17 +238459,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &868 + effective_date: &872 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: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - sponsorship @@ -238087,7 +238543,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &869 + changes: &873 type: object properties: tier: @@ -238131,13 +238587,13 @@ webhooks: - from required: - tier - effective_date: *868 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + effective_date: *872 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - changes @@ -238214,13 +238670,13 @@ webhooks: type: string enum: - tier_changed - changes: *869 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + changes: *873 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - changes @@ -238294,10 +238750,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238381,10 +238837,10 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238818,15 +239274,15 @@ webhooks: type: - string - 'null' - enterprise: *802 + enterprise: *806 id: description: The unique identifier of the status. type: integer - installation: *803 + installation: *807 name: type: string - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 sha: description: The Commit SHA. @@ -238936,15 +239392,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *193 + parent_issue: *195 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *193 - installation: *803 - organization: *804 - repository: *805 + sub_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -239028,15 +239484,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *193 + parent_issue: *195 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *193 - installation: *803 - organization: *804 - repository: *805 + sub_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -239120,15 +239576,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *193 + sub_issue: *195 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *193 - installation: *803 - organization: *804 - repository: *805 + parent_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -239212,15 +239668,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *193 + sub_issue: *195 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *193 - installation: *803 - organization: *804 - repository: *805 + parent_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -239297,12 +239753,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - team: &870 + team: &874 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -239532,9 +239988,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -240004,7 +240460,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - team @@ -240080,9 +240536,9 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -240552,7 +241008,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - team @@ -240629,9 +241085,9 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -241101,7 +241557,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - team @@ -241245,9 +241701,9 @@ webhooks: - from required: - permissions - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -241717,7 +242173,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - changes @@ -241795,9 +242251,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -242267,7 +242723,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - team @@ -242343,10 +242799,10 @@ webhooks: type: string enum: - started - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -242419,17 +242875,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *802 + enterprise: *806 inputs: type: - object - 'null' additionalProperties: true - installation: *803 - organization: *804 + installation: *807 + organization: *808 ref: type: string - repository: *805 + repository: *809 sender: *4 workflow: type: string @@ -242511,10 +242967,10 @@ webhooks: type: string enum: - completed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 workflow_job: allOf: @@ -242770,7 +243226,7 @@ webhooks: type: string required: - conclusion - deployment: *564 + deployment: *568 required: - action - repository @@ -242849,10 +243305,10 @@ webhooks: type: string enum: - in_progress - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 workflow_job: allOf: @@ -243134,7 +243590,7 @@ webhooks: required: - status - steps - deployment: *564 + deployment: *568 required: - action - repository @@ -243213,10 +243669,10 @@ webhooks: type: string enum: - queued - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 workflow_job: type: object @@ -243362,7 +243818,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *564 + deployment: *568 required: - action - repository @@ -243441,10 +243897,10 @@ webhooks: type: string enum: - waiting - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 workflow_job: type: object @@ -243591,7 +244047,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *564 + deployment: *568 required: - action - repository @@ -243671,12 +244127,12 @@ webhooks: type: string enum: - completed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: *824 + workflow: *828 workflow_run: title: Workflow Run type: object @@ -244695,12 +245151,12 @@ webhooks: type: string enum: - in_progress - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: *824 + workflow: *828 workflow_run: title: Workflow Run type: object @@ -245704,12 +246160,12 @@ webhooks: type: string enum: - requested - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: *824 + workflow: *828 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index ea19cd390..384d540e8 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -62688,6 +62688,442 @@ } } }, + "/enterprises/{enterprise}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an enterprise", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise" + }, + "parameters": [ + { + "name": "enterprise", + "description": "The slug version of the enterprise name.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", @@ -99952,6 +100388,403 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -777159,6 +777992,390 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "name": "username", + "description": "The handle for the GitHub user account.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "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, `2025`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. If no `year` or `month` is specified, the default `year` and `month` are used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, + "examples": { + "default": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + } + } + } + } + }, + "400": { + "description": "Bad Request", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + }, + "application/scim+json": { + "schema": { + "title": "Scim Error", + "description": "Scim Error", + "type": "object", + "properties": { + "message": { + "type": [ + "string", + "null" + ] + }, + "documentation_url": { + "type": [ + "string", + "null" + ] + }, + "detail": { + "type": [ + "string", + "null" + ] + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": [ + "string", + "null" + ] + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + } + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "500": { + "description": "Internal Error", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "503": { + "description": "Service unavailable", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "code": { + "type": "string" + }, + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index e8fa01200..68a9a12d8 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -913,7 +913,7 @@ paths: - subscriptions_url - type - url - type: &392 + type: &396 type: string description: The type of credit the user is receiving. enum: @@ -1046,7 +1046,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &218 + schema: &222 title: Validation Error Simple description: Validation Error Simple type: object @@ -1079,7 +1079,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: - - &709 + - &713 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1664,7 +1664,7 @@ paths: schema: type: integer default: 30 - - &304 + - &308 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 @@ -1680,7 +1680,7 @@ paths: application/json: schema: type: array - items: &305 + items: &309 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1776,7 +1776,7 @@ paths: - installation_id - repository_id examples: - default: &306 + default: &310 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1808,7 +1808,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &719 + schema: &723 title: Scim Error description: Scim Error type: object @@ -1839,7 +1839,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &217 + schema: &221 title: Validation Error description: Validation Error type: object @@ -1911,7 +1911,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &311 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -2046,7 +2046,7 @@ paths: - request - response examples: - default: &308 + default: &312 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2250,7 +2250,7 @@ paths: parameters: - *17 - *19 - - &183 + - &185 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) @@ -3035,7 +3035,7 @@ paths: license: anyOf: - type: 'null' - - &194 + - &196 title: License Simple description: License Simple type: object @@ -7784,7 +7784,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &223 type: object properties: total_active_caches_count: @@ -7799,7 +7799,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &220 + default: &224 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -8004,7 +8004,7 @@ paths: - public_ip_enabled - platform examples: - default: &221 + default: &225 value: total_count: 2 runners: @@ -8294,7 +8294,7 @@ paths: description: Response content: application/json: - schema: &222 + schema: &226 type: object properties: public_ips: @@ -8321,7 +8321,7 @@ paths: required: - public_ips examples: - default: &223 + default: &227 value: public_ips: current_usage: 17 @@ -8361,7 +8361,7 @@ paths: type: array items: *45 examples: - default: &224 + default: &228 value: id: 4-core cpu_cores: 4 @@ -8619,7 +8619,7 @@ paths: - all - local_only - selected - selected_actions_url: &227 + selected_actions_url: &231 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` @@ -8699,7 +8699,7 @@ paths: description: Successfully retrieved the artifact and log retention settings content: application/json: - schema: &229 + schema: &233 type: object properties: days: @@ -8717,7 +8717,7 @@ paths: value: days: 90 maximum_allowed_days: 365 - '401': &720 + '401': &724 description: Authorization failure '404': *6 x-github: @@ -8745,7 +8745,7 @@ paths: required: true content: application/json: - schema: &230 + schema: &234 type: object properties: days: @@ -8794,7 +8794,7 @@ paths: required: - approval_policy examples: - default: &231 + default: &235 value: approval_policy: first_time_contributors '404': *6 @@ -8852,7 +8852,7 @@ paths: description: Response content: application/json: - schema: &232 + schema: &236 type: object required: - run_workflows_from_fork_pull_requests @@ -8906,7 +8906,7 @@ paths: required: true content: application/json: - schema: &233 + schema: &237 type: object required: - run_workflows_from_fork_pull_requests @@ -9342,7 +9342,7 @@ paths: description: Success response content: application/json: - schema: &236 + schema: &240 type: object properties: default_workflow_permissions: &56 @@ -9390,7 +9390,7 @@ paths: required: true content: application/json: - schema: &237 + schema: &241 type: object properties: default_workflow_permissions: *56 @@ -10235,7 +10235,7 @@ paths: application/json: schema: type: array - items: &241 + items: &245 title: Runner Application description: Runner Application type: object @@ -10260,7 +10260,7 @@ paths: - download_url - filename examples: - default: &242 + default: &246 value: - os: osx architecture: x64 @@ -10344,7 +10344,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &243 + '201': &247 description: Response content: application/json: @@ -10463,7 +10463,7 @@ paths: - token - expires_at examples: - default: &244 + default: &248 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -10503,7 +10503,7 @@ paths: application/json: schema: *68 examples: - default: &245 + default: &249 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -10535,7 +10535,7 @@ paths: application/json: schema: *65 examples: - default: &246 + default: &250 value: id: 23 name: MBP @@ -10751,7 +10751,7 @@ paths: - *39 - *64 responses: - '200': &247 + '200': &251 description: Response content: application/json: @@ -10807,7 +10807,7 @@ paths: parameters: - *39 - *64 - - &248 + - &252 name: name description: The name of a self-hosted runner's custom label. in: path @@ -10904,7 +10904,7 @@ paths: required: true content: application/json: - schema: &255 + schema: &259 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -11555,7 +11555,7 @@ paths: required: false schema: type: string - - &256 + - &260 name: include description: |- The event types to include: @@ -11573,7 +11573,7 @@ paths: - web - git - all - - &257 + - &261 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. @@ -11581,7 +11581,7 @@ paths: required: false schema: type: string - - &258 + - &262 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. @@ -11589,7 +11589,7 @@ paths: required: false schema: type: string - - &259 + - &263 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -11611,7 +11611,7 @@ paths: application/json: schema: type: array - items: &260 + items: &264 type: object properties: "@timestamp": @@ -11733,7 +11733,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &261 + default: &265 value: - "@timestamp": 1606929874512 action: team.add_member @@ -12401,7 +12401,7 @@ paths: application/json: schema: type: array - items: &262 + items: &266 title: Push rule bypass request description: A bypass request made by a user asking to be exempted from a push rule in this repository. @@ -12573,7 +12573,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &263 + default: &267 value: - id: 21 number: 42 @@ -12678,7 +12678,7 @@ paths: application/json: schema: type: array - items: &265 + items: &269 title: Secret scanning bypass request description: A bypass request made by a user asking to be exempted from push protection in this repository. @@ -12809,7 +12809,7 @@ paths: examples: - https://github.com/octo-org/smile/exemptions/1 examples: - default: &266 + default: &270 value: - id: 21 number: 42 @@ -12894,7 +12894,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *39 - - &271 + - &275 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`, @@ -12904,7 +12904,7 @@ paths: schema: &100 type: string description: The name of the tool used to generate the code scanning analysis. - - &272 + - &276 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 @@ -12928,7 +12928,7 @@ paths: be returned. in: query required: false - schema: &273 + schema: &277 type: string description: State of a code scanning alert. enum: @@ -12953,7 +12953,7 @@ paths: application/json: schema: type: array - items: &274 + items: &278 type: object properties: number: &109 @@ -12982,7 +12982,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &505 + instances_url: &509 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -13018,7 +13018,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &506 + dismissed_reason: &510 type: - string - 'null' @@ -13029,14 +13029,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &507 + dismissed_comment: &511 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &508 + rule: &512 type: object properties: id: @@ -13097,7 +13097,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &509 + tool: &513 type: object properties: name: *100 @@ -13108,15 +13108,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *101 - most_recent_instance: &510 + most_recent_instance: &514 type: object properties: - ref: &503 + ref: &507 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &520 + analysis_key: &524 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -13127,7 +13127,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &521 + category: &525 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -13518,7 +13518,7 @@ paths: - most_recent_instance - repository examples: - default: &275 + default: &279 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -14177,7 +14177,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: &276 + code_scanning_options: &280 type: - object - 'null' @@ -14375,7 +14375,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &282 type: array description: A list of default code security configurations items: @@ -14391,7 +14391,7 @@ paths: default configuration: *103 examples: - default: &279 + default: &283 value: - default_for_new_repos: public configuration: @@ -14845,7 +14845,7 @@ paths: default: value: default_for_new_repos: all - configuration: &277 + configuration: &281 value: id: 1325 target_type: organization @@ -14930,7 +14930,7 @@ paths: application/json: schema: type: array - items: &280 + items: &284 type: object description: Repositories associated with a code security configuration and attachment status @@ -14954,7 +14954,7 @@ paths: summary: Example of code security configuration repositories value: - status: attached - repository: &281 + repository: &285 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -15455,7 +15455,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &267 + - &271 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -15532,7 +15532,7 @@ paths: parent: anyOf: - type: 'null' - - &339 + - &343 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -15650,7 +15650,7 @@ paths: - slug - parent - type - - &172 + - &174 title: Enterprise Team description: Group of enterprise owners and/or members type: object @@ -16225,7 +16225,7 @@ paths: application/json: schema: type: array - items: &169 + items: &171 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -16540,7 +16540,7 @@ paths: - date additionalProperties: true examples: - default: &170 + default: &172 value: - date: '2024-06-24' total_active_users: 24 @@ -16642,7 +16642,7 @@ paths: '500': *38 '403': *27 '404': *6 - '422': &171 + '422': &173 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -16672,7 +16672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *39 - - &288 + - &292 name: state in: query description: |- @@ -16681,7 +16681,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &289 + - &293 name: severity in: query description: |- @@ -16690,7 +16690,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &290 + - &294 name: ecosystem in: query description: |- @@ -16699,14 +16699,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &291 + - &295 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 - - &292 + - &296 name: epss_percentage in: query description: |- @@ -16718,7 +16718,7 @@ paths: Filters the list of alerts based on EPSS percentages. If specified, only alerts with the provided EPSS percentages will be returned. schema: type: string - - &293 + - &297 name: has in: query description: |- @@ -16732,7 +16732,7 @@ paths: type: string enum: - patch - - &294 + - &298 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -16742,7 +16742,7 @@ paths: enum: - development - runtime - - &295 + - &299 name: sort in: query description: |- @@ -16760,7 +16760,7 @@ paths: - *99 - *97 - *98 - - &296 + - &300 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -16773,7 +16773,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &297 + - &301 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -16793,7 +16793,7 @@ paths: application/json: schema: type: array - items: &298 + items: &302 type: object description: A Dependabot alert. properties: @@ -16860,7 +16860,7 @@ paths: - direct - transitive - - security_advisory: &556 + security_advisory: &560 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -17096,7 +17096,7 @@ paths: dismissal. maxLength: 280 fixed_at: *119 - auto_dismissed_at: &557 + auto_dismissed_at: &561 type: - string - 'null' @@ -17123,7 +17123,7 @@ paths: - repository additionalProperties: false examples: - default: &299 + default: &303 value: - number: 2 state: dismissed @@ -17540,7 +17540,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-an-enterprise-user parameters: - *39 - - &176 + - &178 name: username description: The handle for the GitHub user account. in: path @@ -17652,7 +17652,7 @@ paths: - name - created_on examples: - default: &402 + default: &406 value: total_count: 2 network_configurations: @@ -17875,7 +17875,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-enterprise parameters: - *39 - - &403 + - &407 name: network_settings_id description: Unique identifier of the hosted compute network settings. in: path @@ -17887,7 +17887,7 @@ paths: description: Response content: application/json: - schema: &404 + schema: &408 title: Hosted compute network settings resource description: A hosted compute network settings resource. type: object @@ -17926,7 +17926,7 @@ paths: - subnet_id - region examples: - default: &405 + default: &409 value: id: 220F78DACB92BBFBC5E6F22DE1CCF52309D network_configuration_id: 934E208B3EE0BD60CF5F752C426BFB53562 @@ -18232,7 +18232,7 @@ paths: required: true content: application/json: - schema: &370 + schema: &374 title: Custom Property Set Payload description: Custom property set payload type: object @@ -19306,7 +19306,7 @@ paths: conditions: anyOf: - *132 - - &375 + - &379 title: Organization ruleset conditions type: object description: |- @@ -19356,7 +19356,7 @@ paths: - object rules: type: array - items: &675 + items: &679 title: Repository Rule type: object description: A repository rule. @@ -19365,7 +19365,7 @@ paths: - *139 - *140 - *141 - - &672 + - &676 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -19459,7 +19459,7 @@ paths: - *155 - *156 - *157 - - &673 + - &677 title: copilot_code_review description: Request Copilot code review for new pull requests automatically if the author has access to Copilot code review. @@ -19715,7 +19715,7 @@ paths: type: string format: date-time examples: - default: &378 + default: &382 value: - version_id: 3 actor: @@ -19768,7 +19768,7 @@ paths: description: Response content: application/json: - schema: &379 + schema: &383 allOf: - *162 - type: object @@ -19823,7 +19823,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *39 - - &380 + - &384 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -19834,7 +19834,7 @@ paths: enum: - open - resolved - - &381 + - &385 name: secret_type in: query description: A comma-separated list of secret types to return. All default @@ -19844,7 +19844,7 @@ paths: required: false schema: type: string - - &382 + - &386 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -19853,7 +19853,7 @@ paths: required: false schema: type: string - - &383 + - &387 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. @@ -19869,7 +19869,7 @@ paths: - *17 - *97 - *98 - - &384 + - &388 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -19878,7 +19878,7 @@ paths: required: false schema: type: string - - &385 + - &389 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -19887,7 +19887,7 @@ paths: schema: type: boolean default: false - - &386 + - &390 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -19896,7 +19896,7 @@ paths: schema: type: boolean default: false - - &387 + - &391 name: hide_secret in: query description: A boolean value representing whether or not to hide literal secrets @@ -19912,7 +19912,7 @@ paths: application/json: schema: type: array - items: &388 + items: &392 type: object properties: number: *109 @@ -19928,14 +19928,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &687 + state: &691 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: &688 + resolution: &692 type: - string - 'null' @@ -20042,14 +20042,14 @@ paths: first_location_detected: anyOf: - type: 'null' - - &689 + - &693 description: 'Details on the location where the token was initially detected. This can be a commit, wiki commit, issue, discussion, pull request. ' oneOf: - - &691 + - &695 description: Represents a 'commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository. @@ -20106,7 +20106,7 @@ paths: - blob_url - commit_sha - commit_url - - &692 + - &696 description: Represents a 'wiki_commit' secret scanning location type. This location type shows that a secret was detected inside a commit to a repository wiki. @@ -20167,7 +20167,7 @@ paths: - page_url - commit_sha - commit_url - - &693 + - &697 description: Represents an 'issue_title' secret scanning location type. This location type shows that a secret was detected in the title of an issue. @@ -20182,7 +20182,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_title_url - - &694 + - &698 description: Represents an 'issue_body' secret scanning location type. This location type shows that a secret was detected in the body of an issue. @@ -20197,7 +20197,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/1347 required: - issue_body_url - - &695 + - &699 description: Represents an 'issue_comment' secret scanning location type. This location type shows that a secret was detected in a comment on an issue. @@ -20212,7 +20212,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - issue_comment_url - - &696 + - &700 description: Represents a 'discussion_title' secret scanning location type. This location type shows that a secret was detected in the title of a discussion. @@ -20227,7 +20227,7 @@ paths: - https://github.com/community/community/discussions/39082 required: - discussion_title_url - - &697 + - &701 description: Represents a 'discussion_body' secret scanning location type. This location type shows that a secret was detected in the body of a discussion. @@ -20242,7 +20242,7 @@ paths: - https://github.com/community/community/discussions/39082#discussion-4566270 required: - discussion_body_url - - &698 + - &702 description: Represents a 'discussion_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a discussion. @@ -20257,7 +20257,7 @@ paths: - https://github.com/community/community/discussions/39082#discussioncomment-4158232 required: - discussion_comment_url - - &699 + - &703 description: Represents a 'pull_request_title' secret scanning location type. This location type shows that a secret was detected in the title of a pull request. @@ -20272,7 +20272,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_title_url - - &700 + - &704 description: Represents a 'pull_request_body' secret scanning location type. This location type shows that a secret was detected in the body of a pull request. @@ -20287,7 +20287,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846 required: - pull_request_body_url - - &701 + - &705 description: Represents a 'pull_request_comment' secret scanning location type. This location type shows that a secret was detected in a comment on a pull request. @@ -20302,7 +20302,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/issues/comments/1081119451 required: - pull_request_comment_url - - &702 + - &706 description: Represents a 'pull_request_review' secret scanning location type. This location type shows that a secret was detected in a review on a pull request. @@ -20317,7 +20317,7 @@ paths: - https://api.github.com/repos/octocat/Hello-World/pulls/2846/reviews/80 required: - pull_request_review_url - - &703 + - &707 description: Represents a 'pull_request_review_comment' secret scanning location type. This location type shows that a secret was detected in a review comment on a pull @@ -20338,7 +20338,7 @@ paths: description: A boolean value representing whether or not the token in the alert was detected in more than one location. examples: - default: &389 + default: &393 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -20528,7 +20528,7 @@ paths: description: Response content: application/json: - schema: &390 + schema: &394 title: Secret scanning pattern configuration description: A collection of secret scanning patterns and their settings related to push protection. @@ -20615,7 +20615,7 @@ paths: description: Overrides for custom patterns defined by the organization. items: *164 examples: - default: &391 + default: &395 value: pattern_config_version: 0ujsswThIGTUYm2K8FjOOfXtY1K provider_pattern_overrides: @@ -20759,7 +20759,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &397 type: object properties: total_minutes_used: @@ -20829,7 +20829,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &394 + default: &398 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -20860,7 +20860,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise parameters: - *39 - - &395 + - &399 name: advanced_security_product in: query description: | @@ -20880,7 +20880,7 @@ paths: description: Success content: application/json: - schema: &396 + schema: &400 type: object properties: total_advanced_security_committers: @@ -20943,7 +20943,7 @@ paths: required: - repositories examples: - default: &397 + default: &401 value: total_advanced_security_committers: 2 total_count: 2 @@ -21557,7 +21557,7 @@ paths: description: Response content: application/json: - schema: &398 + schema: &402 type: object properties: total_gigabytes_bandwidth_used: @@ -21575,7 +21575,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &399 + default: &403 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -21585,6 +21585,212 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an enterprise + description: Gets a report of premium request usage for an enterprise. To use + this endpoint, you must be an administrator or billing manager of the enterprise. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise + parameters: + - *39 + - &169 + 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, + `2025`. Default value is the current year. + in: query + required: false + schema: + type: integer + - &211 + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. + in: query + required: false + schema: + type: integer + - &170 + name: day + description: If specified, only return results for a single day. The value + of `day` is an integer between `1` and `31`. If no `year` or `month` is + specified, the default `year` and `month` are used. + in: query + required: false + schema: + type: integer + - name: organization + description: The organization name to query usage for. The name is not case + sensitive. + in: query + required: false + schema: + type: string + - &212 + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &213 + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - &214 + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + user: + type: string + description: The name of the user for the usage report. + organization: + type: string + description: The name of the organization for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *38 + '503': *163 + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/shared-storage": get: summary: Get shared storage billing for an enterprise @@ -21610,7 +21816,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &404 type: object properties: days_left_in_billing_cycle: @@ -21628,7 +21834,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &401 + default: &405 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -21653,16 +21859,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *39 - - &209 - 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, - `2025`. Default value is the current year. - in: query - required: false - schema: - type: integer - - &210 + - *169 + - &215 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the @@ -21671,16 +21869,8 @@ paths: required: false schema: type: integer - - &211 - name: day - description: If specified, only return results for a single day. The value - of `day` is an integer between `1` and `31`. If no `year` or `month` is - specified, the default `year` and `month` are used. - in: query - required: false - schema: - type: integer - - &212 + - *170 + - &216 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or @@ -21701,7 +21891,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &213 + schema: &217 type: object properties: usageItems: @@ -21754,7 +21944,7 @@ paths: - netAmount - organizationName examples: - default: &214 + default: &218 value: usageItems: - date: '2023-08-01' @@ -21842,13 +22032,13 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: - default: *170 + default: *172 '500': *38 '403': *27 '404': *6 - '422': *171 + '422': *173 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -21875,9 +22065,9 @@ paths: application/json: schema: type: array - items: *172 + items: *174 examples: - default: &173 + default: &175 value: - id: 1 name: Justice League @@ -21953,9 +22143,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *174 examples: - default: *173 + default: *175 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -21973,7 +22163,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#list-members-in-an-enterprise-team parameters: - *39 - - &174 + - &176 name: enterprise-team description: The slug version of the enterprise team name. You can also substitute this value with the enterprise team id. @@ -21992,7 +22182,7 @@ paths: type: array items: *4 examples: - default: &175 + default: &177 value: - login: octocat id: 1 @@ -22031,7 +22221,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-add-team-members parameters: - *39 - - *174 + - *176 requestBody: required: true content: @@ -22062,7 +22252,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22080,7 +22270,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#bulk-remove-team-members parameters: - *39 - - *174 + - *176 requestBody: required: true content: @@ -22111,7 +22301,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22129,8 +22319,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#get-enterprise-team-membership parameters: - *39 - - *174 - *176 + - *178 responses: '200': description: User is a member of the enterprise team. @@ -22138,7 +22328,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: &177 + exampleKey1: &179 value: login: octocat id: 1 @@ -22174,8 +22364,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#add-team-member parameters: - *39 - - *174 - *176 + - *178 responses: '201': description: Successfully added team member @@ -22183,7 +22373,7 @@ paths: application/json: schema: *4 examples: - exampleKey1: *177 + exampleKey1: *179 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -22201,8 +22391,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-team-members#remove-team-membership parameters: - *39 - - *174 - *176 + - *178 responses: '204': description: Response @@ -22227,7 +22417,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#get-an-enterprise-team parameters: - *39 - - &178 + - &180 name: team_slug description: The slug of the team name. in: path @@ -22239,9 +22429,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *174 examples: - default: *173 + default: *175 headers: Link: *41 '403': *27 @@ -22261,7 +22451,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#update-an-enterprise-team parameters: - *39 - - *178 + - *180 requestBody: required: true content: @@ -22307,9 +22497,9 @@ paths: description: Response content: application/json: - schema: *172 + schema: *174 examples: - default: *173 + default: *175 headers: Link: *41 '403': *27 @@ -22332,7 +22522,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-teams/enterprise-teams#delete-an-enterprise-team parameters: - *39 - - *178 + - *180 responses: '204': description: Response @@ -22425,7 +22615,7 @@ paths: application/json: schema: type: array - items: &204 + items: &206 title: Event description: Event type: object @@ -22436,7 +22626,7 @@ paths: type: - string - 'null' - actor: &179 + actor: &181 title: Actor description: Actor type: object @@ -22477,13 +22667,13 @@ paths: - id - name - url - org: *179 + org: *181 payload: type: object properties: action: type: string - issue: &193 + issue: &195 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -22604,7 +22794,7 @@ paths: milestone: anyOf: - type: 'null' - - &363 + - &367 title: Milestone description: A collection of related issues and pull requests. @@ -22776,7 +22966,7 @@ paths: timeline_url: type: string format: uri - type: &326 + type: &330 title: Issue Type description: The type of issue. type: @@ -22834,7 +23024,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &180 + author_association: &182 title: author_association type: string description: How the author is associated with the repository. @@ -22849,7 +23039,7 @@ paths: - OWNER examples: - OWNER - reactions: &181 + reactions: &183 title: Reaction Rollup type: object properties: @@ -22885,7 +23075,7 @@ paths: - hooray - eyes - rocket - sub_issues_summary: &747 + sub_issues_summary: &751 title: Sub-issues Summary type: object properties: @@ -22906,7 +23096,7 @@ paths: - string - 'null' format: uri - issue_dependencies_summary: &748 + issue_dependencies_summary: &752 title: Issue Dependencies Summary type: object properties: @@ -22925,7 +23115,7 @@ paths: - total_blocking issue_field_values: type: array - items: &749 + items: &753 title: Issue Field Value description: A value assigned to an issue field type: object @@ -23020,7 +23210,7 @@ paths: - user - created_at - updated_at - comment: &612 + comment: &616 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -23070,12 +23260,12 @@ paths: issue_url: type: string format: uri - author_association: *180 + author_association: *182 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *181 + reactions: *183 required: - id - node_id @@ -23262,7 +23452,7 @@ paths: _links: type: object properties: - timeline: &182 + timeline: &184 title: Link With Type description: Hypermedia Link with Type type: object @@ -23274,17 +23464,17 @@ paths: required: - href - type - user: *182 - security_advisories: *182 - current_user: *182 - current_user_public: *182 - current_user_actor: *182 - current_user_organization: *182 + user: *184 + security_advisories: *184 + current_user: *184 + current_user_public: *184 + current_user_actor: *184 + current_user_organization: *184 current_user_organizations: type: array - items: *182 - repository_discussions: *182 - repository_discussions_category: *182 + items: *184 + repository_discussions: *184 + repository_discussions_category: *184 required: - timeline - user @@ -23346,7 +23536,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *183 + - *185 - *17 - *19 responses: @@ -23356,7 +23546,7 @@ paths: application/json: schema: type: array - items: &184 + items: &186 title: Base Gist description: Base Gist type: object @@ -23453,7 +23643,7 @@ paths: - created_at - updated_at examples: - default: &185 + default: &187 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -23577,7 +23767,7 @@ paths: description: Response content: application/json: - schema: &186 + schema: &188 title: Gist Simple description: Gist Simple type: object @@ -23595,7 +23785,7 @@ paths: url: type: string format: uri - user: &761 + user: &765 title: Public User description: Public User type: object @@ -23969,7 +24159,7 @@ paths: truncated: type: boolean examples: - default: &187 + default: &189 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -24073,7 +24263,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *183 + - *185 - *17 - *19 responses: @@ -24083,9 +24273,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 headers: Link: *41 '422': *15 @@ -24107,7 +24297,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *183 + - *185 - *17 - *19 responses: @@ -24117,9 +24307,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 headers: Link: *41 '401': *23 @@ -24147,7 +24337,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &188 + - &190 name: gist_id description: The unique identifier of the gist. in: path @@ -24159,10 +24349,10 @@ paths: description: Response content: application/json: - schema: *186 + schema: *188 examples: - default: *187 - '403': &191 + default: *189 + '403': &193 description: Forbidden Gist content: application/json: @@ -24211,7 +24401,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *188 + - *190 requestBody: required: true content: @@ -24275,9 +24465,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *188 examples: - updateGist: *187 + updateGist: *189 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -24435,7 +24625,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *188 + - *190 responses: '204': description: Response @@ -24464,7 +24654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *188 + - *190 - *17 - *19 responses: @@ -24474,7 +24664,7 @@ paths: application/json: schema: type: array - items: &189 + items: &191 title: Gist Comment description: A comment made to a gist. type: object @@ -24512,7 +24702,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *180 + author_association: *182 required: - url - id @@ -24577,7 +24767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *188 + - *190 requestBody: required: true content: @@ -24603,9 +24793,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: &190 + default: &192 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -24663,8 +24853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *188 - - &192 + - *190 + - &194 name: comment_id description: The unique identifier of the comment. in: path @@ -24677,12 +24867,12 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '304': *35 '404': *6 - '403': *191 + '403': *193 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -24704,8 +24894,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *188 - - *192 + - *190 + - *194 requestBody: required: true content: @@ -24731,9 +24921,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *191 examples: - default: *190 + default: *192 '404': *6 x-github: githubCloudOnly: false @@ -24750,8 +24940,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *188 - - *192 + - *190 + - *194 responses: '204': description: Response @@ -24774,7 +24964,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *188 + - *190 - *17 - *19 responses: @@ -24875,7 +25065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *188 + - *190 - *17 - *19 responses: @@ -24885,7 +25075,7 @@ paths: application/json: schema: type: array - items: *186 + items: *188 examples: default: value: @@ -24950,13 +25140,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *188 + - *190 responses: '201': description: Response content: application/json: - schema: *184 + schema: *186 examples: default: value: @@ -25027,7 +25217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *188 + - *190 responses: '204': description: Response if gist is starred @@ -25057,7 +25247,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *188 + - *190 responses: '204': description: Response @@ -25079,7 +25269,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *188 + - *190 responses: '204': description: Response @@ -25108,7 +25298,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *188 + - *190 - name: sha in: path required: true @@ -25119,9 +25309,9 @@ paths: description: Response content: application/json: - schema: *186 + schema: *188 examples: - default: *187 + default: *189 '422': *15 '404': *6 '403': *27 @@ -25490,7 +25680,7 @@ paths: - closed - all default: open - - &329 + - &333 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -25509,7 +25699,7 @@ paths: - comments default: created - *99 - - *183 + - *185 - name: collab in: query required: false @@ -25539,9 +25729,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: &330 + default: &334 value: - id: 1 node_id: MDU6SXNzdWUx @@ -25821,7 +26011,7 @@ paths: application/json: schema: type: array - items: *194 + items: *196 examples: default: value: @@ -26119,7 +26309,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &195 + X-CommonMarker-Version: &197 example: 0.17.4 schema: type: string @@ -26174,7 +26364,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *195 + X-CommonMarker-Version: *197 content: text/html: schema: @@ -26203,7 +26393,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: - - &198 + - &200 name: account_id description: account_id parameter in: path @@ -26215,7 +26405,7 @@ paths: description: Response content: application/json: - schema: &197 + schema: &199 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -26249,7 +26439,7 @@ paths: - 'null' id: type: integer - plan: &196 + plan: &198 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -26352,7 +26542,7 @@ paths: - 'null' updated_at: type: string - plan: *196 + plan: *198 required: - url - id @@ -26360,7 +26550,7 @@ paths: - login - marketplace_purchase examples: - default: &199 + default: &201 value: url: https://api.github.com/orgs/github type: Organization @@ -26445,9 +26635,9 @@ paths: application/json: schema: type: array - items: *196 + items: *198 examples: - default: &200 + default: &202 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -26487,14 +26677,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &201 + - &203 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &202 + - &204 name: sort description: The property to sort the results by. in: query @@ -26524,9 +26714,9 @@ paths: application/json: schema: type: array - items: *197 + items: *199 examples: - default: &203 + default: &205 value: - url: https://api.github.com/orgs/github type: Organization @@ -26600,15 +26790,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: - - *198 + - *200 responses: '200': description: Response content: application/json: - schema: *197 + schema: *199 examples: - default: *199 + default: *201 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -26640,9 +26830,9 @@ paths: application/json: schema: type: array - items: *196 + items: *198 examples: - default: *200 + default: *202 headers: Link: *41 '401': *23 @@ -26665,8 +26855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *201 - - *202 + - *203 + - *204 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -26686,9 +26876,9 @@ paths: application/json: schema: type: array - items: *197 + items: *199 examples: - default: *203 + default: *205 headers: Link: *41 '401': *23 @@ -26953,14 +27143,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: - - &425 + - &429 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &426 + - &430 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -26977,7 +27167,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -27031,7 +27221,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &439 + '301': &443 description: Moved permanently content: application/json: @@ -27053,7 +27243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &641 + - &645 name: all description: If `true`, show notifications marked as read. in: query @@ -27061,7 +27251,7 @@ paths: schema: type: boolean default: false - - &642 + - &646 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -27070,8 +27260,8 @@ paths: schema: type: boolean default: false - - *183 - - &643 + - *185 + - &647 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: @@ -27096,14 +27286,14 @@ paths: application/json: schema: type: array - items: &205 + items: &207 title: Thread description: Thread type: object properties: id: type: string - repository: &240 + repository: &244 title: Minimal Repository description: Minimal Repository type: object @@ -27442,7 +27632,7 @@ paths: type: boolean examples: - false - security_and_analysis: &372 + security_and_analysis: &376 type: - object - 'null' @@ -27615,7 +27805,7 @@ paths: - url - subscription_url examples: - default: &644 + default: &648 value: - id: '1' repository: @@ -27781,7 +27971,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &206 + - &208 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 @@ -27795,7 +27985,7 @@ paths: description: Response content: application/json: - schema: *205 + schema: *207 examples: default: value: @@ -27898,7 +28088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *206 + - *208 responses: '205': description: Reset Content @@ -27921,7 +28111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *206 + - *208 responses: '204': description: No content @@ -27944,13 +28134,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: - - *206 + - *208 responses: '200': description: Response content: application/json: - schema: &207 + schema: &209 title: Thread Subscription description: Thread Subscription type: object @@ -27994,7 +28184,7 @@ paths: - url - subscribed examples: - default: &208 + default: &210 value: subscribed: true ignored: false @@ -28025,7 +28215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *206 + - *208 requestBody: required: false content: @@ -28046,9 +28236,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *209 examples: - default: *208 + default: *210 '304': *35 '403': *27 '401': *23 @@ -28071,7 +28261,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *206 + - *208 responses: '204': description: Response @@ -28168,7 +28358,7 @@ paths: type: array items: *62 examples: - default: &777 + default: &781 value: - login: github id: 1 @@ -28233,7 +28423,7 @@ paths: - 3 custom_roles: type: array - items: &283 + items: &287 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -28282,7 +28472,7 @@ paths: - created_at - updated_at examples: - default: &284 + default: &288 value: id: 8030 name: Security Engineer @@ -28580,6 +28770,142 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - *76 + - *169 + - *211 + - *170 + - *212 + - *213 + - *214 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *38 + '503': *163 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -28595,18 +28921,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - *76 - - *209 - - *210 - - *211 - - *212 + - *169 + - *215 + - *170 + - *216 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *213 + schema: *217 examples: - default: *214 + default: *218 '400': *14 '403': *27 '500': *38 @@ -28642,7 +28968,7 @@ paths: description: Response content: application/json: - schema: &215 + schema: &219 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -29052,7 +29378,7 @@ paths: - updated_at - archived_at examples: - default-response: &216 + default-response: &220 value: login: github id: 1 @@ -29378,17 +29704,17 @@ paths: description: Response content: application/json: - schema: *215 + schema: *219 examples: - default: *216 + default: *220 '422': description: Validation failed content: application/json: schema: oneOf: - - *217 - - *218 + - *221 + - *222 '409': *107 x-github: githubCloudOnly: false @@ -29443,9 +29769,9 @@ paths: description: Response content: application/json: - schema: *219 + schema: *223 examples: - default: *220 + default: *224 headers: Link: *41 x-github: @@ -29486,7 +29812,7 @@ paths: type: integer repository_cache_usages: type: array - items: &444 + items: &448 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -29564,7 +29890,7 @@ paths: type: array items: *42 examples: - default: *221 + default: *225 headers: Link: *41 x-github: @@ -29748,9 +30074,9 @@ paths: description: Response content: application/json: - schema: *222 + schema: *226 examples: - default: *223 + default: *227 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29786,7 +30112,7 @@ paths: type: array items: *45 examples: - default: *224 + default: *228 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29969,7 +30295,7 @@ paths: description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &225 + schema: &229 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -29983,7 +30309,7 @@ paths: required: - include_claim_keys examples: - default: &226 + default: &230 value: include_claim_keys: - repo @@ -30010,15 +30336,15 @@ paths: required: true content: application/json: - schema: *225 + schema: *229 examples: - default: *226 + default: *230 responses: '201': description: Empty response content: application/json: - schema: &251 + schema: &255 title: Empty Object description: An object without any properties. type: object @@ -30057,7 +30383,7 @@ paths: schema: type: object properties: - enabled_repositories: &228 + enabled_repositories: &232 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -30071,7 +30397,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *49 - selected_actions_url: *227 + selected_actions_url: *231 sha_pinning_required: *50 required: - enabled_repositories @@ -30113,7 +30439,7 @@ paths: schema: type: object properties: - enabled_repositories: *228 + enabled_repositories: *232 allowed_actions: *49 sha_pinning_required: *50 required: @@ -30149,7 +30475,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *233 examples: response: summary: Example response @@ -30180,7 +30506,7 @@ paths: required: true content: application/json: - schema: *230 + schema: *234 examples: application/json: value: @@ -30218,7 +30544,7 @@ paths: application/json: schema: *51 examples: - default: *231 + default: *235 '404': *6 x-github: enabledForGitHubApps: true @@ -30275,7 +30601,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *236 examples: default: *52 '403': *27 @@ -30300,7 +30626,7 @@ paths: required: true content: application/json: - schema: *233 + schema: *237 examples: default: *52 responses: @@ -30352,7 +30678,7 @@ paths: type: array items: *67 examples: - default: &235 + default: &239 value: total_count: 1 repositories: @@ -30537,7 +30863,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - &234 + - &238 name: repository_id description: The unique identifier of the repository. in: path @@ -30566,7 +30892,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - *76 - - *234 + - *238 responses: '204': description: Response @@ -30762,7 +31088,7 @@ paths: type: array items: *67 examples: - default: *235 + default: *239 '403': *27 '404': *6 x-github: @@ -30831,7 +31157,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *234 + - *238 responses: '204': description: No content @@ -30858,7 +31184,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization parameters: - *76 - - *234 + - *238 responses: '204': description: No content @@ -30892,7 +31218,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *240 examples: default: *58 x-github: @@ -30926,7 +31252,7 @@ paths: required: false content: application/json: - schema: *237 + schema: *241 examples: default: *58 x-github: @@ -30973,7 +31299,7 @@ paths: type: number runner_groups: type: array - items: &238 + items: &242 type: object properties: id: @@ -31163,9 +31489,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: - default: &239 + default: &243 value: id: 2 name: octo-runner-group @@ -31207,7 +31533,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: default: value: @@ -31300,9 +31626,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *242 examples: - default: *239 + default: *243 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -31366,7 +31692,7 @@ paths: type: array items: *42 examples: - default: *221 + default: *225 headers: Link: *41 x-github: @@ -31407,9 +31733,9 @@ paths: type: number repositories: type: array - items: *240 + items: *244 examples: - default: &764 + default: &768 value: total_count: 1 repositories: @@ -31708,7 +32034,7 @@ paths: parameters: - *76 - *61 - - *234 + - *238 responses: '204': description: Response @@ -31732,7 +32058,7 @@ paths: parameters: - *76 - *61 - - *234 + - *238 responses: '204': description: Response @@ -31950,9 +32276,9 @@ paths: application/json: schema: type: array - items: *241 + items: *245 examples: - default: *242 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32017,7 +32343,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *243 + '201': *247 '404': *6 '422': *7 '409': *107 @@ -32056,7 +32382,7 @@ paths: application/json: schema: *68 examples: - default: *244 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32092,7 +32418,7 @@ paths: application/json: schema: *68 examples: - default: *245 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32123,7 +32449,7 @@ paths: application/json: schema: *65 examples: - default: *246 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -32298,7 +32624,7 @@ paths: - *76 - *64 responses: - '200': *247 + '200': *251 '404': *6 x-github: githubCloudOnly: false @@ -32327,7 +32653,7 @@ paths: parameters: - *76 - *64 - - *248 + - *252 responses: '200': *70 '404': *6 @@ -32372,7 +32698,7 @@ paths: type: integer secrets: type: array - items: &249 + items: &253 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -32453,7 +32779,7 @@ paths: description: Response content: application/json: - schema: &464 + schema: &468 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -32488,7 +32814,7 @@ paths: - key_id - key examples: - default: &465 + default: &469 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -32514,7 +32840,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - *76 - - &250 + - &254 name: secret_name description: The name of the secret. in: path @@ -32526,7 +32852,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *253 examples: default: value: @@ -32557,7 +32883,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -32614,7 +32940,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -32641,7 +32967,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '204': description: Response @@ -32668,7 +32994,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 - *19 - *17 responses: @@ -32686,9 +33012,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: &254 + default: &258 value: total_count: 1 repositories: @@ -32781,7 +33107,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -32834,7 +33160,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -32868,7 +33194,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -32901,7 +33227,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - *76 - - &449 + - &453 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)." @@ -32925,7 +33251,7 @@ paths: type: integer variables: type: array - items: &252 + items: &256 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -33063,7 +33389,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -33089,7 +33415,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - *76 - - &253 + - &257 name: name description: The name of the variable. in: path @@ -33101,7 +33427,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *256 examples: default: value: @@ -33132,7 +33458,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - *76 - - *253 + - *257 requestBody: required: true content: @@ -33195,7 +33521,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - *76 - - *253 + - *257 responses: '204': description: Response @@ -33222,7 +33548,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - *76 - - *253 + - *257 - *19 - *17 responses: @@ -33240,9 +33566,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: *254 + default: *258 '409': description: Response when the visibility of the variable is not set to `selected` @@ -33269,7 +33595,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - *76 - - *253 + - *257 requestBody: required: true content: @@ -33319,7 +33645,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - *76 - - *253 + - *257 - name: repository_id in: path required: true @@ -33354,7 +33680,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - *76 - - *253 + - *257 - name: repository_id in: path required: true @@ -33412,7 +33738,7 @@ paths: required: true content: application/json: - schema: *255 + schema: *259 examples: default: *74 parameters: @@ -33714,12 +34040,12 @@ paths: required: - subject_digests examples: - default: &792 + default: &796 value: subject_digests: - sha256:abc123 - sha512:def456 - withPredicateType: &793 + withPredicateType: &797 value: subject_digests: - sha256:abc123 @@ -33778,7 +34104,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: &794 + default: &798 value: attestations_subject_digests: - sha256:abc: @@ -34074,7 +34400,7 @@ paths: initiator: type: string examples: - default: &478 + default: &482 value: attestations: - bundle: @@ -34200,10 +34526,10 @@ paths: required: false schema: type: string - - *256 - - *257 - - *258 - - *259 + - *260 + - *261 + - *262 + - *263 - *17 responses: '200': @@ -34212,9 +34538,9 @@ paths: application/json: schema: type: array - items: *260 + items: *264 examples: - default: *261 + default: *265 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -34243,7 +34569,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34263,7 +34589,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - *76 - - *176 + - *178 responses: '204': description: If the user is blocked @@ -34289,7 +34615,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -34310,7 +34636,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -34337,7 +34663,7 @@ paths: subcategory: bypass-requests parameters: - *76 - - &264 + - &268 name: repository_name description: The name of the repository to filter on. in: query @@ -34356,9 +34682,9 @@ paths: application/json: schema: type: array - items: *262 + items: *266 examples: - default: *263 + default: *267 '404': *6 '500': *38 "/orgs/{org}/bypass-requests/secret-scanning": @@ -34382,7 +34708,7 @@ paths: subcategory: delegated-bypass parameters: - *76 - - *264 + - *268 - *92 - *93 - *94 @@ -34396,9 +34722,9 @@ paths: application/json: schema: type: array - items: *265 + items: *269 examples: - default: *266 + default: *270 '404': *6 '500': *38 "/orgs/{org}/campaigns": @@ -34425,7 +34751,7 @@ paths: description: If specified, only campaigns with this state will be returned. in: query required: false - schema: &268 + schema: &272 title: Campaign state description: Indicates whether a campaign is open or closed type: string @@ -34451,7 +34777,7 @@ paths: application/json: schema: type: array - items: &269 + items: &273 title: Campaign summary description: The campaign metadata and alert stats. type: object @@ -34482,7 +34808,7 @@ paths: team_managers: description: The campaign team managers type: array - items: *267 + items: *271 published_at: description: The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. @@ -34501,7 +34827,7 @@ paths: - string - 'null' format: date-time - state: *268 + state: *272 contact_link: description: The contact link of the campaign. type: @@ -34718,9 +35044,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: &270 + default: &274 value: number: 3 created_at: '2024-02-14T12:29:18Z' @@ -34803,9 +35129,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: *270 + default: *274 '404': *6 '422': description: Unprocessable Entity @@ -34883,7 +35209,7 @@ paths: - string - 'null' format: uri - state: *268 + state: *272 examples: default: value: @@ -34893,9 +35219,9 @@ paths: description: Response content: application/json: - schema: *269 + schema: *273 examples: - default: *270 + default: *274 '400': description: Bad Request content: @@ -34962,8 +35288,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *76 - - *271 - - *272 + - *275 + - *276 - *97 - *98 - *19 @@ -34974,7 +35300,7 @@ paths: be returned. in: query required: false - schema: *273 + schema: *277 - name: sort description: The property by which to sort the results. in: query @@ -34990,7 +35316,7 @@ paths: be returned. in: query required: false - schema: &504 + schema: &508 type: string description: Severity of a code scanning alert. enum: @@ -35008,9 +35334,9 @@ paths: application/json: schema: type: array - items: *274 + items: *278 examples: - default: *275 + default: *279 headers: Link: *41 '404': *6 @@ -35225,7 +35551,7 @@ paths: - disabled - not_set default: disabled - code_scanning_options: *276 + code_scanning_options: *280 code_scanning_default_setup: type: string description: The enablement status of code scanning default setup @@ -35368,7 +35694,7 @@ paths: application/json: schema: *103 examples: - default: *277 + default: *281 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35396,9 +35722,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *282 examples: - default: *279 + default: *283 '304': *35 '403': *27 '404': *6 @@ -35485,7 +35811,7 @@ paths: application/json: schema: *103 examples: - default: *277 + default: *281 '304': *35 '403': *27 '404': *6 @@ -35907,7 +36233,7 @@ paths: default: value: default_for_new_repos: all - configuration: *277 + configuration: *281 '403': *27 '404': *6 x-github: @@ -35960,13 +36286,13 @@ paths: application/json: schema: type: array - items: *280 + items: *284 examples: default: summary: Example of code security configuration repositories value: - status: attached - repository: *281 + repository: *285 '403': *27 '404': *6 x-github: @@ -36006,7 +36332,7 @@ paths: type: integer codespaces: type: array - items: &331 + items: &335 type: object title: Codespace description: A codespace. @@ -36037,11 +36363,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *240 + repository: *244 machine: anyOf: - type: 'null' - - &533 + - &537 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -36328,7 +36654,7 @@ paths: - pulls_url - recent_folders examples: - default: &332 + default: &336 value: total_count: 3 codespaces: @@ -36952,7 +37278,7 @@ paths: type: integer secrets: type: array - items: &282 + items: &286 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -36993,7 +37319,7 @@ paths: - updated_at - visibility examples: - default: &534 + default: &538 value: total_count: 2 secrets: @@ -37031,7 +37357,7 @@ paths: description: Response content: application/json: - schema: &535 + schema: &539 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -37066,7 +37392,7 @@ paths: - key_id - key examples: - default: &536 + default: &540 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -37090,15 +37416,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '200': description: Response content: application/json: - schema: *282 + schema: *286 examples: - default: &538 + default: &542 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -37126,7 +37452,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -37181,7 +37507,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -37208,7 +37534,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '204': description: Response @@ -37234,7 +37560,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 - *19 - *17 responses: @@ -37252,9 +37578,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: *254 + default: *258 '404': *6 x-github: githubCloudOnly: false @@ -37277,7 +37603,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -37328,7 +37654,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -37362,7 +37688,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -37951,13 +38277,13 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: - default: *170 + default: *172 '500': *38 '403': *27 '404': *6 - '422': *171 + '422': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38185,7 +38511,7 @@ paths: - 3 custom_roles: type: array - items: *283 + items: *287 examples: default: value: @@ -38277,7 +38603,7 @@ paths: required: true content: application/json: - schema: &286 + schema: &290 type: object properties: name: @@ -38319,9 +38645,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '422': *15 '404': *6 x-github: @@ -38346,7 +38672,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - *76 - - &285 + - &289 name: role_id description: The unique identifier of the role. in: path @@ -38358,9 +38684,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '404': *6 x-github: githubCloudOnly: true @@ -38383,12 +38709,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - *76 - - *285 + - *289 requestBody: required: true content: application/json: - schema: &287 + schema: &291 type: object properties: name: @@ -38427,9 +38753,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '422': *15 '404': *6 x-github: @@ -38454,7 +38780,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - *76 - - *285 + - *289 responses: '204': description: Response @@ -38487,7 +38813,7 @@ paths: required: true content: application/json: - schema: *286 + schema: *290 examples: default: value: @@ -38501,9 +38827,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '422': *15 '404': *6 x-github: @@ -38534,15 +38860,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - *76 - - *285 + - *289 responses: '200': description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '404': *6 x-github: githubCloudOnly: true @@ -38571,12 +38897,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - *76 - - *285 + - *289 requestBody: required: true content: application/json: - schema: *287 + schema: *291 examples: default: value: @@ -38591,9 +38917,9 @@ paths: description: Response content: application/json: - schema: *283 + schema: *287 examples: - default: *284 + default: *288 '422': *15 '404': *6 x-github: @@ -38624,7 +38950,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - *76 - - *285 + - *289 responses: '204': description: Response @@ -38653,11 +38979,11 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *76 - - *288 - - *289 - - *290 - - *291 - *292 + - *293 + - *294 + - *295 + - *296 - name: artifact_registry_url in: query description: A comma-separated list of artifact registry URLs. If specified, @@ -38673,14 +38999,14 @@ paths: Can be: `jfrog-artifactory` schema: type: string - - *293 - - *294 - - *295 + - *297 + - *298 + - *299 - *99 - *97 - *98 - - *296 - - *297 + - *300 + - *301 - *17 responses: '200': @@ -38689,9 +39015,9 @@ paths: application/json: schema: type: array - items: *298 + items: *302 examples: - default: *299 + default: *303 '304': *35 '400': *14 '403': *27 @@ -38735,7 +39061,7 @@ paths: type: integer secrets: type: array - items: &300 + items: &304 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -38814,7 +39140,7 @@ paths: description: Response content: application/json: - schema: &560 + schema: &564 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -38833,7 +39159,7 @@ paths: - key_id - key examples: - default: &561 + default: &565 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -38857,13 +39183,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '200': description: Response content: application/json: - schema: *300 + schema: *304 examples: default: value: @@ -38892,7 +39218,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -38947,7 +39273,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -38972,7 +39298,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - *76 - - *250 + - *254 responses: '204': description: Response @@ -38997,7 +39323,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 - *19 - *17 responses: @@ -39015,9 +39341,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: *254 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39039,7 +39365,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -39090,7 +39416,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -39122,7 +39448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - *76 - - *250 + - *254 - name: repository_id in: path required: true @@ -39159,7 +39485,7 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - &569 + - &573 name: reviewer description: Filter alert dismissal requests by the handle of the GitHub user who reviewed the dismissal request. @@ -39167,7 +39493,7 @@ paths: required: false schema: type: string - - &570 + - &574 name: requester description: Filter alert dismissal requests by the handle of the GitHub user who requested the dismissal. @@ -39175,7 +39501,7 @@ paths: required: false schema: type: string - - &571 + - &575 name: time_period description: |- The time period to filter by. @@ -39191,7 +39517,7 @@ paths: - week - month default: month - - &572 + - &576 name: request_status description: Filter alert dismissal requests by status. When specified, only requests with this status will be returned. @@ -39206,7 +39532,7 @@ paths: - denied - all default: all - - *264 + - *268 - *17 - *19 responses: @@ -39216,7 +39542,7 @@ paths: application/json: schema: type: array - items: &573 + items: &577 title: Code scanning alert dismissal request description: Alert dismisal request made by a user asking to dismiss a code scanning alert. @@ -39379,7 +39705,7 @@ paths: examples: - https://github.com/octo-org/smile/code-scanning/alerts/1 examples: - default: &574 + default: &578 value: - id: 21 number: 42 @@ -39466,11 +39792,11 @@ paths: subcategory: alert-dismissal-requests parameters: - *76 - - *264 + - *268 - *92 - *93 - *94 - - &575 + - &579 name: request_status description: The status of the dismissal request to filter on. When specified, only requests with this status will be returned. @@ -39496,7 +39822,7 @@ paths: application/json: schema: type: array - items: &576 + items: &580 title: Secret scanning alert dismissal request description: A dismissal request made by a user asking to close a secret scanning alert in this repository. @@ -39623,7 +39949,7 @@ paths: examples: - https://github.com/octo-org/smile/security/secret-scanning/17 examples: - default: &577 + default: &581 value: - id: 21 number: 42 @@ -39711,7 +40037,7 @@ paths: application/json: schema: type: array - items: &341 + items: &345 title: Package description: A software package type: object @@ -39764,7 +40090,7 @@ paths: repository: anyOf: - type: 'null' - - *240 + - *244 created_at: type: string format: date-time @@ -39782,7 +40108,7 @@ paths: - created_at - updated_at examples: - default: &342 + default: &346 value: - id: 197 name: hello_docker @@ -39870,7 +40196,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: 200-response: value: @@ -39966,7 +40292,7 @@ paths: description: Response content: application/json: - schema: &420 + schema: &424 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -40056,7 +40382,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &421 + default: &425 value: group_id: '123' group_name: Octocat admins @@ -40111,7 +40437,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &422 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -40151,7 +40477,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &419 + default: &423 value: groups: - group_id: '123' @@ -40195,7 +40521,7 @@ paths: application/json: schema: type: array - items: &323 + items: &327 title: Organization Invitation description: Organization Invitation type: object @@ -40249,7 +40575,7 @@ paths: - invitation_teams_url - node_id examples: - default: &324 + default: &328 value: - id: 1 login: monalisa @@ -40316,7 +40642,7 @@ paths: application/json: schema: type: array - items: &373 + items: &377 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -40330,7 +40656,7 @@ paths: - name - description examples: - default: &374 + default: &378 value: - name: add_assignee description: Assign or remove a user @@ -40371,7 +40697,7 @@ paths: application/json: schema: type: array - items: &301 + items: &305 title: Org Hook description: Org Hook type: object @@ -40554,9 +40880,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: &302 + default: &306 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -40601,7 +40927,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - *76 - - &303 + - &307 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. @@ -40614,9 +40940,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: - default: *302 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -40638,7 +40964,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - *76 - - *303 + - *307 requestBody: required: false content: @@ -40684,7 +41010,7 @@ paths: description: Response content: application/json: - schema: *301 + schema: *305 examples: default: value: @@ -40724,7 +41050,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - *76 - - *303 + - *307 responses: '204': description: Response @@ -40750,7 +41076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *76 - - *303 + - *307 responses: '200': description: Response @@ -40779,7 +41105,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *76 - - *303 + - *307 requestBody: required: false content: @@ -40828,9 +41154,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *76 - - *303 + - *307 - *17 - - *304 + - *308 responses: '200': description: Response @@ -40838,9 +41164,9 @@ paths: application/json: schema: type: array - items: *305 + items: *309 examples: - default: *306 + default: *310 '400': *14 '422': *15 x-github: @@ -40864,16 +41190,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *76 - - *303 + - *307 - *16 responses: '200': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '400': *14 '422': *15 x-github: @@ -40897,7 +41223,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *76 - - *303 + - *307 - *16 responses: '202': *37 @@ -40924,7 +41250,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - *76 - - *303 + - *307 responses: '204': description: Response @@ -40947,7 +41273,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - *76 - - &313 + - &317 name: actor_type in: path description: The type of the actor @@ -40960,14 +41286,14 @@ paths: - fine_grained_pat - oauth_app - github_app_user_to_server - - &314 + - &318 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &309 + - &313 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`.' @@ -40975,7 +41301,7 @@ paths: required: true schema: type: string - - &310 + - &314 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) @@ -41070,12 +41396,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - *76 - - *309 - - *310 + - *313 + - *314 - *19 - *17 - *99 - - &319 + - &323 name: sort description: The property to sort the results by. in: query @@ -41155,14 +41481,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - *76 - - *309 - - *310 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: &311 + schema: &315 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -41178,7 +41504,7 @@ paths: type: integer format: int64 examples: - default: &312 + default: &316 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -41199,23 +41525,23 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - *76 - - &315 + - &319 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *309 - - *310 + - *313 + - *314 responses: '200': description: Response content: application/json: - schema: *311 + schema: *315 examples: - default: *312 + default: *316 x-github: enabledForGitHubApps: true category: orgs @@ -41234,18 +41560,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *76 - - *309 - - *310 - *313 - *314 + - *317 + - *318 responses: '200': description: Response content: application/json: - schema: *311 + schema: *315 examples: - default: *312 + default: *316 x-github: enabledForGitHubApps: true category: orgs @@ -41263,9 +41589,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - *76 - - *309 - - *310 - - &316 + - *313 + - *314 + - &320 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -41278,7 +41604,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &321 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -41294,7 +41620,7 @@ paths: type: integer format: int64 examples: - default: &318 + default: &322 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -41331,18 +41657,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - *76 - - *315 - - *309 - - *310 - - *316 + - *319 + - *313 + - *314 + - *320 responses: '200': description: Response content: application/json: - schema: *317 + schema: *321 examples: - default: *318 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -41360,19 +41686,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - *76 + - *317 + - *318 - *313 - *314 - - *309 - - *310 - - *316 + - *320 responses: '200': description: Response content: application/json: - schema: *317 + schema: *321 examples: - default: *318 + default: *322 x-github: enabledForGitHubApps: true category: orgs @@ -41390,13 +41716,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - *76 - - *315 - - *309 - - *310 + - *319 + - *313 + - *314 - *19 - *17 - *99 - - *319 + - *323 - name: actor_name_substring in: query description: Providing a substring will filter results where the actor name @@ -41480,7 +41806,7 @@ paths: application/json: schema: *20 examples: - default: &608 + default: &612 value: id: 1 account: @@ -41646,12 +41972,12 @@ paths: application/json: schema: anyOf: - - &321 + - &325 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &320 + limit: &324 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -41679,7 +42005,7 @@ paths: properties: {} additionalProperties: false examples: - default: &322 + default: &326 value: limit: collaborators_only origin: organization @@ -41708,13 +42034,13 @@ paths: required: true content: application/json: - schema: &609 + schema: &613 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *320 + limit: *324 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -41739,9 +42065,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *325 examples: - default: *322 + default: *326 '422': *15 x-github: githubCloudOnly: false @@ -41819,9 +42145,9 @@ paths: application/json: schema: type: array - items: *323 + items: *327 examples: - default: *324 + default: *328 headers: Link: *41 '404': *6 @@ -41899,7 +42225,7 @@ paths: description: Response content: application/json: - schema: *323 + schema: *327 examples: default: value: @@ -41956,7 +42282,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - *76 - - &325 + - &329 name: invitation_id description: The unique identifier of the invitation. in: path @@ -41990,7 +42316,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - *76 - - *325 + - *329 - *17 - *19 responses: @@ -42000,9 +42326,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: &340 + default: &344 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -42045,7 +42371,7 @@ paths: application/json: schema: type: array - items: *326 + items: *330 examples: default: value: @@ -42133,9 +42459,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *330 examples: - default: &327 + default: &331 value: id: 410 node_id: IT_kwDNAd3NAZo @@ -42168,7 +42494,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#update-issue-type-for-an-organization parameters: - *76 - - &328 + - &332 name: issue_type_id description: The unique identifier of the issue type. in: path @@ -42224,9 +42550,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *330 examples: - default: *327 + default: *331 '404': *6 '422': *7 x-github: @@ -42251,7 +42577,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/issue-types#delete-issue-type-for-an-organization parameters: - *76 - - *328 + - *332 responses: '204': description: Response @@ -42314,7 +42640,7 @@ paths: - closed - all default: open - - *329 + - *333 - name: type description: Can be the name of an issue type. in: query @@ -42333,7 +42659,7 @@ paths: - comments default: created - *99 - - *183 + - *185 - *17 - *19 responses: @@ -42343,9 +42669,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *330 + default: *334 headers: Link: *41 '404': *6 @@ -42405,7 +42731,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '422': *15 @@ -42426,7 +42752,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response if requester is an organization member and user is @@ -42461,7 +42787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -42488,7 +42814,7 @@ paths: - *17 - *19 - *76 - - *176 + - *178 responses: '200': description: Response @@ -42504,9 +42830,9 @@ paths: type: integer codespaces: type: array - items: *331 + items: *335 examples: - default: *332 + default: *336 '304': *35 '500': *38 '401': *23 @@ -42532,8 +42858,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - *76 - - *176 - - &333 + - *178 + - &337 name: codespace_name in: path required: true @@ -42567,16 +42893,16 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - *76 - - *176 - - *333 + - *178 + - *337 responses: '200': description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: &532 + default: &536 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -42750,7 +43076,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - *76 - - *176 + - *178 responses: '200': description: The user's GitHub Copilot seat details, including usage. @@ -42826,13 +43152,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 responses: '200': description: Response content: application/json: - schema: &334 + schema: &338 title: Org Membership description: Org Membership type: object @@ -42901,7 +43227,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &335 + response-if-user-has-an-active-admin-membership-with-organization: &339 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -42970,7 +43296,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 requestBody: required: false content: @@ -42998,9 +43324,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: - response-if-user-already-had-membership-with-organization: *335 + response-if-user-already-had-membership-with-organization: *339 '422': *15 '403': *27 x-github: @@ -43025,7 +43351,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -43072,7 +43398,7 @@ paths: application/json: schema: type: array - items: &336 + items: &340 title: Migration description: A migration. type: object @@ -43410,7 +43736,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -43589,7 +43915,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - *76 - - &337 + - &341 name: migration_id description: The unique identifier of the migration. in: path @@ -43617,7 +43943,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -43787,7 +44113,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - *76 - - *337 + - *341 responses: '302': description: Response @@ -43809,7 +44135,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *76 - - *337 + - *341 responses: '204': description: Response @@ -43833,8 +44159,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - *76 - - *337 - - &776 + - *341 + - &780 name: repo_name description: repo_name parameter in: path @@ -43862,7 +44188,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *76 - - *337 + - *341 - *17 - *19 responses: @@ -43872,9 +44198,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: &347 + default: &351 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -44083,7 +44409,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &338 + items: &342 title: Organization Role description: Organization roles type: object @@ -44292,7 +44618,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *342 examples: default: value: @@ -44344,7 +44670,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -44370,8 +44696,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *76 - - *178 - - *285 + - *180 + - *289 responses: '204': description: Response @@ -44401,8 +44727,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *76 - - *178 - - *285 + - *180 + - *289 responses: '204': description: Response @@ -44428,7 +44754,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -44454,8 +44780,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - *76 - - *176 - - *285 + - *178 + - *289 responses: '204': description: Response @@ -44486,8 +44812,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - *76 - - *176 - - *285 + - *178 + - *289 responses: '204': description: Response @@ -44516,13 +44842,13 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - *76 - - *285 + - *289 responses: '200': description: Response content: application/json: - schema: *338 + schema: *342 examples: default: value: @@ -44580,7 +44906,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - *76 - - *285 + - *289 requestBody: required: true content: @@ -44619,7 +44945,7 @@ paths: description: Response content: application/json: - schema: *338 + schema: *342 examples: default: value: @@ -44673,7 +44999,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - *76 - - *285 + - *289 responses: '204': description: Response @@ -44699,7 +45025,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *76 - - *285 + - *289 - *17 - *19 responses: @@ -44778,7 +45104,7 @@ paths: parent: anyOf: - type: 'null' - - *339 + - *343 type: description: The ownership type of the team type: string @@ -44811,7 +45137,7 @@ paths: - type - parent examples: - default: *340 + default: *344 headers: Link: *41 '404': @@ -44841,7 +45167,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *76 - - *285 + - *289 - *17 - *19 responses: @@ -44870,7 +45196,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *339 + items: *343 name: type: - string @@ -44987,7 +45313,7 @@ paths: - type - url examples: - default: *175 + default: *177 headers: Link: *41 '404': @@ -45038,7 +45364,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -45064,7 +45390,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - *76 - - *176 + - *178 requestBody: required: false content: @@ -45122,7 +45448,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -45180,7 +45506,7 @@ paths: - nuget - container - *76 - - &778 + - &782 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -45216,12 +45542,12 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: *342 + default: *346 '403': *27 '401': *23 - '400': &780 + '400': &784 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -45243,7 +45569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &343 + - &347 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 @@ -45261,7 +45587,7 @@ paths: - docker - nuget - container - - &344 + - &348 name: package_name description: The name of the package. in: path @@ -45274,7 +45600,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *345 examples: default: value: @@ -45326,8 +45652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 responses: '204': @@ -45360,8 +45686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 - name: token description: package token @@ -45394,8 +45720,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 - *19 - *17 @@ -45416,7 +45742,7 @@ paths: application/json: schema: type: array - items: &345 + items: &349 title: Package Version description: A version of a software package type: object @@ -45551,10 +45877,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: - - *343 - - *344 + - *347 + - *348 - *76 - - &346 + - &350 name: package_version_id description: Unique identifier of the package version. in: path @@ -45566,7 +45892,7 @@ paths: description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -45602,10 +45928,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 - - *346 + - *350 responses: '204': description: Response @@ -45637,10 +45963,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *343 - - *344 + - *347 + - *348 - *76 - - *346 + - *350 responses: '204': description: Response @@ -45670,7 +45996,7 @@ paths: - *76 - *17 - *19 - - &348 + - &352 name: sort description: The property by which to sort the results. in: query @@ -45681,7 +46007,7 @@ paths: - created_at default: created_at - *99 - - &349 + - &353 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -45693,7 +46019,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &350 + - &354 name: repository description: The name of the repository to use to filter the results. in: query @@ -45702,7 +46028,7 @@ paths: type: string examples: - Hello-World - - &351 + - &355 name: permission description: The permission to use to filter the results. in: query @@ -45711,7 +46037,7 @@ paths: type: string examples: - issues_read - - &352 + - &356 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) @@ -45721,7 +46047,7 @@ paths: schema: type: string format: date-time - - &353 + - &357 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) @@ -45731,7 +46057,7 @@ paths: schema: type: string format: date-time - - &354 + - &358 name: token_id description: The ID of the token in: query @@ -46048,9 +46374,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -46076,14 +46402,14 @@ paths: - *76 - *17 - *19 - - *348 - - *99 - - *349 - - *350 - - *351 - *352 + - *99 - *353 - *354 + - *355 + - *356 + - *357 + - *358 responses: '500': *38 '422': *15 @@ -46365,9 +46691,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -46409,7 +46735,7 @@ paths: type: integer configurations: type: array - items: &355 + items: &359 title: Organization private registry description: Private registry configuration for an organization type: object @@ -46668,7 +46994,7 @@ paths: - created_at - updated_at examples: - org-private-registry-with-selected-visibility: &356 + org-private-registry-with-selected-visibility: &360 value: name: MAVEN_REPOSITORY_SECRET registry_type: maven_repository @@ -46760,15 +47086,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#get-a-private-registry-for-an-organization parameters: - *76 - - *250 + - *254 responses: '200': description: The specified private registry configuration for the organization content: application/json: - schema: *355 + schema: *359 examples: - default: *356 + default: *360 '404': *6 x-github: githubCloudOnly: false @@ -46790,7 +47116,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#update-a-private-registry-for-an-organization parameters: - *76 - - *250 + - *254 requestBody: required: true content: @@ -46887,7 +47213,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/private-registries/organization-configurations#delete-a-private-registry-for-an-organization parameters: - *76 - - *250 + - *254 responses: '204': description: Response @@ -46933,7 +47259,7 @@ paths: application/json: schema: type: array - items: &357 + items: &361 title: Project description: Projects are a way to organize columns and cards of work. @@ -47115,7 +47441,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -47153,7 +47479,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &436 + '410': &440 description: Gone content: application/json: @@ -47196,7 +47522,7 @@ paths: application/json: schema: type: array - items: &358 + items: &362 title: Projects v2 Project description: A projects v2 project type: object @@ -47270,7 +47596,7 @@ paths: latest_status_update: anyOf: - type: 'null' - - &853 + - &857 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -47355,7 +47681,7 @@ paths: - deleted_at - deleted_by examples: - default: &359 + default: &363 value: id: 2 node_id: MDc6UHJvamVjdDEwMDI2MDM= @@ -47458,7 +47784,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-organization parameters: - - &360 + - &364 name: project_number description: The project's number. in: path @@ -47471,9 +47797,9 @@ paths: description: Response content: application/json: - schema: *358 + schema: *362 examples: - default: *359 + default: *363 headers: Link: *41 '304': *35 @@ -47495,7 +47821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-organization parameters: - - *360 + - *364 - *76 - *17 - *97 @@ -47507,7 +47833,7 @@ paths: application/json: schema: type: array - items: &361 + items: &365 title: Projects v2 Field description: A field inside a projects v2 project type: object @@ -47657,7 +47983,7 @@ paths: - updated_at - project_url examples: - default: &362 + default: &366 value: id: 12345 node_id: PVTF_lADOABCD1234567890 @@ -47700,8 +48026,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-organization parameters: - - *360 - - &797 + - *364 + - &801 name: field_id description: The unique identifier of the field. in: path @@ -47714,9 +48040,9 @@ paths: description: Response content: application/json: - schema: *361 + schema: *365 examples: - default: *362 + default: *366 headers: Link: *41 '304': *35 @@ -47739,7 +48065,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-an-organization-owned-project parameters: - - *360 + - *364 - *76 - name: q description: Search query to filter items, see [Filtering projects](https://docs.github.com/enterprise-cloud@latest//issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects) @@ -47770,7 +48096,7 @@ paths: application/json: schema: type: array - items: &367 + items: &371 title: Projects v2 Item description: An item belonging to a project type: object @@ -47787,7 +48113,7 @@ paths: description: The API URL of the project that contains this item. examples: - https://api.github.com/users/monalisa/2/projectsV2/3 - content_type: &365 + content_type: &369 title: Projects v2 Item Content Type description: The type of content tracked in a project item type: string @@ -47844,7 +48170,7 @@ paths: - updated_at - archived_at examples: - default: &368 + default: &372 value: id: 13 node_id: PVTI_lAAFAQ0 @@ -48539,7 +48865,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-organization-owned-project parameters: - *76 - - *360 + - *364 requestBody: required: true description: Details of the item to add to the project. @@ -48576,7 +48902,7 @@ paths: description: Response content: application/json: - schema: &798 + schema: &802 title: Projects v2 Item description: An item belonging to a project type: object @@ -48589,8 +48915,8 @@ paths: description: The node ID of the project item. content: oneOf: - - *193 - - &545 + - *195 + - &549 title: Pull Request Simple description: Pull Request Simple type: object @@ -48710,7 +49036,7 @@ paths: milestone: anyOf: - type: 'null' - - *363 + - *367 active_lock_reason: type: - string @@ -48765,7 +49091,7 @@ paths: type: - array - 'null' - items: *267 + items: *271 head: type: object properties: @@ -48809,7 +49135,7 @@ paths: _links: type: object properties: - comments: &364 + comments: &368 title: Link description: Hypermedia Link type: object @@ -48818,13 +49144,13 @@ paths: type: string required: - href - commits: *364 - statuses: *364 - html: *364 - issue: *364 - review_comments: *364 - review_comment: *364 - self: *364 + commits: *368 + statuses: *368 + html: *368 + issue: *368 + review_comments: *368 + review_comment: *368 + self: *368 required: - comments - commits @@ -48834,8 +49160,8 @@ paths: - review_comments - review_comment - self - author_association: *180 - auto_merge: &651 + author_association: *182 + auto_merge: &655 title: Auto merge description: The status of auto merging a pull request. type: @@ -48937,7 +49263,7 @@ paths: - created_at - updated_at description: The content represented by the item. - content_type: *365 + content_type: *369 creator: *4 created_at: type: string @@ -48974,7 +49300,7 @@ paths: - updated_at - archived_at examples: - issue: &366 + issue: &370 value: id: 17 node_id: PVTI_lADOANN5s84ACbL0zgBueEI @@ -49029,7 +49355,7 @@ paths: archived_at: project_url: https://api.github.com/users/octocat/projectsV2/1 item_url: https://api.github.com/users/octocat/projectsV2/items/17 - pull_request: *366 + pull_request: *370 '304': *35 '403': *27 '401': *23 @@ -49049,9 +49375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-an-organization-owned-project parameters: - - *360 + - *364 - *76 - - &369 + - &373 name: item_id description: The unique identifier of the project item. in: path @@ -49075,9 +49401,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *371 examples: - default: *368 + default: *372 headers: Link: *41 '304': *35 @@ -49098,9 +49424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-organization parameters: - - *360 + - *364 - *76 - - *369 + - *373 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -49173,13 +49499,13 @@ paths: description: Response content: application/json: - schema: *367 + schema: *371 examples: - text_field: *368 - number_field: *368 - date_field: *368 - single_select_field: *368 - iteration_field: *368 + text_field: *372 + number_field: *372 + date_field: *372 + single_select_field: *372 + iteration_field: *372 '401': *23 '403': *27 '404': *6 @@ -49199,9 +49525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-organization parameters: - - *360 + - *364 - *76 - - *369 + - *373 responses: '204': description: Response @@ -49364,7 +49690,7 @@ paths: required: true content: application/json: - schema: *370 + schema: *374 examples: default: value: @@ -49470,7 +49796,7 @@ paths: - octocat/Hello-World properties: type: array - items: &371 + items: &375 title: Custom Property Value description: Custom property name and associated value type: object @@ -49560,7 +49886,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *371 + items: *375 required: - repository_names - properties @@ -49613,7 +49939,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -49633,7 +49959,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response if user is a public member @@ -49658,7 +49984,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -49680,7 +50006,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - *76 - - *176 + - *178 responses: '204': description: Response @@ -49751,9 +50077,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -49957,7 +50283,7 @@ paths: description: Response content: application/json: - schema: &438 + schema: &442 title: Full Repository description: Full Repository type: object @@ -50403,7 +50729,7 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 organization: anyOf: - type: 'null' @@ -50422,7 +50748,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &550 + code_of_conduct: &554 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -50452,7 +50778,7 @@ paths: - key - name - html_url - security_and_analysis: *372 + security_and_analysis: *376 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -50536,7 +50862,7 @@ paths: - network_count - subscribers_count examples: - default: &440 + default: &444 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -51062,9 +51388,9 @@ paths: application/json: schema: type: array - items: *373 + items: *377 examples: - default: *374 + default: *378 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -51089,7 +51415,7 @@ paths: - *76 - *17 - *19 - - &674 + - &678 name: targets description: | A comma-separated list of rule targets to filter by. @@ -51181,11 +51507,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *375 + conditions: *379 rules: type: array description: An array of rules within the ruleset. - items: &377 + items: &381 title: Repository Rule type: object description: A repository rule. @@ -51249,7 +51575,7 @@ paths: application/json: schema: *158 examples: - default: &376 + default: &380 value: id: 21 name: super cool ruleset @@ -51304,7 +51630,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - *76 - - &676 + - &680 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 @@ -51314,16 +51640,16 @@ paths: schema: type: string x-multi-segment: true - - *264 + - *268 - *94 - - &677 + - &681 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 - - &678 + - &682 name: rule_suite_result description: The rule suite results to filter on. When specified, only suites with this result will be returned. @@ -51343,7 +51669,7 @@ paths: description: Response content: application/json: - schema: &679 + schema: &683 title: Rule Suites description: Response type: array @@ -51399,7 +51725,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &680 + default: &684 value: - id: 21 actor_id: 12 @@ -51443,7 +51769,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *76 - - &681 + - &685 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -51459,7 +51785,7 @@ paths: description: Response content: application/json: - schema: &682 + schema: &686 title: Rule Suite description: Response type: object @@ -51566,7 +51892,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &683 + default: &687 value: id: 21 actor_id: 12 @@ -51641,7 +51967,7 @@ paths: application/json: schema: *158 examples: - default: *376 + default: *380 '404': *6 '500': *38 put: @@ -51690,11 +52016,11 @@ paths: type: array description: The actors that can bypass the rules in this ruleset items: *137 - conditions: *375 + conditions: *379 rules: description: An array of rules within the ruleset. type: array - items: *377 + items: *381 examples: default: value: @@ -51731,7 +52057,7 @@ paths: application/json: schema: *158 examples: - default: *376 + default: *380 '404': *6 '500': *38 delete: @@ -51790,7 +52116,7 @@ paths: type: array items: *162 examples: - default: *378 + default: *382 '404': *6 '500': *38 x-github: @@ -51827,7 +52153,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *383 examples: default: value: @@ -51890,14 +52216,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *76 - - *380 - - *381 - - *382 - - *383 + - *384 + - *385 + - *386 + - *387 - *99 - *19 - *17 - - &685 + - &689 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 @@ -51907,7 +52233,7 @@ paths: required: false schema: type: string - - &686 + - &690 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 @@ -51917,10 +52243,10 @@ paths: required: false schema: type: string - - *384 - - *385 - - *386 - - *387 + - *388 + - *389 + - *390 + - *391 responses: '200': description: Response @@ -51928,9 +52254,9 @@ paths: application/json: schema: type: array - items: *388 + items: *392 examples: - default: *389 + default: *393 headers: Link: *41 '404': *6 @@ -51965,9 +52291,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *394 examples: - default: *391 + default: *395 '403': *27 '404': *6 patch: @@ -52120,7 +52446,7 @@ paths: application/json: schema: type: array - items: &707 + items: &711 description: A repository security advisory. type: object properties: @@ -52364,7 +52690,7 @@ paths: login: type: string description: The username of the user credited. - type: *392 + type: *396 credits_detailed: type: - array @@ -52375,7 +52701,7 @@ paths: type: object properties: user: *4 - type: *392 + type: *396 state: type: string description: The state of the user's acceptance of the @@ -52401,7 +52727,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *267 + items: *271 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -52439,7 +52765,7 @@ paths: - private_fork additionalProperties: false examples: - default: &708 + default: &712 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -52826,9 +53152,9 @@ paths: application/json: schema: type: array - items: *339 + items: *343 examples: - default: *340 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52852,7 +53178,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -52878,7 +53204,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -52913,9 +53239,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *397 examples: - default: *394 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -52940,7 +53266,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - *76 - - *395 + - *399 - *17 - *19 responses: @@ -52948,9 +53274,9 @@ paths: description: Success content: application/json: - schema: *396 + schema: *400 examples: - default: *397 + default: *401 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -52978,9 +53304,9 @@ paths: description: Response content: application/json: - schema: *398 + schema: *402 examples: - default: *399 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53008,9 +53334,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *404 examples: - default: *401 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -53050,7 +53376,7 @@ paths: type: array items: *122 examples: - default: *402 + default: *406 headers: Link: *41 x-github: @@ -53251,15 +53577,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/network-configurations#get-a-hosted-compute-network-settings-resource-for-an-organization parameters: - *76 - - *403 + - *407 responses: '200': description: Response content: application/json: - schema: *404 + schema: *408 examples: - default: *405 + default: *409 headers: Link: *41 x-github: @@ -53297,7 +53623,7 @@ paths: description: Response content: application/json: - schema: &427 + schema: &431 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -53349,7 +53675,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &428 + default: &432 value: groups: - group_id: '123' @@ -53395,7 +53721,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *76 - - *178 + - *180 - 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`). @@ -53427,13 +53753,13 @@ paths: application/json: schema: type: array - items: *169 + items: *171 examples: - default: *170 + default: *172 '500': *38 '403': *27 '404': *6 - '422': *171 + '422': *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -53461,9 +53787,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 headers: Link: *41 '403': *27 @@ -53557,7 +53883,7 @@ paths: description: Response content: application/json: - schema: &406 + schema: &410 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -53631,7 +53957,7 @@ paths: parent: anyOf: - type: 'null' - - *339 + - *343 members_count: type: integer examples: @@ -53956,7 +54282,7 @@ paths: - repos_count - organization examples: - default: &407 + default: &411 value: id: 1 node_id: MDQ6VGVhbTE= @@ -54027,15 +54353,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - *76 - - *178 + - *180 responses: '200': description: Response content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '404': *6 x-github: githubCloudOnly: false @@ -54057,7 +54383,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - *76 - - *178 + - *180 requestBody: required: false content: @@ -54120,16 +54446,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '201': description: Response content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '404': *6 '422': *15 '403': *27 @@ -54155,7 +54481,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -54182,7 +54508,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - *76 - - *178 + - *180 - *99 - *17 - *19 @@ -54199,7 +54525,7 @@ paths: application/json: schema: type: array - items: &408 + items: &412 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -54290,7 +54616,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *181 + reactions: *183 required: - author - body @@ -54310,7 +54636,7 @@ paths: - updated_at - url examples: - default: &751 + default: &755 value: - author: login: octocat @@ -54385,7 +54711,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - *76 - - *178 + - *180 requestBody: required: true content: @@ -54419,9 +54745,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: &409 + default: &413 value: author: login: octocat @@ -54494,8 +54820,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - *76 - - *178 - - &410 + - *180 + - &414 name: discussion_number description: The number that identifies the discussion. in: path @@ -54507,9 +54833,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: *409 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54532,8 +54858,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - *76 - - *178 - - *410 + - *180 + - *414 requestBody: required: false content: @@ -54556,9 +54882,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: &752 + default: &756 value: author: login: octocat @@ -54629,8 +54955,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - *76 - - *178 - - *410 + - *180 + - *414 responses: '204': description: Response @@ -54657,8 +54983,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - *76 - - *178 - - *410 + - *180 + - *414 - *99 - *17 - *19 @@ -54669,7 +54995,7 @@ paths: application/json: schema: type: array - items: &411 + items: &415 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -54734,7 +55060,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *181 + reactions: *183 required: - author - body @@ -54749,7 +55075,7 @@ paths: - updated_at - url examples: - default: &753 + default: &757 value: - author: login: octocat @@ -54818,8 +55144,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - *76 - - *178 - - *410 + - *180 + - *414 requestBody: required: true content: @@ -54841,9 +55167,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: &412 + default: &416 value: author: login: octocat @@ -54910,9 +55236,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - *76 - - *178 - - *410 - - &413 + - *180 + - *414 + - &417 name: comment_number description: The number that identifies the comment. in: path @@ -54924,9 +55250,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: *412 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54949,9 +55275,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - *76 - - *178 - - *410 - - *413 + - *180 + - *414 + - *417 requestBody: required: true content: @@ -54973,9 +55299,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: &754 + default: &758 value: author: login: octocat @@ -55040,9 +55366,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *76 - - *178 - - *410 - - *413 + - *180 + - *414 + - *417 responses: '204': description: Response @@ -55069,9 +55395,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *76 - - *178 - - *410 - - *413 + - *180 + - *414 + - *417 - 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. @@ -55097,7 +55423,7 @@ paths: application/json: schema: type: array - items: &414 + items: &418 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -55141,7 +55467,7 @@ paths: - content - created_at examples: - default: &416 + default: &420 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55192,9 +55518,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *76 - - *178 - - *410 - - *413 + - *180 + - *414 + - *417 requestBody: required: true content: @@ -55227,9 +55553,9 @@ paths: team discussion comment content: application/json: - schema: *414 + schema: *418 examples: - default: &415 + default: &419 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -55258,9 +55584,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55284,10 +55610,10 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *76 - - *178 - - *410 - - *413 - - &417 + - *180 + - *414 + - *417 + - &421 name: reaction_id description: The unique identifier of the reaction. in: path @@ -55320,8 +55646,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *76 - - *178 - - *410 + - *180 + - *414 - 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. @@ -55347,9 +55673,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 x-github: @@ -55376,8 +55702,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *76 - - *178 - - *410 + - *180 + - *414 requestBody: required: true content: @@ -55409,16 +55735,16 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -55442,9 +55768,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - *76 - - *178 - - *410 - - *417 + - *180 + - *414 + - *421 responses: '204': description: Response @@ -55468,15 +55794,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - *76 - - *178 + - *180 responses: '200': description: Response content: application/json: - schema: *418 + schema: *422 examples: - default: *419 + default: *423 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -55496,7 +55822,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *178 + - *180 requestBody: required: true content: @@ -55520,9 +55846,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *424 examples: - default: *421 + default: *425 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -55542,7 +55868,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - *76 - - *178 + - *180 responses: '204': description: Response @@ -55567,7 +55893,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - *76 - - *178 + - *180 - *17 - *19 responses: @@ -55577,9 +55903,9 @@ paths: application/json: schema: type: array - items: *323 + items: *327 examples: - default: *324 + default: *328 headers: Link: *41 x-github: @@ -55602,7 +55928,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - *76 - - *178 + - *180 - name: role description: Filters members returned by their role in the team. in: query @@ -55625,7 +55951,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -55656,14 +55982,14 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - *76 + - *180 - *178 - - *176 responses: '200': description: Response content: application/json: - schema: &422 + schema: &426 title: Team Membership description: Team Membership type: object @@ -55691,7 +56017,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &755 + response-if-user-is-a-team-maintainer: &759 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -55728,8 +56054,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *76 + - *180 - *178 - - *176 requestBody: required: false content: @@ -55754,9 +56080,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *426 examples: - response-if-users-membership-with-team-is-now-pending: &756 + response-if-users-membership-with-team-is-now-pending: &760 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -55792,8 +56118,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - *76 + - *180 - *178 - - *176 responses: '204': description: Response @@ -55819,7 +56145,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - *76 - - *178 + - *180 - *17 - *19 responses: @@ -55829,7 +56155,7 @@ paths: application/json: schema: type: array - items: &423 + items: &427 title: Team Project description: A team's access to a project. type: object @@ -55898,7 +56224,7 @@ paths: - updated_at - permissions examples: - default: &757 + default: &761 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -55962,8 +56288,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - *76 - - *178 - - &424 + - *180 + - &428 name: project_id description: The unique identifier of the project. in: path @@ -55975,9 +56301,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *427 examples: - default: &758 + default: &762 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -56040,8 +56366,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - *76 - - *178 - - *424 + - *180 + - *428 requestBody: required: false content: @@ -56109,8 +56435,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - *76 - - *178 - - *424 + - *180 + - *428 responses: '204': description: Response @@ -56138,7 +56464,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - *76 - - *178 + - *180 - *17 - *19 responses: @@ -56148,9 +56474,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -56180,15 +56506,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - *76 - - *178 - - *425 - - *426 + - *180 + - *429 + - *430 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &759 + schema: &763 title: Team Repository description: A team's access to a repository. type: object @@ -56214,7 +56540,7 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 forks: type: integer permissions: @@ -56830,9 +57156,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - *76 - - *178 - - *425 - - *426 + - *180 + - *429 + - *430 requestBody: required: false content: @@ -56878,9 +57204,9 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - *76 - - *178 - - *425 - - *426 + - *180 + - *429 + - *430 responses: '204': description: Response @@ -56907,15 +57233,15 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - *76 - - *178 + - *180 responses: '200': description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -56938,7 +57264,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - *76 - - *178 + - *180 requestBody: required: true content: @@ -56981,7 +57307,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: default: value: @@ -57014,7 +57340,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - *76 - - *178 + - *180 - *17 - *19 responses: @@ -57024,9 +57350,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - response-if-child-teams-exist: &760 + response-if-child-teams-exist: &764 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -57153,7 +57479,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#get-a-project-card parameters: - - &429 + - &433 name: card_id description: The unique identifier of the card. in: path @@ -57165,7 +57491,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &434 title: Project Card description: Project cards represent a scope of work. type: object @@ -57240,7 +57566,7 @@ paths: - created_at - updated_at examples: - default: &431 + default: &435 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -57296,7 +57622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#update-an-existing-project-card parameters: - - *429 + - *433 requestBody: required: false content: @@ -57326,9 +57652,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '304': *35 '403': *27 '401': *23 @@ -57355,7 +57681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#delete-a-project-card parameters: - - *429 + - *433 responses: '204': description: Response @@ -57399,7 +57725,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#move-a-project-card parameters: - - *429 + - *433 requestBody: required: true content: @@ -57512,7 +57838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#get-a-project-column parameters: - - &432 + - &436 name: column_id description: The unique identifier of the column. in: path @@ -57524,7 +57850,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &437 title: Project Column description: Project columns contain cards of work. type: object @@ -57578,7 +57904,7 @@ paths: - created_at - updated_at examples: - default: &434 + default: &438 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -57613,7 +57939,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#update-an-existing-project-column parameters: - - *432 + - *436 requestBody: required: true content: @@ -57638,9 +57964,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *437 examples: - default: *434 + default: *438 '304': *35 '403': *27 '401': *23 @@ -57665,7 +57991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#delete-a-project-column parameters: - - *432 + - *436 responses: '204': description: Response @@ -57694,7 +58020,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#list-project-cards parameters: - - *432 + - *436 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -57715,7 +58041,7 @@ paths: application/json: schema: type: array - items: *430 + items: *434 examples: default: value: @@ -57774,7 +58100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/cards#create-a-project-card parameters: - - *432 + - *436 requestBody: required: true content: @@ -57818,9 +58144,9 @@ paths: description: Response content: application/json: - schema: *430 + schema: *434 examples: - default: *431 + default: *435 '304': *35 '403': *27 '401': *23 @@ -57830,8 +58156,8 @@ paths: application/json: schema: oneOf: - - *217 - - *218 + - *221 + - *222 '503': description: Response content: @@ -57876,7 +58202,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#move-a-project-column parameters: - - *432 + - *436 requestBody: required: true content: @@ -57937,15 +58263,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#get-a-project parameters: - - *424 + - *428 responses: '200': description: Response content: application/json: - schema: *357 + schema: *361 examples: - default: &435 + default: &439 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -58002,7 +58328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#update-a-project parameters: - - *424 + - *428 requestBody: required: false content: @@ -58051,9 +58377,9 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: - default: *435 + default: *439 '404': description: Not Found if the authenticated user does not have access to the project @@ -58074,7 +58400,7 @@ paths: items: type: string '401': *23 - '410': *436 + '410': *440 '422': *7 x-github: githubCloudOnly: false @@ -58097,7 +58423,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#delete-a-project parameters: - - *424 + - *428 responses: '204': description: Delete Success @@ -58118,7 +58444,7 @@ paths: items: type: string '401': *23 - '410': *436 + '410': *440 '404': *6 x-github: githubCloudOnly: false @@ -58142,7 +58468,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#list-project-collaborators parameters: - - *424 + - *428 - 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 @@ -58169,7 +58495,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '404': *6 @@ -58199,8 +58525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#add-project-collaborator parameters: - - *424 - - *176 + - *428 + - *178 requestBody: required: false content: @@ -58254,8 +58580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#remove-user-as-a-collaborator parameters: - - *424 - - *176 + - *428 + - *178 responses: '204': description: Response @@ -58286,8 +58612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/collaborators#get-project-permission-for-a-user parameters: - - *424 - - *176 + - *428 + - *178 responses: '200': description: Response @@ -58357,7 +58683,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#list-project-columns parameters: - - *424 + - *428 - *17 - *19 responses: @@ -58367,7 +58693,7 @@ paths: application/json: schema: type: array - items: *433 + items: *437 examples: default: value: @@ -58405,7 +58731,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/columns#create-a-project-column parameters: - - *424 + - *428 requestBody: required: true content: @@ -58429,7 +58755,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *437 examples: default: value: @@ -58494,7 +58820,7 @@ paths: resources: type: object properties: - core: &437 + core: &441 title: Rate Limit type: object properties: @@ -58511,21 +58837,21 @@ paths: - remaining - reset - used - graphql: *437 - search: *437 - code_search: *437 - source_import: *437 - integration_manifest: *437 - code_scanning_upload: *437 - actions_runner_registration: *437 - scim: *437 - dependency_snapshots: *437 - dependency_sbom: *437 - code_scanning_autofix: *437 + graphql: *441 + search: *441 + code_search: *441 + source_import: *441 + integration_manifest: *441 + code_scanning_upload: *441 + actions_runner_registration: *441 + scim: *441 + dependency_snapshots: *441 + dependency_sbom: *441 + code_scanning_autofix: *441 required: - core - search - rate: *437 + rate: *441 required: - rate - resources @@ -58630,14 +58956,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *438 + schema: *442 examples: default-response: summary: Default response @@ -59142,7 +59468,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *439 + '301': *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59160,8 +59486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -59419,10 +59745,10 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 - '307': &441 + default: *444 + '307': &445 description: Temporary Redirect content: application/json: @@ -59451,8 +59777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -59474,7 +59800,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': *441 + '307': *445 '404': *6 '409': *107 x-github: @@ -59498,11 +59824,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 - - &456 + - &460 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -59525,7 +59851,7 @@ paths: type: integer artifacts: type: array - items: &442 + items: &446 title: Artifact description: An artifact type: object @@ -59620,7 +59946,7 @@ paths: - expires_at - updated_at examples: - default: &457 + default: &461 value: total_count: 2 artifacts: @@ -59681,9 +60007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *425 - - *426 - - &443 + - *429 + - *430 + - &447 name: artifact_id description: The unique identifier of the artifact. in: path @@ -59695,7 +60021,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *446 examples: default: value: @@ -59733,9 +60059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *425 - - *426 - - *443 + - *429 + - *430 + - *447 responses: '204': description: Response @@ -59759,9 +60085,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *425 - - *426 - - *443 + - *429 + - *430 + - *447 - name: archive_format in: path required: true @@ -59775,7 +60101,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': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59798,14 +60124,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *444 + schema: *448 examples: default: value: @@ -59831,11 +60157,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: - - *425 - - *426 + - *429 + - *430 - *17 - *19 - - &445 + - &449 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 @@ -59869,7 +60195,7 @@ paths: description: Response content: application/json: - schema: &446 + schema: &450 title: Repository actions caches description: Repository actions caches type: object @@ -59919,7 +60245,7 @@ paths: - total_count - actions_caches examples: - default: &447 + default: &451 value: total_count: 1 actions_caches: @@ -59951,23 +60277,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: - - *425 - - *426 + - *429 + - *430 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *445 + - *449 responses: '200': description: Response content: application/json: - schema: *446 + schema: *450 examples: - default: *447 + default: *451 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59987,8 +60313,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: - - *425 - - *426 + - *429 + - *430 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -60019,9 +60345,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: - - *425 - - *426 - - &448 + - *429 + - *430 + - &452 name: job_id description: The unique identifier of the job. in: path @@ -60033,7 +60359,7 @@ paths: description: Response content: application/json: - schema: &460 + schema: &464 title: Job description: Information of a job execution in a workflow run type: object @@ -60380,9 +60706,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: - - *425 - - *426 - - *448 + - *429 + - *430 + - *452 responses: '302': description: Response @@ -60410,9 +60736,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: - - *425 - - *426 - - *448 + - *429 + - *430 + - *452 requestBody: required: false content: @@ -60434,7 +60760,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -60458,8 +60784,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Status response @@ -60509,8 +60835,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -60544,7 +60870,7 @@ paths: description: Empty response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -60573,8 +60899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -60592,7 +60918,7 @@ paths: type: integer secrets: type: array - items: &462 + items: &466 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -60613,7 +60939,7 @@ paths: - created_at - updated_at examples: - default: &463 + default: &467 value: total_count: 2 secrets: @@ -60646,9 +60972,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *425 - - *426 - - *449 + - *429 + - *430 + - *453 - *19 responses: '200': @@ -60665,7 +60991,7 @@ paths: type: integer variables: type: array - items: &466 + items: &470 title: Actions Variable type: object properties: @@ -60699,7 +61025,7 @@ paths: - created_at - updated_at examples: - default: &467 + default: &471 value: total_count: 2 variables: @@ -60732,8 +61058,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -60742,11 +61068,11 @@ paths: schema: type: object properties: - enabled: &450 + enabled: &454 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *49 - selected_actions_url: *227 + selected_actions_url: *231 sha_pinning_required: *50 required: - enabled @@ -60777,8 +61103,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -60789,7 +61115,7 @@ paths: schema: type: object properties: - enabled: *450 + enabled: *454 allowed_actions: *49 sha_pinning_required: *50 required: @@ -60822,14 +61148,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: &451 + schema: &455 type: object properties: access_level: @@ -60847,7 +61173,7 @@ paths: required: - access_level examples: - default: &452 + default: &456 value: access_level: organization x-github: @@ -60872,15 +61198,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: application/json: - schema: *451 + schema: *455 examples: - default: *452 + default: *456 responses: '204': description: Response @@ -60904,14 +61230,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-artifact-and-log-retention-settings-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *229 + schema: *233 examples: default: value: @@ -60935,8 +61261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-artifact-and-log-retention-settings-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Empty response for successful settings update @@ -60946,7 +61272,7 @@ paths: required: true content: application/json: - schema: *230 + schema: *234 examples: default: summary: Set retention days @@ -60970,8 +61296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -60979,7 +61305,7 @@ paths: application/json: schema: *51 examples: - default: *231 + default: *235 '404': *6 x-github: enabledForGitHubApps: true @@ -60998,8 +61324,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-fork-pr-contributor-approval-permissions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -61033,14 +61359,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *232 + schema: *236 examples: default: *52 '403': *27 @@ -61062,13 +61388,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-private-repo-fork-pr-workflow-settings-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: application/json: - schema: *233 + schema: *237 examples: default: *52 responses: @@ -61094,8 +61420,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -61126,8 +61452,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -61159,14 +61485,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *236 + schema: *240 examples: default: *58 x-github: @@ -61189,8 +61515,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Success response @@ -61201,7 +61527,7 @@ paths: required: true content: application/json: - schema: *237 + schema: *241 examples: default: *58 x-github: @@ -61230,8 +61556,8 @@ paths: in: query schema: type: string - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -61275,8 +61601,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -61284,9 +61610,9 @@ paths: application/json: schema: type: array - items: *241 + items: *245 examples: - default: *242 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61308,8 +61634,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -61352,7 +61678,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *243 + '201': *247 '404': *6 '422': *7 '409': *107 @@ -61383,8 +61709,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: - - *425 - - *426 + - *429 + - *430 responses: '201': description: Response @@ -61392,7 +61718,7 @@ paths: application/json: schema: *68 examples: - default: *244 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61420,8 +61746,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: - - *425 - - *426 + - *429 + - *430 responses: '201': description: Response @@ -61429,7 +61755,7 @@ paths: application/json: schema: *68 examples: - default: *245 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61451,8 +61777,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: - - *425 - - *426 + - *429 + - *430 - *64 responses: '200': @@ -61461,7 +61787,7 @@ paths: application/json: schema: *65 examples: - default: *246 + default: *250 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61482,8 +61808,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: - - *425 - - *426 + - *429 + - *430 - *64 responses: '204': @@ -61510,8 +61836,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: - - *425 - - *426 + - *429 + - *430 - *64 responses: '200': *70 @@ -61536,8 +61862,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: - - *425 - - *426 + - *429 + - *430 - *64 requestBody: required: true @@ -61586,8 +61912,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: - - *425 - - *426 + - *429 + - *430 - *64 requestBody: required: true @@ -61637,11 +61963,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: - - *425 - - *426 + - *429 + - *430 - *64 responses: - '200': *247 + '200': *251 '404': *6 x-github: githubCloudOnly: false @@ -61668,10 +61994,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: - - *425 - - *426 + - *429 + - *430 - *64 - - *248 + - *252 responses: '200': *70 '404': *6 @@ -61699,9 +62025,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: - - *425 - - *426 - - &470 + - *429 + - *430 + - &474 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. @@ -61709,7 +62035,7 @@ paths: required: false schema: type: string - - &471 + - &475 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -61717,7 +62043,7 @@ paths: required: false schema: type: string - - &472 + - &476 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -61726,7 +62052,7 @@ paths: required: false schema: type: string - - &473 + - &477 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 @@ -61753,7 +62079,7 @@ paths: - pending - *17 - *19 - - &474 + - &478 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)." @@ -61762,7 +62088,7 @@ paths: schema: type: string format: date-time - - &453 + - &457 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -61771,13 +62097,13 @@ paths: schema: type: boolean default: false - - &475 + - &479 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &476 + - &480 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -61800,7 +62126,7 @@ paths: type: integer workflow_runs: type: array - items: &454 + items: &458 title: Workflow Run description: An invocation of a workflow type: object @@ -61917,7 +62243,7 @@ paths: type: - array - 'null' - items: &495 + items: &499 title: Pull Request Minimal type: object properties: @@ -62044,7 +62370,7 @@ paths: head_commit: anyOf: - type: 'null' - - &499 + - &503 title: Simple Commit description: A commit. type: object @@ -62118,8 +62444,8 @@ paths: - timestamp - author - committer - repository: *240 - head_repository: *240 + repository: *244 + head_repository: *244 head_repository_id: type: integer examples: @@ -62159,7 +62485,7 @@ paths: - workflow_url - pull_requests examples: - default: &477 + default: &481 value: total_count: 1 workflow_runs: @@ -62395,24 +62721,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *425 - - *426 - - &455 + - *429 + - *430 + - &459 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *453 + - *457 responses: '200': description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: &458 + default: &462 value: id: 30433642 name: Build @@ -62653,9 +62979,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '204': description: Response @@ -62678,9 +63004,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '200': description: Response @@ -62808,15 +63134,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '201': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -62843,12 +63169,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 - *17 - *19 - - *456 + - *460 responses: '200': description: Response @@ -62864,9 +63190,9 @@ paths: type: integer artifacts: type: array - items: *442 + items: *446 examples: - default: *457 + default: *461 headers: Link: *41 x-github: @@ -62890,25 +63216,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *425 - - *426 - - *455 - - &459 + - *429 + - *430 + - *459 + - &463 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *453 + - *457 responses: '200': description: Response content: application/json: - schema: *454 + schema: *458 examples: - default: *458 + default: *462 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62931,10 +63257,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: - - *425 - - *426 - - *455 + - *429 + - *430 - *459 + - *463 - *17 - *19 responses: @@ -62952,9 +63278,9 @@ paths: type: integer jobs: type: array - items: *460 + items: *464 examples: - default: &461 + default: &465 value: total_count: 1 jobs: @@ -63067,10 +63393,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *425 - - *426 - - *455 + - *429 + - *430 - *459 + - *463 responses: '302': description: Response @@ -63098,15 +63424,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '202': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -63133,9 +63459,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 requestBody: required: true content: @@ -63202,15 +63528,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '202': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -63237,9 +63563,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 - 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 @@ -63269,9 +63595,9 @@ paths: type: integer jobs: type: array - items: *460 + items: *464 examples: - default: *461 + default: *465 headers: Link: *41 x-github: @@ -63296,9 +63622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '302': description: Response @@ -63325,9 +63651,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '204': description: Response @@ -63354,9 +63680,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '200': description: Response @@ -63425,7 +63751,7 @@ paths: items: type: object properties: - type: &578 + type: &582 type: string description: The type of reviewer. enum: @@ -63436,7 +63762,7 @@ paths: reviewer: anyOf: - *4 - - *267 + - *271 required: - environment - wait_timer @@ -63511,9 +63837,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 requestBody: required: true content: @@ -63563,7 +63889,7 @@ paths: application/json: schema: type: array - items: &564 + items: &568 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -63675,7 +64001,7 @@ paths: - created_at - updated_at examples: - default: &565 + default: &569 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -63731,9 +64057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 requestBody: required: false content: @@ -63755,7 +64081,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -63778,9 +64104,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: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 requestBody: required: false content: @@ -63802,7 +64128,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -63835,9 +64161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *425 - - *426 - - *455 + - *429 + - *430 + - *459 responses: '200': description: Response @@ -63974,8 +64300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -63993,9 +64319,9 @@ paths: type: integer secrets: type: array - items: *462 + items: *466 examples: - default: *463 + default: *467 headers: Link: *41 x-github: @@ -64020,16 +64346,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *464 + schema: *468 examples: - default: *465 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64051,17 +64377,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '200': description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: &591 + default: &595 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -64087,9 +64413,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 requestBody: required: true content: @@ -64120,7 +64446,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -64146,9 +64472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '204': description: Response @@ -64173,9 +64499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *425 - - *426 - - *449 + - *429 + - *430 + - *453 - *19 responses: '200': @@ -64192,9 +64518,9 @@ paths: type: integer variables: type: array - items: *466 + items: *470 examples: - default: *467 + default: *471 headers: Link: *41 x-github: @@ -64217,8 +64543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -64245,7 +64571,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -64270,17 +64596,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *425 - - *426 - - *253 + - *429 + - *430 + - *257 responses: '200': description: Response content: application/json: - schema: *466 + schema: *470 examples: - default: &592 + default: &596 value: name: USERNAME value: octocat @@ -64306,9 +64632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *425 - - *426 - - *253 + - *429 + - *430 + - *257 requestBody: required: true content: @@ -64350,9 +64676,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *425 - - *426 - - *253 + - *429 + - *430 + - *257 responses: '204': description: Response @@ -64377,8 +64703,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -64396,7 +64722,7 @@ paths: type: integer workflows: type: array - items: &468 + items: &472 title: Workflow description: A GitHub Actions workflow type: object @@ -64514,9 +64840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *425 - - *426 - - &469 + - *429 + - *430 + - &473 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -64531,7 +64857,7 @@ paths: description: Response content: application/json: - schema: *468 + schema: *472 examples: default: value: @@ -64564,9 +64890,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *425 - - *426 - - *469 + - *429 + - *430 + - *473 responses: '204': description: Response @@ -64591,9 +64917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *425 - - *426 - - *469 + - *429 + - *430 + - *473 responses: '204': description: Response @@ -64644,9 +64970,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *425 - - *426 - - *469 + - *429 + - *430 + - *473 responses: '204': description: Response @@ -64673,19 +64999,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: - - *425 - - *426 - - *469 - - *470 - - *471 - - *472 + - *429 + - *430 - *473 - - *17 - - *19 - *474 - - *453 - *475 - *476 + - *477 + - *17 + - *19 + - *478 + - *457 + - *479 + - *480 responses: '200': description: Response @@ -64701,9 +65027,9 @@ paths: type: integer workflow_runs: type: array - items: *454 + items: *458 examples: - default: *477 + default: *481 headers: Link: *41 x-github: @@ -64736,9 +65062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *425 - - *426 - - *469 + - *429 + - *430 + - *473 responses: '200': description: Response @@ -64799,8 +65125,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *425 - - *426 + - *429 + - *430 - *99 - *17 - *97 @@ -64968,8 +65294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -64981,7 +65307,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '404': *6 @@ -65006,8 +65332,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: - - *425 - - *426 + - *429 + - *430 - name: assignee in: path required: true @@ -65043,8 +65369,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -65156,8 +65482,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *97 - *98 @@ -65213,7 +65539,7 @@ paths: initiator: type: string examples: - default: *478 + default: *482 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65233,8 +65559,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -65242,7 +65568,7 @@ paths: application/json: schema: type: array - items: &479 + items: &483 title: Autolink reference description: An autolink reference. type: object @@ -65301,8 +65627,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -65341,9 +65667,9 @@ paths: description: response content: application/json: - schema: *479 + schema: *483 examples: - default: &480 + default: &484 value: id: 1 key_prefix: TICKET- @@ -65374,9 +65700,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: - - *425 - - *426 - - &481 + - *429 + - *430 + - &485 name: autolink_id description: The unique identifier of the autolink. in: path @@ -65388,9 +65714,9 @@ paths: description: Response content: application/json: - schema: *479 + schema: *483 examples: - default: *480 + default: *484 '404': *6 x-github: githubCloudOnly: false @@ -65410,9 +65736,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: - - *425 - - *426 - - *481 + - *429 + - *430 + - *485 responses: '204': description: Response @@ -65436,8 +65762,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response if Dependabot is enabled @@ -65487,8 +65813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-dependabot-security-updates parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -65509,8 +65835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-dependabot-security-updates parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -65530,8 +65856,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *425 - - *426 + - *429 + - *430 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -65569,7 +65895,7 @@ paths: - url protected: type: boolean - protection: &483 + protection: &487 title: Branch Protection description: Branch Protection type: object @@ -65612,7 +65938,7 @@ paths: required: - contexts - checks - enforce_admins: &486 + enforce_admins: &490 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -65629,7 +65955,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &488 + required_pull_request_reviews: &492 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -65651,7 +65977,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *267 + items: *271 apps: description: The list of apps with review dismissal access. @@ -65683,7 +66009,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *267 + items: *271 apps: description: The list of apps allowed to bypass pull request requirements. @@ -65713,7 +66039,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &485 + restrictions: &489 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -65776,7 +66102,7 @@ paths: type: string teams: type: array - items: *267 + items: *271 apps: type: array items: @@ -66006,9 +66332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *425 - - *426 - - &484 + - *429 + - *430 + - &488 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). @@ -66022,14 +66348,14 @@ paths: description: Response content: application/json: - schema: &494 + schema: &498 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &541 + commit: &545 title: Commit description: Commit type: object @@ -66068,7 +66394,7 @@ paths: author: anyOf: - type: 'null' - - &482 + - &486 title: Git User description: Metaproperties for Git author/committer information. @@ -66089,7 +66415,7 @@ paths: committer: anyOf: - type: 'null' - - *482 + - *486 message: type: string examples: @@ -66113,7 +66439,7 @@ paths: required: - sha - url - verification: &598 + verification: &602 title: Verification type: object properties: @@ -66149,14 +66475,14 @@ paths: author: oneOf: - *4 - - *251 + - *255 type: - 'null' - object committer: oneOf: - *4 - - *251 + - *255 type: - 'null' - object @@ -66193,7 +66519,7 @@ paths: type: integer files: type: array - items: &552 + items: &556 title: Diff Entry description: Diff Entry type: object @@ -66289,7 +66615,7 @@ paths: - self protected: type: boolean - protection: *483 + protection: *487 protection_url: type: string format: uri @@ -66398,7 +66724,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *439 + '301': *443 '404': *6 x-github: githubCloudOnly: false @@ -66420,15 +66746,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *483 + schema: *487 examples: default: value: @@ -66622,9 +66948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -66884,7 +67210,7 @@ paths: url: type: string format: uri - required_status_checks: &491 + required_status_checks: &495 title: Status Check Policy description: Status Check Policy type: object @@ -66965,7 +67291,7 @@ paths: items: *4 teams: type: array - items: *267 + items: *271 apps: type: array items: *5 @@ -66983,7 +67309,7 @@ paths: items: *4 teams: type: array - items: *267 + items: *271 apps: type: array items: *5 @@ -67043,7 +67369,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *485 + restrictions: *489 required_conversation_resolution: type: object properties: @@ -67155,9 +67481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67182,17 +67508,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: &487 + default: &491 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -67214,17 +67540,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: *487 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67243,9 +67569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67270,17 +67596,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: &489 + default: &493 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -67376,9 +67702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -67476,9 +67802,9 @@ paths: description: Response content: application/json: - schema: *488 + schema: *492 examples: - default: *489 + default: *493 '422': *15 x-github: githubCloudOnly: false @@ -67499,9 +67825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67528,17 +67854,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: &490 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -67561,17 +67887,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *486 + schema: *490 examples: - default: *490 + default: *494 '404': *6 x-github: githubCloudOnly: false @@ -67591,9 +67917,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67618,17 +67944,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *491 + schema: *495 examples: - default: &492 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -67654,9 +67980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -67708,9 +68034,9 @@ paths: description: Response content: application/json: - schema: *491 + schema: *495 examples: - default: *492 + default: *496 '404': *6 '422': *15 x-github: @@ -67732,9 +68058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -67758,9 +68084,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response @@ -67794,9 +68120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -67863,9 +68189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -67929,9 +68255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: content: application/json: @@ -67997,15 +68323,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response content: application/json: - schema: *485 + schema: *489 examples: default: value: @@ -68096,9 +68422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '204': description: Response @@ -68121,9 +68447,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: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response @@ -68133,7 +68459,7 @@ paths: type: array items: *5 examples: - default: &493 + default: &497 value: - id: 1 slug: octoapp @@ -68190,9 +68516,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68226,7 +68552,7 @@ paths: type: array items: *5 examples: - default: *493 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -68247,9 +68573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68283,7 +68609,7 @@ paths: type: array items: *5 examples: - default: *493 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -68304,9 +68630,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68340,7 +68666,7 @@ paths: type: array items: *5 examples: - default: *493 + default: *497 '422': *15 x-github: githubCloudOnly: false @@ -68362,9 +68688,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: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response @@ -68372,9 +68698,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 '404': *6 x-github: githubCloudOnly: false @@ -68394,9 +68720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -68432,9 +68758,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 '422': *15 x-github: githubCloudOnly: false @@ -68455,9 +68781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: false content: @@ -68493,9 +68819,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 '422': *15 x-github: githubCloudOnly: false @@ -68516,9 +68842,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: content: application/json: @@ -68553,9 +68879,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 '422': *15 x-github: githubCloudOnly: false @@ -68577,9 +68903,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: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 responses: '200': description: Response @@ -68589,7 +68915,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '404': *6 x-github: githubCloudOnly: false @@ -68613,9 +68939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68648,7 +68974,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '422': *15 x-github: githubCloudOnly: false @@ -68673,9 +68999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68708,7 +69034,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '422': *15 x-github: githubCloudOnly: false @@ -68733,9 +69059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68768,7 +69094,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '422': *15 x-github: githubCloudOnly: false @@ -68795,9 +69121,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 requestBody: required: true content: @@ -68819,7 +69145,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *498 examples: default: value: @@ -68933,8 +69259,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *425 - - *426 + - *429 + - *430 - *92 - *93 - *94 @@ -68948,9 +69274,9 @@ paths: application/json: schema: type: array - items: *262 + items: *266 examples: - default: *263 + default: *267 '404': *6 '500': *38 "/repos/{owner}/{repo}/bypass-requests/push-rules/{bypass_request_number}": @@ -68970,8 +69296,8 @@ paths: category: repos subcategory: bypass-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: bypass_request_number in: path required: true @@ -68985,7 +69311,7 @@ paths: description: Response content: application/json: - schema: *262 + schema: *266 examples: default: value: @@ -69044,8 +69370,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *425 - - *426 + - *429 + - *430 - *92 - *93 - *94 @@ -69059,9 +69385,9 @@ paths: application/json: schema: type: array - items: *265 + items: *269 examples: - default: *266 + default: *270 '404': *6 '403': *27 '500': *38 @@ -69085,8 +69411,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *425 - - *426 + - *429 + - *430 - name: bypass_request_number in: path required: true @@ -69098,7 +69424,7 @@ paths: description: A single bypass request. content: application/json: - schema: *265 + schema: *269 examples: default: value: @@ -69156,8 +69482,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *425 - - *426 + - *429 + - *430 - name: bypass_request_number in: path required: true @@ -69228,8 +69554,8 @@ paths: category: secret-scanning subcategory: delegated-bypass parameters: - - *425 - - *426 + - *429 + - *430 - name: bypass_response_id in: path required: true @@ -69262,8 +69588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -69542,7 +69868,7 @@ paths: description: Response content: application/json: - schema: &496 + schema: &500 title: CheckRun description: A check performed on the code of a given code change type: object @@ -69677,8 +70003,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *495 - deployment: &814 + items: *499 + deployment: &818 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -69965,9 +70291,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *425 - - *426 - - &497 + - *429 + - *430 + - &501 name: check_run_id description: The unique identifier of the check run. in: path @@ -69979,9 +70305,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *500 examples: - default: &498 + default: &502 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -70081,9 +70407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *425 - - *426 - - *497 + - *429 + - *430 + - *501 requestBody: required: true content: @@ -70323,9 +70649,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *500 examples: - default: *498 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70345,9 +70671,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *425 - - *426 - - *497 + - *429 + - *430 + - *501 - *17 - *19 responses: @@ -70457,15 +70783,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *425 - - *426 - - *497 + - *429 + - *430 + - *501 responses: '201': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -70503,8 +70829,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -70526,7 +70852,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &500 + schema: &504 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -70608,12 +70934,12 @@ paths: type: - array - 'null' - items: *495 + items: *499 app: anyOf: - type: 'null' - *5 - repository: *240 + repository: *244 created_at: type: - string @@ -70624,7 +70950,7 @@ paths: - string - 'null' format: date-time - head_commit: *499 + head_commit: *503 latest_check_runs_count: type: integer check_runs_url: @@ -70652,7 +70978,7 @@ paths: - check_runs_url - pull_requests examples: - default: &501 + default: &505 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -70943,9 +71269,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *500 + schema: *504 examples: - default: *501 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70964,8 +71290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -71026,7 +71352,7 @@ paths: required: - app_id - setting - repository: *240 + repository: *244 examples: default: value: @@ -71274,9 +71600,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *425 - - *426 - - &502 + - *429 + - *430 + - &506 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -71288,9 +71614,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *504 examples: - default: *501 + default: *505 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71313,17 +71639,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: - - *425 - - *426 - - *502 - - &547 + - *429 + - *430 + - *506 + - &551 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &548 + - &552 name: status description: Returns check runs with the specified `status`. in: query @@ -71362,9 +71688,9 @@ paths: type: integer check_runs: type: array - items: *496 + items: *500 examples: - default: &549 + default: &553 value: total_count: 1 check_runs: @@ -71466,15 +71792,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *425 - - *426 - - *502 + - *429 + - *430 + - *506 responses: '201': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -71501,21 +71827,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: - - *425 - - *426 - - *271 - - *272 + - *429 + - *430 + - *275 + - *276 - *19 - *17 - - &518 + - &522 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: *503 - - &519 + schema: *507 + - &523 name: pr description: The number of the pull request for the results you want to list. in: query @@ -71540,13 +71866,13 @@ paths: be returned. in: query required: false - schema: *273 + schema: *277 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *504 + schema: *508 responses: '200': description: Response @@ -71562,7 +71888,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *505 + instances_url: *509 state: *102 fixed_at: *119 dismissed_by: @@ -71570,11 +71896,11 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *506 - dismissed_comment: *507 - rule: *508 - tool: *509 - most_recent_instance: *510 + dismissed_reason: *510 + dismissed_comment: *511 + rule: *512 + tool: *513 + most_recent_instance: *514 dismissal_approved_by: anyOf: - type: 'null' @@ -71697,7 +72023,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &511 + '403': &515 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -71724,9 +72050,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: - - *425 - - *426 - - &512 + - *429 + - *430 + - &516 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -71740,7 +72066,7 @@ paths: description: Response content: application/json: - schema: &513 + schema: &517 type: object properties: number: *109 @@ -71748,7 +72074,7 @@ paths: updated_at: *117 url: *114 html_url: *115 - instances_url: *505 + instances_url: *509 state: *102 fixed_at: *119 dismissed_by: @@ -71756,8 +72082,8 @@ paths: - type: 'null' - *4 dismissed_at: *118 - dismissed_reason: *506 - dismissed_comment: *507 + dismissed_reason: *510 + dismissed_comment: *511 rule: type: object properties: @@ -71819,8 +72145,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *509 - most_recent_instance: *510 + tool: *513 + most_recent_instance: *514 dismissal_approved_by: anyOf: - type: 'null' @@ -71916,7 +72242,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -71936,9 +72262,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 requestBody: required: true content: @@ -71953,8 +72279,8 @@ paths: enum: - open - dismissed - dismissed_reason: *506 - dismissed_comment: *507 + dismissed_reason: *510 + dismissed_comment: *511 create_request: type: boolean description: If `true`, attempt to create an alert dismissal request. @@ -71973,7 +72299,7 @@ paths: description: Response content: application/json: - schema: *513 + schema: *517 examples: default: value: @@ -72049,7 +72375,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '400': *14 - '403': &517 + '403': &521 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -72076,15 +72402,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 responses: '200': description: Response content: application/json: - schema: &514 + schema: &518 type: object properties: status: @@ -72111,13 +72437,13 @@ paths: - description - started_at examples: - default: &515 + default: &519 value: status: success description: This fixes an XSS vulnerability by escaping the user input. started_at: '2024-02-14T12:29:18Z' - '400': &516 + '400': &520 description: Bad Request content: application/json: @@ -72128,7 +72454,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': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -72153,29 +72479,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 responses: '200': description: OK content: application/json: - schema: *514 + schema: *518 examples: - default: *515 + default: *519 '202': description: Accepted content: application/json: - schema: *514 + schema: *518 examples: default: value: status: pending description: started_at: '2024-02-14T12:29:18Z' - '400': *516 + '400': *520 '403': description: Response if the repository is archived, if GitHub Advanced Security is not enabled for this repository or if rate limit is exceeded @@ -72207,9 +72533,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 requestBody: required: false content: @@ -72255,8 +72581,8 @@ paths: value: target_ref: refs/heads/main sha: 178f4f6090b3fccad4a65b3e83d076a622d59652 - '400': *516 - '403': *517 + '400': *520 + '403': *521 '404': *6 '422': description: Unprocessable Entity @@ -72280,13 +72606,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 - *19 - *17 - - *518 - - *519 + - *522 + - *523 responses: '200': description: Response @@ -72294,7 +72620,7 @@ paths: application/json: schema: type: array - items: *510 + items: *514 examples: default: value: @@ -72333,7 +72659,7 @@ paths: end_column: 50 classifications: - source - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -72367,25 +72693,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: - - *425 - - *426 - - *271 - - *272 + - *429 + - *430 + - *275 + - *276 - *19 - *17 - - *519 + - *523 - 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: *503 + schema: *507 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &522 + schema: &526 type: string description: An identifier for the upload. examples: @@ -72407,23 +72733,23 @@ paths: application/json: schema: type: array - items: &523 + items: &527 type: object properties: - ref: *503 - commit_sha: &531 + ref: *507 + commit_sha: &535 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: *520 + analysis_key: *524 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *521 + category: *525 error: type: string examples: @@ -72448,8 +72774,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *522 - tool: *509 + sarif_id: *526 + tool: *513 deletable: type: boolean warning: @@ -72511,7 +72837,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -72547,8 +72873,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: - - *425 - - *426 + - *429 + - *430 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72561,7 +72887,7 @@ paths: description: Response content: application/json: - schema: *523 + schema: *527 examples: response: summary: application/json response @@ -72615,7 +72941,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *511 + '403': *515 '404': *6 '422': description: Response if analysis could not be processed @@ -72702,8 +73028,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: - - *425 - - *426 + - *429 + - *430 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -72759,7 +73085,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': *517 + '403': *521 '404': *6 '503': *163 x-github: @@ -72781,8 +73107,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -72790,7 +73116,7 @@ paths: application/json: schema: type: array - items: &524 + items: &528 title: CodeQL Database description: A CodeQL database. type: object @@ -72902,7 +73228,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': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -72931,8 +73257,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: - - *425 - - *426 + - *429 + - *430 - name: language in: path description: The language of the CodeQL database. @@ -72944,7 +73270,7 @@ paths: description: Response content: application/json: - schema: *524 + schema: *528 examples: default: value: @@ -72976,9 +73302,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': &554 + '302': &558 description: Found - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -73000,8 +73326,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *425 - - *426 + - *429 + - *430 - name: language in: path description: The language of the CodeQL database. @@ -73011,7 +73337,7 @@ paths: responses: '204': description: Response - '403': *517 + '403': *521 '404': *6 '503': *163 x-github: @@ -73039,8 +73365,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -73049,7 +73375,7 @@ paths: type: object additionalProperties: false properties: - language: &525 + language: &529 type: string description: The language targeted by the CodeQL query enum: @@ -73128,7 +73454,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &529 + schema: &533 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -73138,7 +73464,7 @@ paths: description: The ID of the variant analysis. controller_repo: *108 actor: *4 - query_language: *525 + query_language: *529 query_pack_url: type: string description: The download url for the query pack. @@ -73186,7 +73512,7 @@ paths: items: type: object properties: - repository: &526 + repository: &530 title: Repository Identifier description: Repository Identifier type: object @@ -73228,7 +73554,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &530 + analysis_status: &534 type: string description: The new status of the CodeQL variant analysis repository task. @@ -73260,7 +73586,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &527 + access_mismatch_repos: &531 type: object properties: repository_count: @@ -73275,7 +73601,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: *526 + items: *530 required: - repository_count - repositories @@ -73298,8 +73624,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *527 - over_limit_repos: *527 + no_codeql_db_repos: *531 + over_limit_repos: *531 required: - access_mismatch_repos - not_found_repos @@ -73315,7 +73641,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &528 + value: &532 summary: Default response value: id: 1 @@ -73467,10 +73793,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *528 + value: *532 repository_lists: summary: Response for a successful variant analysis submission - value: *528 + value: *532 '404': *6 '422': description: Unable to process variant analysis submission @@ -73498,8 +73824,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: - - *425 - - *426 + - *429 + - *430 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -73511,9 +73837,9 @@ paths: description: Response content: application/json: - schema: *529 + schema: *533 examples: - default: *528 + default: *532 '404': *6 '503': *163 x-github: @@ -73536,7 +73862,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: - - *425 + - *429 - name: repo in: path description: The name of the controller repository. @@ -73571,7 +73897,7 @@ paths: type: object properties: repository: *108 - analysis_status: *530 + analysis_status: *534 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -73696,8 +74022,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -73790,7 +74116,7 @@ paths: threat_model: remote updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *511 + '403': *515 '404': *6 '503': *163 x-github: @@ -73811,8 +74137,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -73881,7 +74207,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -73906,7 +74232,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *517 + '403': *521 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -73977,8 +74303,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -73986,7 +74312,7 @@ paths: schema: type: object properties: - commit_sha: *531 + commit_sha: *535 ref: type: string description: |- @@ -74046,7 +74372,7 @@ paths: schema: type: object properties: - id: *522 + id: *526 url: type: string description: The REST API URL for checking the status of the upload. @@ -74060,7 +74386,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': *517 + '403': *521 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -74083,8 +74409,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: - - *425 - - *426 + - *429 + - *430 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -74132,7 +74458,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': *511 + '403': *515 '404': description: Not Found if the sarif id does not match any upload '503': *163 @@ -74157,8 +74483,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -74239,8 +74565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *425 - - *426 + - *429 + - *430 - 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 @@ -74368,8 +74694,8 @@ paths: parameters: - *17 - *19 - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -74385,7 +74711,7 @@ paths: type: integer codespaces: type: array - items: *331 + items: *335 examples: default: value: @@ -74683,8 +75009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -74748,17 +75074,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '400': *14 '401': *23 '403': *27 @@ -74787,8 +75113,8 @@ paths: parameters: - *17 - *19 - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -74852,8 +75178,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: - - *425 - - *426 + - *429 + - *430 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -74890,9 +75216,9 @@ paths: type: integer machines: type: array - items: *533 + items: *537 examples: - default: &767 + default: &771 value: total_count: 2 machines: @@ -74932,8 +75258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *425 - - *426 + - *429 + - *430 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -75020,8 +75346,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: - - *425 - - *426 + - *429 + - *430 - 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 @@ -75090,8 +75416,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -75109,7 +75435,7 @@ paths: type: integer secrets: type: array - items: &537 + items: &541 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -75130,7 +75456,7 @@ paths: - created_at - updated_at examples: - default: *534 + default: *538 headers: Link: *41 x-github: @@ -75153,16 +75479,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *535 + schema: *539 examples: - default: *536 + default: *540 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -75182,17 +75508,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '200': description: Response content: application/json: - schema: *537 + schema: *541 examples: - default: *538 + default: *542 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75212,9 +75538,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: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 requestBody: required: true content: @@ -75242,7 +75568,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -75266,9 +75592,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '204': description: Response @@ -75296,8 +75622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *425 - - *426 + - *429 + - *430 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -75335,7 +75661,7 @@ paths: application/json: schema: type: array - items: &539 + items: &543 title: Collaborator description: Collaborator type: object @@ -75528,9 +75854,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: - - *425 - - *426 - - *176 + - *429 + - *430 + - *178 responses: '204': description: Response if user is a collaborator @@ -75576,9 +75902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *425 - - *426 - - *176 + - *429 + - *430 + - *178 requestBody: required: false content: @@ -75604,7 +75930,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &611 + schema: &615 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -75616,7 +75942,7 @@ paths: format: int64 examples: - 42 - repository: *240 + repository: *244 invitee: anyOf: - type: 'null' @@ -75792,7 +76118,7 @@ paths: - an Enterprise Managed User (EMU) account was invited to a repository in an enterprise with personal user accounts content: application/json: - schema: *217 + schema: *221 '403': *27 x-github: triggersNotification: true @@ -75832,9 +76158,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *425 - - *426 - - *176 + - *429 + - *430 + - *178 responses: '204': description: No Content when collaborator was removed from the repository. @@ -75865,9 +76191,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *425 - - *426 - - *176 + - *429 + - *430 + - *178 responses: '200': description: if user has admin permissions @@ -75887,7 +76213,7 @@ paths: user: anyOf: - type: 'null' - - *539 + - *543 required: - permission - role_name @@ -75941,8 +76267,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -75952,7 +76278,7 @@ paths: application/json: schema: type: array - items: &540 + items: &544 title: Commit Comment description: Commit Comment type: object @@ -75993,8 +76319,8 @@ paths: updated_at: type: string format: date-time - author_association: *180 - reactions: *181 + author_association: *182 + reactions: *183 required: - url - html_url @@ -76010,7 +76336,7 @@ paths: - created_at - updated_at examples: - default: &543 + default: &547 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76069,17 +76395,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '200': description: Response content: application/json: - schema: *540 + schema: *544 examples: - default: &544 + default: &548 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76136,9 +76462,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -76160,7 +76486,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: default: value: @@ -76211,9 +76537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '204': description: Response @@ -76234,9 +76560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 - 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. @@ -76262,9 +76588,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 @@ -76285,9 +76611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -76319,16 +76645,16 @@ paths: description: Reaction exists content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Reaction created content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -76350,10 +76676,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *425 - - *426 - - *192 - - *417 + - *429 + - *430 + - *194 + - *421 responses: '204': description: Response @@ -76402,8 +76728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *425 - - *426 + - *429 + - *430 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -76459,9 +76785,9 @@ paths: application/json: schema: type: array - items: *541 + items: *545 examples: - default: &658 + default: &662 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -76555,9 +76881,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *425 - - *426 - - &542 + - *429 + - *430 + - &546 name: commit_sha description: The SHA of the commit. in: path @@ -76629,9 +76955,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *425 - - *426 - - *542 + - *429 + - *430 + - *546 - *17 - *19 responses: @@ -76641,9 +76967,9 @@ paths: application/json: schema: type: array - items: *540 + items: *544 examples: - default: *543 + default: *547 headers: Link: *41 x-github: @@ -76671,9 +76997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *425 - - *426 - - *542 + - *429 + - *430 + - *546 requestBody: required: true content: @@ -76708,9 +77034,9 @@ paths: description: Response content: application/json: - schema: *540 + schema: *544 examples: - default: *544 + default: *548 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -76738,9 +77064,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: - - *425 - - *426 - - *542 + - *429 + - *430 + - *546 - *17 - *19 responses: @@ -76750,9 +77076,9 @@ paths: application/json: schema: type: array - items: *545 + items: *549 examples: - default: &650 + default: &654 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -77289,11 +77615,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *425 - - *426 + - *429 + - *430 - *19 - *17 - - &546 + - &550 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)" @@ -77308,9 +77634,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *545 examples: - default: &638 + default: &642 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -77423,11 +77749,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: - - *425 - - *426 - - *546 - - *547 - - *548 + - *429 + - *430 + - *550 + - *551 + - *552 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -77461,9 +77787,9 @@ paths: type: integer check_runs: type: array - items: *496 + items: *500 examples: - default: *549 + default: *553 headers: Link: *41 x-github: @@ -77488,9 +77814,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: - - *425 - - *426 - - *546 + - *429 + - *430 + - *550 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -77498,7 +77824,7 @@ paths: schema: type: integer example: 1 - - *547 + - *551 - *17 - *19 responses: @@ -77516,7 +77842,7 @@ paths: type: integer check_suites: type: array - items: *500 + items: *504 examples: default: value: @@ -77716,9 +78042,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: - - *425 - - *426 - - *546 + - *429 + - *430 + - *550 - *17 - *19 responses: @@ -77789,7 +78115,7 @@ paths: type: string total_count: type: integer - repository: *240 + repository: *244 commit_url: type: string format: uri @@ -77920,9 +78246,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *425 - - *426 - - *546 + - *429 + - *430 + - *550 - *17 - *19 responses: @@ -77932,7 +78258,7 @@ paths: application/json: schema: type: array - items: &712 + items: &716 title: Status description: The status of a commit. type: object @@ -78013,7 +78339,7 @@ paths: site_admin: false headers: Link: *41 - '301': *439 + '301': *443 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78041,8 +78367,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -78075,11 +78401,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *550 + - *554 code_of_conduct_file: anyOf: - type: 'null' - - &551 + - &555 title: Community Health File type: object properties: @@ -78095,23 +78421,23 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 contributing: anyOf: - type: 'null' - - *551 + - *555 readme: anyOf: - type: 'null' - - *551 + - *555 issue_template: anyOf: - type: 'null' - - *551 + - *555 pull_request_template: anyOf: - type: 'null' - - *551 + - *555 required: - code_of_conduct - code_of_conduct_file @@ -78240,8 +78566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *425 - - *426 + - *429 + - *430 - *19 - *17 - name: basehead @@ -78289,8 +78615,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *541 - merge_base_commit: *541 + base_commit: *545 + merge_base_commit: *545 status: type: string enum: @@ -78314,10 +78640,10 @@ paths: - 6 commits: type: array - items: *541 + items: *545 files: type: array - items: *552 + items: *556 required: - url - html_url @@ -78603,8 +78929,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *425 - - *426 + - *429 + - *430 - name: path description: path parameter in: path @@ -78757,7 +79083,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &553 + response-if-content-is-a-file: &557 summary: Response if content is a file value: type: file @@ -78894,7 +79220,7 @@ paths: - size - type - url - - &663 + - &667 title: Content File description: Content File type: object @@ -79112,7 +79438,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *553 + response-if-content-is-a-file: *557 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -79181,7 +79507,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *554 + '302': *558 '304': *35 x-github: githubCloudOnly: false @@ -79204,8 +79530,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *425 - - *426 + - *429 + - *430 - name: path description: path parameter in: path @@ -79300,7 +79626,7 @@ paths: description: Response content: application/json: - schema: &555 + schema: &559 title: File Commit description: File Commit type: object @@ -79456,7 +79782,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: example-for-creating-a-file: value: @@ -79510,7 +79836,7 @@ paths: schema: oneOf: - *3 - - &593 + - &597 description: Repository rule violation was detected type: object properties: @@ -79531,7 +79857,7 @@ paths: items: type: object properties: - placeholder_id: &704 + placeholder_id: &708 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -79563,8 +79889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *425 - - *426 + - *429 + - *430 - name: path description: path parameter in: path @@ -79625,7 +79951,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *559 examples: default: value: @@ -79680,8 +80006,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *425 - - *426 + - *429 + - *430 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -79805,22 +80131,22 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *425 - - *426 - - *288 - - *289 - - *290 - - *291 + - *429 + - *430 + - *292 + - *293 + - *294 + - *295 - 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 - - *292 - - *293 - - *294 - - *295 + - *296 + - *297 + - *298 + - *299 - *99 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -79840,8 +80166,8 @@ paths: default: 30 - *97 - *98 - - *296 - - *297 + - *300 + - *301 responses: '200': description: Response @@ -79849,7 +80175,7 @@ paths: application/json: schema: type: array - items: &558 + items: &562 type: object description: A Dependabot alert. properties: @@ -79899,7 +80225,7 @@ paths: - direct - transitive - - security_advisory: *556 + security_advisory: *560 security_vulnerability: *113 url: *114 html_url: *115 @@ -79930,7 +80256,7 @@ paths: dismissal. maxLength: 280 fixed_at: *119 - auto_dismissed_at: *557 + auto_dismissed_at: *561 required: - number - state @@ -80160,9 +80486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *425 - - *426 - - &559 + - *429 + - *430 + - &563 name: alert_number in: path description: |- @@ -80177,7 +80503,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *562 examples: default: value: @@ -80290,9 +80616,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *425 - - *426 - - *559 + - *429 + - *430 + - *563 requestBody: required: true content: @@ -80337,7 +80663,7 @@ paths: description: Response content: application/json: - schema: *558 + schema: *562 examples: default: value: @@ -80466,8 +80792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -80485,7 +80811,7 @@ paths: type: integer secrets: type: array - items: &562 + items: &566 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -80539,16 +80865,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *560 + schema: *564 examples: - default: *561 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80568,15 +80894,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '200': description: Response content: application/json: - schema: *562 + schema: *566 examples: default: value: @@ -80602,9 +80928,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 requestBody: required: true content: @@ -80632,7 +80958,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -80656,9 +80982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *425 - - *426 - - *250 + - *429 + - *430 + - *254 responses: '204': description: Response @@ -80680,8 +81006,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: - - *425 - - *426 + - *429 + - *430 - 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 @@ -80855,8 +81181,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -81116,8 +81442,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -81200,7 +81526,7 @@ paths: - version - url additionalProperties: false - metadata: &563 + metadata: &567 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81239,7 +81565,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *563 + metadata: *567 resolved: type: object description: A collection of resolved package dependencies. @@ -81253,7 +81579,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *563 + metadata: *567 relationship: type: string description: A notation of whether a dependency is requested @@ -81386,8 +81712,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *425 - - *426 + - *429 + - *430 - name: sha description: The SHA recorded at creation time. in: query @@ -81428,9 +81754,9 @@ paths: application/json: schema: type: array - items: *564 + items: *568 examples: - default: *565 + default: *569 headers: Link: *41 x-github: @@ -81496,8 +81822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -81579,7 +81905,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: simple-example: summary: Simple example @@ -81652,9 +81978,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *425 - - *426 - - &566 + - *429 + - *430 + - &570 name: deployment_id description: deployment_id parameter in: path @@ -81666,7 +81992,7 @@ paths: description: Response content: application/json: - schema: *564 + schema: *568 examples: default: value: @@ -81731,9 +82057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *425 - - *426 - - *566 + - *429 + - *430 + - *570 responses: '204': description: Response @@ -81755,9 +82081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *425 - - *426 - - *566 + - *429 + - *430 + - *570 - *17 - *19 responses: @@ -81767,7 +82093,7 @@ paths: application/json: schema: type: array - items: &567 + items: &571 title: Deployment Status description: The status of a deployment. type: object @@ -81931,9 +82257,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *425 - - *426 - - *566 + - *429 + - *430 + - *570 requestBody: required: true content: @@ -82008,9 +82334,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *571 examples: - default: &568 + default: &572 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -82066,9 +82392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *425 - - *426 - - *566 + - *429 + - *430 + - *570 - name: status_id in: path required: true @@ -82079,9 +82405,9 @@ paths: description: Response content: application/json: - schema: *567 + schema: *571 examples: - default: *568 + default: *572 '404': *6 x-github: githubCloudOnly: false @@ -82108,12 +82434,12 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 - - *569 - - *570 - - *571 - - *572 + - *429 + - *430 + - *573 + - *574 + - *575 + - *576 - *17 - *19 responses: @@ -82123,9 +82449,9 @@ paths: application/json: schema: type: array - items: *573 + items: *577 examples: - default: *574 + default: *578 '404': *6 '403': *27 '500': *38 @@ -82149,8 +82475,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: alert_number in: path required: true @@ -82162,7 +82488,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *573 + schema: *577 examples: default: value: @@ -82218,8 +82544,8 @@ paths: category: code-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: alert_number in: path required: true @@ -82278,12 +82604,12 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - *92 - *93 - *94 - - *575 + - *579 - *17 - *19 responses: @@ -82293,9 +82619,9 @@ paths: application/json: schema: type: array - items: *576 + items: *580 examples: - default: *577 + default: *581 '404': *6 '403': *27 '500': *38 @@ -82320,8 +82646,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: alert_number in: path required: true @@ -82333,7 +82659,7 @@ paths: description: A single dismissal request. content: application/json: - schema: *576 + schema: *580 examples: default: value: @@ -82391,8 +82717,8 @@ paths: category: secret-scanning subcategory: alert-dismissal-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: alert_number in: path required: true @@ -82461,8 +82787,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -82519,8 +82845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -82538,7 +82864,7 @@ paths: - 5 environments: type: array - items: &579 + items: &583 title: Environment description: Details of a deployment environment type: object @@ -82600,7 +82926,7 @@ paths: type: string examples: - wait_timer - wait_timer: &581 + wait_timer: &585 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -82642,11 +82968,11 @@ paths: items: type: object properties: - type: *578 + type: *582 reviewer: anyOf: - *4 - - *267 + - *271 required: - id - node_id @@ -82669,7 +82995,7 @@ paths: - id - node_id - type - deployment_branch_policy: &582 + deployment_branch_policy: &586 type: - object - 'null' @@ -82786,9 +83112,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *425 - - *426 - - &580 + - *429 + - *430 + - &584 name: environment_name in: path required: true @@ -82801,9 +83127,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: &583 + default: &587 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -82887,9 +83213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 requestBody: required: false content: @@ -82899,7 +83225,7 @@ paths: - object - 'null' properties: - wait_timer: *581 + wait_timer: *585 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -82918,14 +83244,14 @@ paths: items: type: object properties: - type: *578 + type: *582 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *582 + deployment_branch_policy: *586 additionalProperties: false examples: default: @@ -82945,9 +83271,9 @@ paths: description: Response content: application/json: - schema: *579 + schema: *583 examples: - default: *583 + default: *587 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -82971,9 +83297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 responses: '204': description: Default response @@ -82998,9 +83324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 - *17 - *19 responses: @@ -83019,7 +83345,7 @@ paths: - 2 branch_policies: type: array - items: &584 + items: &588 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -83080,9 +83406,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 requestBody: required: true content: @@ -83130,9 +83456,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - example-wildcard: &585 + example-wildcard: &589 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -83174,10 +83500,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *425 - - *426 - - *580 - - &586 + - *429 + - *430 + - *584 + - &590 name: branch_policy_id in: path required: true @@ -83189,9 +83515,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: *585 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83210,10 +83536,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *425 - - *426 - - *580 - - *586 + - *429 + - *430 + - *584 + - *590 requestBody: required: true content: @@ -83242,9 +83568,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *588 examples: - default: *585 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83263,10 +83589,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *425 - - *426 - - *580 - - *586 + - *429 + - *430 + - *584 + - *590 responses: '204': description: Response @@ -83291,9 +83617,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: - - *580 - - *426 - - *425 + - *584 + - *430 + - *429 responses: '200': description: List of deployment protection rules @@ -83310,7 +83636,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &587 + items: &591 title: Deployment protection rule description: Deployment protection rule type: object @@ -83332,7 +83658,7 @@ paths: for the environment. examples: - true - app: &588 + app: &592 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -83435,9 +83761,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: - - *580 - - *426 - - *425 + - *584 + - *430 + - *429 requestBody: content: application/json: @@ -83458,9 +83784,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *587 + schema: *591 examples: - default: &589 + default: &593 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -83495,9 +83821,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: - - *580 - - *426 - - *425 + - *584 + - *430 + - *429 - *19 - *17 responses: @@ -83517,7 +83843,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *588 + items: *592 examples: default: value: @@ -83552,10 +83878,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: - - *425 - - *426 - - *580 - - &590 + - *429 + - *430 + - *584 + - &594 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -83567,9 +83893,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *591 examples: - default: *589 + default: *593 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83590,10 +83916,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: - - *580 - - *426 - - *425 - - *590 + - *584 + - *430 + - *429 + - *594 responses: '204': description: Response @@ -83619,9 +83945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 - *17 - *19 responses: @@ -83639,9 +83965,9 @@ paths: type: integer secrets: type: array - items: *462 + items: *466 examples: - default: *463 + default: *467 headers: Link: *41 x-github: @@ -83666,17 +83992,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 responses: '200': description: Response content: application/json: - schema: *464 + schema: *468 examples: - default: *465 + default: *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83698,18 +84024,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *425 - - *426 - - *580 - - *250 + - *429 + - *430 + - *584 + - *254 responses: '200': description: Response content: application/json: - schema: *462 + schema: *466 examples: - default: *591 + default: *595 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83731,10 +84057,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *425 - - *426 - - *580 - - *250 + - *429 + - *430 + - *584 + - *254 requestBody: required: true content: @@ -83765,7 +84091,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -83791,10 +84117,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *425 - - *426 - - *580 - - *250 + - *429 + - *430 + - *584 + - *254 responses: '204': description: Default response @@ -83819,10 +84145,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *425 - - *426 - - *580 - - *449 + - *429 + - *430 + - *584 + - *453 - *19 responses: '200': @@ -83839,9 +84165,9 @@ paths: type: integer variables: type: array - items: *466 + items: *470 examples: - default: *467 + default: *471 headers: Link: *41 x-github: @@ -83864,9 +84190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *425 - - *426 - - *580 + - *429 + - *430 + - *584 requestBody: required: true content: @@ -83893,7 +84219,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -83918,18 +84244,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *425 - - *426 - - *580 - - *253 + - *429 + - *430 + - *584 + - *257 responses: '200': description: Response content: application/json: - schema: *466 + schema: *470 examples: - default: *592 + default: *596 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83950,10 +84276,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *425 - - *426 - - *253 - - *580 + - *429 + - *430 + - *257 + - *584 requestBody: required: true content: @@ -83995,10 +84321,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *425 - - *426 - - *253 - - *580 + - *429 + - *430 + - *257 + - *584 responses: '204': description: Response @@ -84020,8 +84346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -84031,7 +84357,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: 200-response: value: @@ -84098,8 +84424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *425 - - *426 + - *429 + - *430 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -84121,7 +84447,7 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: default: value: @@ -84258,8 +84584,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -84292,9 +84618,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 + default: *444 '400': *14 '422': *15 '403': *27 @@ -84315,8 +84641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -84375,8 +84701,8 @@ paths: application/json: schema: oneOf: - - *217 - - *593 + - *221 + - *597 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84401,8 +84727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *425 - - *426 + - *429 + - *430 - name: file_sha in: path required: true @@ -84502,8 +84828,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -84612,7 +84938,7 @@ paths: description: Response content: application/json: - schema: &594 + schema: &598 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -84839,15 +85165,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *425 - - *426 - - *542 + - *429 + - *430 + - *546 responses: '200': description: Response content: application/json: - schema: *594 + schema: *598 examples: default: value: @@ -84903,9 +85229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *425 - - *426 - - &595 + - *429 + - *430 + - &599 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. @@ -84922,7 +85248,7 @@ paths: application/json: schema: type: array - items: &596 + items: &600 title: Git Reference description: Git references within a repository type: object @@ -84998,17 +85324,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *425 - - *426 - - *595 + - *429 + - *430 + - *599 responses: '200': description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: &597 + default: &601 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -85037,8 +85363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -85067,9 +85393,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: *597 + default: *601 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -85095,9 +85421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *425 - - *426 - - *595 + - *429 + - *430 + - *599 requestBody: required: true content: @@ -85126,9 +85452,9 @@ paths: description: Response content: application/json: - schema: *596 + schema: *600 examples: - default: *597 + default: *601 '422': *15 '409': *107 x-github: @@ -85146,9 +85472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *425 - - *426 - - *595 + - *429 + - *430 + - *599 responses: '204': description: Response @@ -85203,8 +85529,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -85271,7 +85597,7 @@ paths: description: Response content: application/json: - schema: &599 + schema: &603 title: Git Tag description: Metadata for a Git tag type: object @@ -85327,7 +85653,7 @@ paths: - sha - type - url - verification: *598 + verification: *602 required: - sha - url @@ -85337,7 +85663,7 @@ paths: - tag - message examples: - default: &600 + default: &604 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -85410,8 +85736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *425 - - *426 + - *429 + - *430 - name: tag_sha in: path required: true @@ -85422,9 +85748,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *603 examples: - default: *600 + default: *604 '404': *6 '409': *107 x-github: @@ -85448,8 +85774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -85523,7 +85849,7 @@ paths: description: Response content: application/json: - schema: &601 + schema: &605 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -85625,8 +85951,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *425 - - *426 + - *429 + - *430 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -85649,7 +85975,7 @@ paths: description: Response content: application/json: - schema: *601 + schema: *605 examples: default-response: summary: Default response @@ -85708,8 +86034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -85719,7 +86045,7 @@ paths: application/json: schema: type: array - items: &602 + items: &606 title: Webhook description: Webhooks for repositories. type: object @@ -85782,7 +86108,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &845 + last_response: &849 title: Hook Response type: object properties: @@ -85859,8 +86185,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -85913,9 +86239,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: &603 + default: &607 value: type: Repository id: 12345678 @@ -85963,17 +86289,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '200': description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '404': *6 x-github: githubCloudOnly: false @@ -85993,9 +86319,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 requestBody: required: true content: @@ -86040,9 +86366,9 @@ paths: description: Response content: application/json: - schema: *602 + schema: *606 examples: - default: *603 + default: *607 '422': *15 '404': *6 x-github: @@ -86063,9 +86389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '204': description: Response @@ -86089,9 +86415,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: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '200': description: Response @@ -86118,9 +86444,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: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 requestBody: required: false content: @@ -86164,11 +86490,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 - *17 - - *304 + - *308 responses: '200': description: Response @@ -86176,9 +86502,9 @@ paths: application/json: schema: type: array - items: *305 + items: *309 examples: - default: *306 + default: *310 '400': *14 '422': *15 x-github: @@ -86197,18 +86523,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: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 - *16 responses: '200': description: Response content: application/json: - schema: *307 + schema: *311 examples: - default: *308 + default: *312 '400': *14 '422': *15 x-github: @@ -86227,9 +86553,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: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 - *16 responses: '202': *37 @@ -86252,9 +86578,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '204': description: Response @@ -86279,9 +86605,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *425 - - *426 - - *303 + - *429 + - *430 + - *307 responses: '204': description: Response @@ -86339,14 +86665,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: &604 + schema: &608 title: Import description: A repository import from an external source. type: object @@ -86453,7 +86779,7 @@ paths: - html_url - authors_url examples: - default: &607 + default: &611 value: vcs: subversion use_lfs: true @@ -86469,7 +86795,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': &605 + '503': &609 description: Unavailable due to service under maintenance. content: application/json: @@ -86498,8 +86824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -86547,7 +86873,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *608 examples: default: value: @@ -86572,7 +86898,7 @@ paths: type: string '422': *15 '404': *6 - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86600,8 +86926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -86653,7 +86979,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *608 examples: example-1: summary: Example 1 @@ -86701,7 +87027,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': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86724,12 +87050,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86755,9 +87081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *425 - - *426 - - &789 + - *429 + - *430 + - &793 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -86771,7 +87097,7 @@ paths: application/json: schema: type: array - items: &606 + items: &610 title: Porter Author description: Porter Author type: object @@ -86825,7 +87151,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': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86850,8 +87176,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *425 - - *426 + - *429 + - *430 - name: author_id in: path required: true @@ -86881,7 +87207,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *610 examples: default: value: @@ -86894,7 +87220,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86918,8 +87244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -86960,7 +87286,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86988,8 +87314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -87016,11 +87342,11 @@ paths: description: Response content: application/json: - schema: *604 + schema: *608 examples: - default: *607 + default: *611 '422': *15 - '503': *605 + '503': *609 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87043,8 +87369,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -87052,8 +87378,8 @@ paths: application/json: schema: *20 examples: - default: *608 - '301': *439 + default: *612 + '301': *443 '404': *6 x-github: githubCloudOnly: false @@ -87073,8 +87399,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -87082,12 +87408,12 @@ paths: application/json: schema: anyOf: - - *321 + - *325 - type: object properties: {} additionalProperties: false examples: - default: &610 + default: &614 value: limit: collaborators_only origin: repository @@ -87112,13 +87438,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: application/json: - schema: *609 + schema: *613 examples: default: summary: Example request body @@ -87130,9 +87456,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *325 examples: - default: *610 + default: *614 '409': description: Response x-github: @@ -87154,8 +87480,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -87178,8 +87504,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -87189,9 +87515,9 @@ paths: application/json: schema: type: array - items: *611 + items: *615 examples: - default: &782 + default: &786 value: - id: 1 repository: @@ -87322,9 +87648,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *425 - - *426 - - *325 + - *429 + - *430 + - *329 requestBody: required: false content: @@ -87353,7 +87679,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *615 examples: default: value: @@ -87484,9 +87810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *425 - - *426 - - *325 + - *429 + - *430 + - *329 responses: '204': description: Response @@ -87517,8 +87843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *425 - - *426 + - *429 + - *430 - 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 @@ -87566,7 +87892,7 @@ paths: required: false schema: type: string - - *329 + - *333 - name: sort description: What to sort results by. in: query @@ -87579,7 +87905,7 @@ paths: - comments default: created - *99 - - *183 + - *185 - *17 - *19 responses: @@ -87589,9 +87915,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: &618 + default: &622 value: - id: 1 node_id: MDU6SXNzdWUx @@ -87739,7 +88065,7 @@ paths: state_reason: completed headers: Link: *41 - '301': *439 + '301': *443 '422': *15 '404': *6 x-github: @@ -87768,8 +88094,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -87859,9 +88185,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: &615 + default: &619 value: id: 1 node_id: MDU6SXNzdWUx @@ -88017,7 +88343,7 @@ paths: '422': *15 '503': *163 '404': *6 - '410': *436 + '410': *440 x-github: triggersNotification: true githubCloudOnly: false @@ -88045,9 +88371,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *425 - - *426 - - *202 + - *429 + - *430 + - *204 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -88057,7 +88383,7 @@ paths: enum: - asc - desc - - *183 + - *185 - *17 - *19 responses: @@ -88067,9 +88393,9 @@ paths: application/json: schema: type: array - items: *612 + items: *616 examples: - default: &617 + default: &621 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88127,17 +88453,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '200': description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: &613 + default: &617 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -88191,9 +88517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -88215,9 +88541,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *613 + default: *617 '422': *15 x-github: githubCloudOnly: false @@ -88235,9 +88561,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '204': description: Response @@ -88257,9 +88583,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 - 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. @@ -88285,9 +88611,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 @@ -88308,9 +88634,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -88342,16 +88668,16 @@ paths: description: Reaction exists content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Reaction created content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -88373,10 +88699,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *425 - - *426 - - *192 - - *417 + - *429 + - *430 + - *194 + - *421 responses: '204': description: Response @@ -88396,8 +88722,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -88407,7 +88733,7 @@ paths: application/json: schema: type: array - items: &614 + items: &618 title: Issue Event description: Issue Event type: object @@ -88454,7 +88780,7 @@ paths: issue: anyOf: - type: 'null' - - *193 + - *195 label: title: Issue Event Label description: Issue Event Label @@ -88487,7 +88813,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *267 + requested_team: *271 dismissed_review: title: Issue Event Dismissed Review type: object @@ -88554,7 +88880,7 @@ paths: required: - from - to - author_association: *180 + author_association: *182 lock_reason: type: - string @@ -88746,8 +89072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *425 - - *426 + - *429 + - *430 - name: event_id in: path required: true @@ -88758,7 +89084,7 @@ paths: description: Response content: application/json: - schema: *614 + schema: *618 examples: default: value: @@ -88951,7 +89277,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *436 + '410': *440 '403': *27 x-github: githubCloudOnly: false @@ -88985,9 +89311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *425 - - *426 - - &616 + - *429 + - *430 + - &620 name: issue_number description: The number that identifies the issue. in: path @@ -88999,12 +89325,12 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 - '301': *439 + default: *619 + '301': *443 '404': *6 - '410': *436 + '410': *440 '304': *35 x-github: githubCloudOnly: false @@ -89029,9 +89355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -89150,15 +89476,15 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 '422': *15 '503': *163 '403': *27 - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89176,9 +89502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -89204,9 +89530,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89222,9 +89548,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: content: application/json: @@ -89249,9 +89575,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89273,9 +89599,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: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - name: assignee in: path required: true @@ -89315,10 +89641,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *425 - - *426 - - *616 - - *183 + - *429 + - *430 + - *620 + - *185 - *17 - *19 responses: @@ -89328,13 +89654,13 @@ paths: application/json: schema: type: array - items: *612 + items: *616 examples: - default: *617 + default: *621 headers: Link: *41 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89363,9 +89689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -89387,16 +89713,16 @@ paths: description: Response content: application/json: - schema: *612 + schema: *616 examples: - default: *613 + default: *617 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *436 + '410': *440 '422': *15 '404': *6 x-github: @@ -89424,9 +89750,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocked-by parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -89436,14 +89762,14 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *618 + default: *622 headers: Link: *41 - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89471,9 +89797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#add-a-dependency-an-issue-is-blocked-by parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -89495,17 +89821,17 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/dependencies/blocked_by schema: type: string - '301': *439 + '301': *443 '403': *27 - '410': *436 + '410': *440 '422': *15 '404': *6 x-github: @@ -89536,9 +89862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#remove-dependency-an-issue-is-blocked-by parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - name: issue_id in: path description: The id of the blocking issue to remove as a dependency @@ -89550,15 +89876,15 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 - '301': *439 + default: *619 + '301': *443 '400': *14 '401': *23 '403': *27 '404': *6 - '410': *436 + '410': *440 x-github: triggersNotification: true githubCloudOnly: false @@ -89584,9 +89910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issue-dependencies#list-dependencies-an-issue-is-blocking parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -89596,14 +89922,14 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *618 + default: *622 headers: Link: *41 - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89620,9 +89946,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -89636,7 +89962,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &621 + - &625 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -89685,7 +90011,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &622 + - &626 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -89813,7 +90139,7 @@ paths: - performed_via_github_app - assignee - assigner - - &623 + - &627 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -89859,7 +90185,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &624 + - &628 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -89905,7 +90231,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &625 + - &629 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -89954,7 +90280,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &626 + - &630 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -89983,7 +90309,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *267 + requested_team: *271 requested_reviewer: *4 required: - review_requester @@ -89996,7 +90322,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &627 + - &631 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -90025,7 +90351,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *267 + requested_team: *271 requested_reviewer: *4 required: - review_requester @@ -90038,7 +90364,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &628 + - &632 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -90094,7 +90420,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &629 + - &633 title: Locked Issue Event description: Locked Issue Event type: object @@ -90139,7 +90465,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &630 + - &634 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -90200,7 +90526,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &631 + - &635 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -90261,7 +90587,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &632 + - &636 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -90322,7 +90648,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &633 + - &637 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -90415,7 +90741,7 @@ paths: color: red headers: Link: *41 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90432,9 +90758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -90444,7 +90770,7 @@ paths: application/json: schema: type: array - items: &619 + items: &623 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -90499,7 +90825,7 @@ paths: - color - default examples: - default: &620 + default: &624 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -90517,9 +90843,9 @@ paths: default: false headers: Link: *41 - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90536,9 +90862,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -90597,12 +90923,12 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: - default: *620 - '301': *439 + default: *624 + '301': *443 '404': *6 - '410': *436 + '410': *440 '422': *15 x-github: githubCloudOnly: false @@ -90619,9 +90945,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -90681,12 +91007,12 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: - default: *620 - '301': *439 + default: *624 + '301': *443 '404': *6 - '410': *436 + '410': *440 '422': *15 x-github: githubCloudOnly: false @@ -90703,15 +91029,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 responses: '204': description: Response - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90730,9 +91056,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - name: name in: path required: true @@ -90745,7 +91071,7 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: default: value: @@ -90756,9 +91082,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *439 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90778,9 +91104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: false content: @@ -90809,7 +91135,7 @@ paths: '204': description: Response '403': *27 - '410': *436 + '410': *440 '404': *6 '422': *15 x-github: @@ -90827,9 +91153,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 responses: '204': description: Response @@ -90859,20 +91185,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#get-parent-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 responses: '200': description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 - '301': *439 + default: *619 + '301': *443 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90889,9 +91215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - 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. @@ -90917,13 +91243,13 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -90941,9 +91267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -90975,16 +91301,16 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -91006,10 +91332,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *425 - - *426 - - *616 - - *417 + - *429 + - *430 + - *620 + - *421 responses: '204': description: Response @@ -91038,9 +91364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -91062,9 +91388,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -91097,9 +91423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -91109,13 +91435,13 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *618 + default: *622 headers: Link: *41 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -91143,9 +91469,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -91172,16 +91498,16 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *436 + '410': *440 '422': *15 '404': *6 x-github: @@ -91201,9 +91527,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 requestBody: required: true content: @@ -91234,9 +91560,9 @@ paths: description: Response content: application/json: - schema: *193 + schema: *195 examples: - default: *615 + default: *619 '403': *27 '404': *6 '422': *7 @@ -91258,9 +91584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *425 - - *426 - - *616 + - *429 + - *430 + - *620 - *17 - *19 responses: @@ -91275,10 +91601,6 @@ paths: description: Timeline Event type: object anyOf: - - *621 - - *622 - - *623 - - *624 - *625 - *626 - *627 @@ -91288,6 +91610,10 @@ paths: - *631 - *632 - *633 + - *634 + - *635 + - *636 + - *637 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -91335,12 +91661,12 @@ paths: issue_url: type: string format: uri - author_association: *180 + author_association: *182 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *181 + reactions: *183 required: - event - actor @@ -91371,7 +91697,7 @@ paths: properties: type: type: string - issue: *193 + issue: *195 required: - event - created_at @@ -91593,7 +91919,7 @@ paths: type: string body_text: type: string - author_association: *180 + author_association: *182 required: - event - id @@ -91616,7 +91942,7 @@ paths: type: string comments: type: array - items: &652 + items: &656 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -91721,7 +92047,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *180 + author_association: *182 _links: type: object properties: @@ -91816,7 +92142,7 @@ paths: enum: - line - file - reactions: *181 + reactions: *183 body_html: type: string examples: @@ -91854,7 +92180,7 @@ paths: type: string comments: type: array - items: *540 + items: *544 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -92129,7 +92455,7 @@ paths: headers: Link: *41 '404': *6 - '410': *436 + '410': *440 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -92146,8 +92472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -92157,7 +92483,7 @@ paths: application/json: schema: type: array - items: &634 + items: &638 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -92225,8 +92551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -92262,9 +92588,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: &635 + default: &639 value: id: 1 key: ssh-rsa AAA... @@ -92298,9 +92624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *425 - - *426 - - &636 + - *429 + - *430 + - &640 name: key_id description: The unique identifier of the key. in: path @@ -92312,9 +92638,9 @@ paths: description: Response content: application/json: - schema: *634 + schema: *638 examples: - default: *635 + default: *639 '404': *6 x-github: githubCloudOnly: false @@ -92332,9 +92658,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *425 - - *426 - - *636 + - *429 + - *430 + - *640 responses: '204': description: Response @@ -92354,8 +92680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -92365,9 +92691,9 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: - default: *620 + default: *624 headers: Link: *41 '404': *6 @@ -92388,8 +92714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -92425,9 +92751,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: &637 + default: &641 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -92459,8 +92785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *425 - - *426 + - *429 + - *430 - name: name in: path required: true @@ -92471,9 +92797,9 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: - default: *637 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -92490,8 +92816,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *425 - - *426 + - *429 + - *430 - name: name in: path required: true @@ -92530,7 +92856,7 @@ paths: description: Response content: application/json: - schema: *619 + schema: *623 examples: default: value: @@ -92556,8 +92882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *425 - - *426 + - *429 + - *430 - name: name in: path required: true @@ -92583,8 +92909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -92620,8 +92946,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '202': *37 '403': @@ -92649,8 +92975,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -92676,9 +93002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *425 - - *426 - - *518 + - *429 + - *430 + - *522 responses: '200': description: Response @@ -92744,7 +93070,7 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 required: - _links - git_url @@ -92825,8 +93151,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -92891,8 +93217,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -92926,9 +93252,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *541 + schema: *545 examples: - default: *638 + default: *642 '204': description: Response when already merged '404': @@ -92953,8 +93279,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *425 - - *426 + - *429 + - *430 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -92995,7 +93321,7 @@ paths: application/json: schema: type: array - items: *363 + items: *367 examples: default: value: @@ -93051,8 +93377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -93092,9 +93418,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *367 examples: - default: &639 + default: &643 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -93153,9 +93479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *425 - - *426 - - &640 + - *429 + - *430 + - &644 name: milestone_number description: The number that identifies the milestone. in: path @@ -93167,9 +93493,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *367 examples: - default: *639 + default: *643 '404': *6 x-github: githubCloudOnly: false @@ -93186,9 +93512,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *425 - - *426 - - *640 + - *429 + - *430 + - *644 requestBody: required: false content: @@ -93226,9 +93552,9 @@ paths: description: Response content: application/json: - schema: *363 + schema: *367 examples: - default: *639 + default: *643 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93244,9 +93570,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *425 - - *426 - - *640 + - *429 + - *430 + - *644 responses: '204': description: Response @@ -93267,9 +93593,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: - - *425 - - *426 - - *640 + - *429 + - *430 + - *644 - *17 - *19 responses: @@ -93279,9 +93605,9 @@ paths: application/json: schema: type: array - items: *619 + items: *623 examples: - default: *620 + default: *624 headers: Link: *41 x-github: @@ -93300,12 +93626,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: - - *425 - - *426 - - *641 - - *642 - - *183 - - *643 + - *429 + - *430 + - *645 + - *646 + - *185 + - *647 - *17 - *19 responses: @@ -93315,9 +93641,9 @@ paths: application/json: schema: type: array - items: *205 + items: *207 examples: - default: *644 + default: *648 headers: Link: *41 x-github: @@ -93341,8 +93667,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -93400,14 +93726,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: &645 + schema: &649 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -93551,7 +93877,7 @@ paths: - custom_404 - public examples: - default: &646 + default: &650 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -93592,8 +93918,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -93648,9 +93974,9 @@ paths: description: Response content: application/json: - schema: *645 + schema: *649 examples: - default: *646 + default: *650 '422': *15 '409': *107 x-github: @@ -93673,8 +93999,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -93782,8 +94108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -93809,8 +94135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -93820,7 +94146,7 @@ paths: application/json: schema: type: array - items: &647 + items: &651 title: Page Build description: Page Build type: object @@ -93912,8 +94238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *425 - - *426 + - *429 + - *430 responses: '201': description: Response @@ -93960,16 +94286,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *647 + schema: *651 examples: - default: &648 + default: &652 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -94017,8 +94343,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *425 - - *426 + - *429 + - *430 - name: build_id in: path required: true @@ -94029,9 +94355,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *651 examples: - default: *648 + default: *652 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94051,8 +94377,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -94160,9 +94486,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: - - *425 - - *426 - - &649 + - *429 + - *430 + - &653 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -94220,9 +94546,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *425 - - *426 - - *649 + - *429 + - *430 + - *653 responses: '204': *129 '404': *6 @@ -94249,8 +94575,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -94518,7 +94844,7 @@ paths: description: Empty response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -94545,8 +94871,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Private vulnerability reporting status @@ -94583,8 +94909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': *129 '422': *14 @@ -94605,8 +94931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': *129 '422': *14 @@ -94629,8 +94955,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-repository-projects parameters: - - *425 - - *426 + - *429 + - *430 - name: state description: Indicates the state of the projects to return. in: query @@ -94651,7 +94977,7 @@ paths: application/json: schema: type: array - items: *357 + items: *361 examples: default: value: @@ -94691,7 +95017,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *436 + '410': *440 '422': *7 x-github: githubCloudOnly: false @@ -94714,8 +95040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#create-a-repository-project parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -94741,13 +95067,13 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: - default: *435 + default: *439 '401': *23 '403': *27 '404': *6 - '410': *436 + '410': *440 '422': *7 x-github: githubCloudOnly: false @@ -94770,8 +95096,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -94779,7 +95105,7 @@ paths: application/json: schema: type: array - items: *371 + items: *375 examples: default: value: @@ -94810,8 +95136,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -94823,7 +95149,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *371 + items: *375 required: - properties examples: @@ -94873,8 +95199,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *425 - - *426 + - *429 + - *430 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -94934,9 +95260,9 @@ paths: application/json: schema: type: array - items: *545 + items: *549 examples: - default: *650 + default: *654 headers: Link: *41 '304': *35 @@ -94968,8 +95294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -95036,7 +95362,7 @@ paths: description: Response content: application/json: - schema: &654 + schema: &658 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -95165,7 +95491,7 @@ paths: milestone: anyOf: - type: 'null' - - *363 + - *367 active_lock_reason: type: - string @@ -95220,7 +95546,7 @@ paths: type: - array - 'null' - items: *339 + items: *343 head: type: object properties: @@ -95258,14 +95584,14 @@ paths: _links: type: object properties: - comments: *364 - commits: *364 - statuses: *364 - html: *364 - issue: *364 - review_comments: *364 - review_comment: *364 - self: *364 + comments: *368 + commits: *368 + statuses: *368 + html: *368 + issue: *368 + review_comments: *368 + review_comment: *368 + self: *368 required: - comments - commits @@ -95275,8 +95601,8 @@ paths: - review_comments - review_comment - self - author_association: *180 - auto_merge: *651 + author_association: *182 + auto_merge: *655 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -95378,7 +95704,7 @@ paths: - merged_by - review_comments examples: - default: &655 + default: &659 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -95905,8 +96231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *425 - - *426 + - *429 + - *430 - name: sort in: query required: false @@ -95925,7 +96251,7 @@ paths: enum: - asc - desc - - *183 + - *185 - *17 - *19 responses: @@ -95935,9 +96261,9 @@ paths: application/json: schema: type: array - items: *652 + items: *656 examples: - default: &657 + default: &661 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96014,17 +96340,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '200': description: Response content: application/json: - schema: *652 + schema: *656 examples: - default: &653 + default: &657 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -96099,9 +96425,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -96123,9 +96449,9 @@ paths: description: Response content: application/json: - schema: *652 + schema: *656 examples: - default: *653 + default: *657 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96141,9 +96467,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 responses: '204': description: Response @@ -96164,9 +96490,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 - 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. @@ -96192,9 +96518,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 @@ -96215,9 +96541,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: - - *425 - - *426 - - *192 + - *429 + - *430 + - *194 requestBody: required: true content: @@ -96249,16 +96575,16 @@ paths: description: Reaction exists content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Reaction created content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -96280,10 +96606,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *425 - - *426 - - *192 - - *417 + - *429 + - *430 + - *194 + - *421 responses: '204': description: Response @@ -96326,9 +96652,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *425 - - *426 - - &656 + - *429 + - *430 + - &660 name: pull_number description: The number that identifies the pull request. in: path @@ -96341,9 +96667,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *654 + schema: *658 examples: - default: *655 + default: *659 '304': *35 '404': *6 '406': @@ -96378,9 +96704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -96422,9 +96748,9 @@ paths: description: Response content: application/json: - schema: *654 + schema: *658 examples: - default: *655 + default: *659 '422': *15 '403': *27 x-github: @@ -96446,9 +96772,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: true content: @@ -96509,17 +96835,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '401': *23 '403': *27 '404': *6 @@ -96549,10 +96875,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: - - *425 - - *426 - - *656 - - *202 + - *429 + - *430 + - *660 + - *204 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -96562,7 +96888,7 @@ paths: enum: - asc - desc - - *183 + - *185 - *17 - *19 responses: @@ -96572,9 +96898,9 @@ paths: application/json: schema: type: array - items: *652 + items: *656 examples: - default: *657 + default: *661 headers: Link: *41 x-github: @@ -96607,9 +96933,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: true content: @@ -96715,7 +97041,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *656 examples: example-for-a-multi-line-comment: value: @@ -96803,10 +97129,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: - - *425 - - *426 - - *656 - - *192 + - *429 + - *430 + - *660 + - *194 requestBody: required: true content: @@ -96828,7 +97154,7 @@ paths: description: Response content: application/json: - schema: *652 + schema: *656 examples: default: value: @@ -96914,9 +97240,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 - *17 - *19 responses: @@ -96926,9 +97252,9 @@ paths: application/json: schema: type: array - items: *541 + items: *545 examples: - default: *658 + default: *662 headers: Link: *41 x-github: @@ -96958,9 +97284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 - *17 - *19 responses: @@ -96970,7 +97296,7 @@ paths: application/json: schema: type: array - items: *552 + items: *556 examples: default: value: @@ -97008,9 +97334,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 responses: '204': description: Response if pull request has been merged @@ -97033,9 +97359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -97147,9 +97473,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 responses: '200': description: Response @@ -97165,7 +97491,7 @@ paths: items: *4 teams: type: array - items: *267 + items: *271 required: - users - teams @@ -97224,9 +97550,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -97263,7 +97589,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -97799,9 +98125,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: true content: @@ -97835,7 +98161,7 @@ paths: description: Response content: application/json: - schema: *545 + schema: *549 examples: default: value: @@ -98340,9 +98666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 - *17 - *19 responses: @@ -98352,7 +98678,7 @@ paths: application/json: schema: type: array - items: &659 + items: &663 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -98426,7 +98752,7 @@ paths: type: string body_text: type: string - author_association: *180 + author_association: *182 required: - id - node_id @@ -98508,9 +98834,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: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -98600,9 +98926,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: - default: &661 + default: &665 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98665,10 +98991,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: - - *425 - - *426 - - *656 - - &660 + - *429 + - *430 + - *660 + - &664 name: review_id description: The unique identifier of the review. in: path @@ -98680,9 +99006,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: - default: &662 + default: &666 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -98741,10 +99067,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 requestBody: required: true content: @@ -98767,7 +99093,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: default: value: @@ -98829,18 +99155,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 responses: '200': description: Response content: application/json: - schema: *659 + schema: *663 examples: - default: *661 + default: *665 '422': *7 '404': *6 x-github: @@ -98867,10 +99193,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 - *17 - *19 responses: @@ -98964,13 +99290,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *180 + author_association: *182 _links: type: object properties: - self: *364 - html: *364 - pull_request: *364 + self: *368 + html: *368 + pull_request: *368 required: - self - html @@ -98979,7 +99305,7 @@ paths: type: string body_html: type: string - reactions: *181 + reactions: *183 side: description: The side of the first line of the range for a multi-line comment. @@ -99128,10 +99454,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 requestBody: required: true content: @@ -99160,7 +99486,7 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: default: value: @@ -99223,10 +99549,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: - - *425 - - *426 - - *656 + - *429 + - *430 - *660 + - *664 requestBody: required: true content: @@ -99261,9 +99587,9 @@ paths: description: Response content: application/json: - schema: *659 + schema: *663 examples: - default: *662 + default: *666 '404': *6 '422': *7 '403': *27 @@ -99285,9 +99611,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *425 - - *426 - - *656 + - *429 + - *430 + - *660 requestBody: required: false content: @@ -99351,8 +99677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *425 - - *426 + - *429 + - *430 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -99365,9 +99691,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: &664 + default: &668 value: type: file encoding: base64 @@ -99409,8 +99735,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: - - *425 - - *426 + - *429 + - *430 - name: dir description: The alternate path to look for a README file in: path @@ -99430,9 +99756,9 @@ paths: description: Response content: application/json: - schema: *663 + schema: *667 examples: - default: *664 + default: *668 '404': *6 '422': *15 x-github: @@ -99454,8 +99780,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -99465,7 +99791,7 @@ paths: application/json: schema: type: array - items: &665 + items: &669 title: Release description: A release. type: object @@ -99547,7 +99873,7 @@ paths: author: *4 assets: type: array - items: &666 + items: &670 title: Release Asset description: Data related to a release. type: object @@ -99622,7 +99948,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *181 + reactions: *183 required: - assets_url - upload_url @@ -99734,8 +100060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -99811,9 +100137,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: - default: &669 + default: &673 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -99918,9 +100244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *425 - - *426 - - &667 + - *429 + - *430 + - &671 name: asset_id description: The unique identifier of the asset. in: path @@ -99932,9 +100258,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: &668 + default: &672 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 @@ -99969,7 +100295,7 @@ paths: type: User site_admin: false '404': *6 - '302': *554 + '302': *558 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -99985,9 +100311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *425 - - *426 - - *667 + - *429 + - *430 + - *671 requestBody: required: false content: @@ -100016,9 +100342,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *670 examples: - default: *668 + default: *672 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100034,9 +100360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *425 - - *426 - - *667 + - *429 + - *430 + - *671 responses: '204': description: Response @@ -100060,8 +100386,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -100147,16 +100473,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response content: application/json: - schema: *665 + schema: *669 examples: - default: *669 + default: *673 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -100173,8 +100499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *425 - - *426 + - *429 + - *430 - name: tag description: tag parameter in: path @@ -100187,9 +100513,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: - default: *669 + default: *673 '404': *6 x-github: githubCloudOnly: false @@ -100211,9 +100537,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *425 - - *426 - - &670 + - *429 + - *430 + - &674 name: release_id description: The unique identifier of the release. in: path @@ -100227,9 +100553,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: *665 + schema: *669 examples: - default: *669 + default: *673 '401': description: Unauthorized x-github: @@ -100247,9 +100573,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 requestBody: required: false content: @@ -100313,9 +100639,9 @@ paths: description: Response content: application/json: - schema: *665 + schema: *669 examples: - default: *669 + default: *673 '404': description: Not Found if the discussion category name is invalid content: @@ -100336,9 +100662,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 responses: '204': description: Response @@ -100358,9 +100684,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 - *17 - *19 responses: @@ -100370,7 +100696,7 @@ paths: application/json: schema: type: array - items: *666 + items: *670 examples: default: value: @@ -100452,9 +100778,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: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 - name: name in: query required: true @@ -100480,7 +100806,7 @@ paths: description: Response for successful upload content: application/json: - schema: *666 + schema: *670 examples: response-for-successful-upload: value: @@ -100535,9 +100861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 - 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. @@ -100561,9 +100887,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 '404': *6 @@ -100584,9 +100910,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *425 - - *426 - - *670 + - *429 + - *430 + - *674 requestBody: required: true content: @@ -100616,16 +100942,16 @@ paths: description: Reaction exists content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '201': description: Reaction created content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 '422': *15 x-github: githubCloudOnly: false @@ -100647,10 +100973,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *425 - - *426 - - *670 - - *417 + - *429 + - *430 + - *674 + - *421 responses: '204': description: Response @@ -100674,9 +101000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *425 - - *426 - - *484 + - *429 + - *430 + - *488 - *17 - *19 responses: @@ -100693,7 +101019,7 @@ paths: oneOf: - allOf: - *138 - - &671 + - &675 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -100714,67 +101040,67 @@ paths: description: The ID of the ruleset that includes this rule. - allOf: - *139 - - *671 + - *675 - allOf: - *140 - - *671 + - *675 - allOf: - *141 - - *671 + - *675 - allOf: - - *672 - - *671 + - *676 + - *675 - allOf: - *142 - - *671 + - *675 - allOf: - *143 - - *671 + - *675 - allOf: - *144 - - *671 + - *675 - allOf: - *145 - - *671 + - *675 - allOf: - *146 - - *671 + - *675 - allOf: - *147 - - *671 + - *675 - allOf: - *148 - - *671 + - *675 - allOf: - *149 - - *671 + - *675 - allOf: - *150 - - *671 + - *675 - allOf: - *151 - - *671 + - *675 - allOf: - *152 - - *671 + - *675 - allOf: - *153 - - *671 + - *675 - allOf: - *154 - - *671 + - *675 - allOf: - *155 - - *671 + - *675 - allOf: - *156 - - *671 + - *675 - allOf: - *157 - - *671 + - *675 - allOf: - - *673 - - *671 + - *677 + - *675 examples: default: value: @@ -100813,8 +101139,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 - name: includes_parents @@ -100825,7 +101151,7 @@ paths: schema: type: boolean default: true - - *674 + - *678 responses: '200': description: Response @@ -100880,8 +101206,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 requestBody: description: Request body required: true @@ -100910,7 +101236,7 @@ paths: rules: type: array description: An array of rules within the ruleset. - items: *675 + items: *679 required: - name - enforcement @@ -100943,7 +101269,7 @@ paths: application/json: schema: *158 examples: - default: &684 + default: &688 value: id: 42 name: super cool ruleset @@ -100990,12 +101316,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *425 - - *426 - - *676 + - *429 + - *430 + - *680 - *94 - - *677 - - *678 + - *681 + - *682 - *17 - *19 responses: @@ -101003,9 +101329,9 @@ paths: description: Response content: application/json: - schema: *679 + schema: *683 examples: - default: *680 + default: *684 '404': *6 '500': *38 x-github: @@ -101026,17 +101352,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *425 - - *426 - - *681 + - *429 + - *430 + - *685 responses: '200': description: Response content: application/json: - schema: *682 + schema: *686 examples: - default: *683 + default: *687 '404': *6 '500': *38 x-github: @@ -101064,8 +101390,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101087,7 +101413,7 @@ paths: application/json: schema: *158 examples: - default: *684 + default: *688 '404': *6 '500': *38 put: @@ -101105,8 +101431,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101140,7 +101466,7 @@ paths: rules: description: An array of rules within the ruleset. type: array - items: *675 + items: *679 examples: default: value: @@ -101170,7 +101496,7 @@ paths: application/json: schema: *158 examples: - default: *684 + default: *688 '404': *6 '500': *38 delete: @@ -101188,8 +101514,8 @@ paths: category: repos subcategory: rules parameters: - - *425 - - *426 + - *429 + - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101212,8 +101538,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-history parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 - name: ruleset_id @@ -101231,7 +101557,7 @@ paths: type: array items: *162 examples: - default: *378 + default: *382 '404': *6 '500': *38 x-github: @@ -101250,8 +101576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-repository-ruleset-version parameters: - - *425 - - *426 + - *429 + - *430 - name: ruleset_id description: The ID of the ruleset. in: path @@ -101269,7 +101595,7 @@ paths: description: Response content: application/json: - schema: *379 + schema: *383 examples: default: value: @@ -101324,21 +101650,21 @@ 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: - - *425 - - *426 - - *380 - - *381 - - *382 - - *383 - - *99 - - *19 - - *17 - - *685 - - *686 + - *429 + - *430 - *384 - *385 - *386 - *387 + - *99 + - *19 + - *17 + - *689 + - *690 + - *388 + - *389 + - *390 + - *391 responses: '200': description: Response @@ -101346,7 +101672,7 @@ paths: application/json: schema: type: array - items: &690 + items: &694 type: object properties: number: *109 @@ -101362,8 +101688,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *687 - resolution: *688 + state: *691 + resolution: *692 resolved_at: type: - string @@ -101457,7 +101783,7 @@ paths: first_location_detected: anyOf: - type: 'null' - - *689 + - *693 has_more_locations: type: boolean description: A boolean value representing whether or not the @@ -101579,16 +101905,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *425 - - *426 - - *512 - - *387 + - *429 + - *430 + - *516 + - *391 responses: '200': description: Response content: application/json: - schema: *690 + schema: *694 examples: default: value: @@ -101640,9 +101966,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 requestBody: required: true content: @@ -101650,8 +101976,8 @@ paths: schema: type: object properties: - state: *687 - resolution: *688 + state: *691 + resolution: *692 resolution_comment: description: An optional comment when closing or reopening an alert. Cannot be updated or deleted. @@ -101670,7 +101996,7 @@ paths: description: Response content: application/json: - schema: *690 + schema: *694 examples: default: value: @@ -101745,9 +102071,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: - - *425 - - *426 - - *512 + - *429 + - *430 + - *516 - *19 - *17 responses: @@ -101758,7 +102084,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &865 + items: &869 type: object properties: type: @@ -101785,10 +102111,6 @@ paths: - commit details: oneOf: - - *691 - - *692 - - *693 - - *694 - *695 - *696 - *697 @@ -101798,6 +102120,10 @@ paths: - *701 - *702 - *703 + - *704 + - *705 + - *706 + - *707 examples: default: value: @@ -101883,8 +102209,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -101892,14 +102218,14 @@ paths: schema: type: object properties: - reason: &705 + reason: &709 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *704 + placeholder_id: *708 required: - reason - placeholder_id @@ -101916,7 +102242,7 @@ paths: schema: type: object properties: - reason: *705 + reason: *709 expire_at: type: - string @@ -101960,8 +102286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *425 - - *426 + - *429 + - *430 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -101976,7 +102302,7 @@ paths: properties: incremental_scans: type: array - items: &706 + items: &710 description: Information on a single scan performed by secret scanning on the repository type: object @@ -102004,15 +102330,15 @@ paths: the scan is pending pattern_update_scans: type: array - items: *706 + items: *710 backfill_scans: type: array - items: *706 + items: *710 custom_pattern_backfill_scans: type: array items: allOf: - - *706 + - *710 - type: object properties: pattern_name: @@ -102082,8 +102408,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *425 - - *426 + - *429 + - *430 - *99 - name: sort description: The property to sort the results by. @@ -102127,9 +102453,9 @@ paths: application/json: schema: type: array - items: *707 + items: *711 examples: - default: *708 + default: *712 '400': *14 '404': *6 x-github: @@ -102152,8 +102478,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -102233,7 +102559,7 @@ paths: login: type: string description: The username of the user credited. - type: *392 + type: *396 required: - login - type @@ -102323,9 +102649,9 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: &710 + default: &714 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -102558,8 +102884,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -102672,7 +102998,7 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: default: value: @@ -102819,17 +103145,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: - - *425 - - *426 - - *709 + - *429 + - *430 + - *713 responses: '200': description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *710 + default: *714 '403': *27 '404': *6 x-github: @@ -102853,9 +103179,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: - - *425 - - *426 - - *709 + - *429 + - *430 + - *713 requestBody: required: true content: @@ -102935,7 +103261,7 @@ paths: login: type: string description: The username of the user credited. - type: *392 + type: *396 required: - login - type @@ -103026,17 +103352,17 @@ paths: description: Response content: application/json: - schema: *707 + schema: *711 examples: - default: *710 - add_credit: *710 + default: *714 + add_credit: *714 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *217 + schema: *221 examples: invalid_state_transition: value: @@ -103067,9 +103393,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: - - *425 - - *426 - - *709 + - *429 + - *430 + - *713 responses: '202': *37 '400': *14 @@ -103096,17 +103422,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: - - *425 - - *426 - - *709 + - *429 + - *430 + - *713 responses: '202': description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 + default: *444 '400': *14 '422': *15 '403': *27 @@ -103132,8 +103458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -103229,8 +103555,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -103239,7 +103565,7 @@ paths: application/json: schema: type: array - items: &711 + items: &715 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -103272,8 +103598,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -103351,8 +103677,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -103446,8 +103772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -103601,8 +103927,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -103612,7 +103938,7 @@ paths: application/json: schema: type: array - items: *711 + items: *715 examples: default: value: @@ -103645,8 +103971,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *425 - - *426 + - *429 + - *430 - name: sha in: path required: true @@ -103702,7 +104028,7 @@ paths: description: Response content: application/json: - schema: *712 + schema: *716 examples: default: value: @@ -103756,8 +104082,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -103769,7 +104095,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -103789,14 +104115,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &713 + schema: &717 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -103869,8 +104195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: false content: @@ -103896,7 +104222,7 @@ paths: description: Response content: application/json: - schema: *713 + schema: *717 examples: default: value: @@ -103923,8 +104249,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -103944,8 +104270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -104027,8 +104353,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: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -104036,7 +104362,7 @@ paths: application/json: schema: type: array - items: &714 + items: &718 title: Tag protection description: Tag protection type: object @@ -104093,8 +104419,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: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -104117,7 +104443,7 @@ paths: description: Response content: application/json: - schema: *714 + schema: *718 examples: default: value: @@ -104148,8 +104474,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: - - *425 - - *426 + - *429 + - *430 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -104186,8 +104512,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *425 - - *426 + - *429 + - *430 - name: ref in: path required: true @@ -104223,8 +104549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *425 - - *426 + - *429 + - *430 - *17 - *19 responses: @@ -104234,9 +104560,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - default: *340 + default: *344 headers: Link: *41 '404': *6 @@ -104256,8 +104582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *425 - - *426 + - *429 + - *430 - *19 - *17 responses: @@ -104265,7 +104591,7 @@ paths: description: Response content: application/json: - schema: &715 + schema: &719 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -104277,7 +104603,7 @@ paths: required: - names examples: - default: &716 + default: &720 value: names: - octocat @@ -104300,8 +104626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -104332,9 +104658,9 @@ paths: description: Response content: application/json: - schema: *715 + schema: *719 examples: - default: *716 + default: *720 '404': *6 '422': *7 x-github: @@ -104355,9 +104681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *425 - - *426 - - &717 + - *429 + - *430 + - &721 name: per description: The time frame to display results for. in: query @@ -104388,7 +104714,7 @@ paths: - 128 clones: type: array - items: &718 + items: &722 title: Traffic type: object properties: @@ -104475,8 +104801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -104570,8 +104896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *425 - - *426 + - *429 + - *430 responses: '200': description: Response @@ -104634,9 +104960,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *425 - - *426 - - *717 + - *429 + - *430 + - *721 responses: '200': description: Response @@ -104657,7 +104983,7 @@ paths: - 3782 views: type: array - items: *718 + items: *722 required: - uniques - count @@ -104734,8 +105060,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *425 - - *426 + - *429 + - *430 requestBody: required: true content: @@ -104771,7 +105097,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *244 examples: default: value: @@ -105009,8 +105335,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -105033,8 +105359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -105056,8 +105382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -105083,8 +105409,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *425 - - *426 + - *429 + - *430 - name: ref in: path required: true @@ -105176,9 +105502,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 + default: *444 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -105219,7 +105545,7 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: default: value: @@ -105329,7 +105655,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &726 + - &730 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -105339,7 +105665,7 @@ paths: type: string examples: - members - - &731 + - &735 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -105351,7 +105677,7 @@ paths: format: int32 examples: - 1 - - &732 + - &736 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -105395,7 +105721,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &721 + items: &725 allOf: - type: object required: @@ -105477,7 +105803,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: &733 + meta: &737 type: object description: The metadata associated with the creation/updates to the user. @@ -105542,30 +105868,30 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &722 + '400': &726 description: Bad request content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '401': *720 - '403': &723 + schema: *723 + '401': *724 + '403': &727 description: Permission denied - '429': &724 + '429': &728 description: Too many requests content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '500': &725 + schema: *723 + '500': &729 description: Internal server error content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 + schema: *723 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105589,7 +105915,7 @@ paths: required: true content: application/json: - schema: &729 + schema: &733 type: object required: - schemas @@ -105653,9 +105979,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *721 + schema: *725 examples: - group: &727 + group: &731 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -105674,13 +106000,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': *722 - '401': *720 - '403': *723 - '409': &730 + '400': *726 + '401': *724 + '403': *727 + '409': &734 description: Duplicate record detected - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105697,7 +106023,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: - - &728 + - &732 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -105706,22 +106032,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *726 + - *730 - *39 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *721 + schema: *725 examples: - default: *727 - '400': *722 - '401': *720 - '403': *723 + default: *731 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105740,13 +106066,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: - - *728 + - *732 - *39 requestBody: required: true content: application/json: - schema: *729 + schema: *733 examples: group: summary: Group @@ -105772,17 +106098,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *721 + schema: *725 examples: - group: *727 - groupWithMembers: *727 - '400': *722 - '401': *720 - '403': *723 + group: *731 + groupWithMembers: *731 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '409': *730 - '429': *724 - '500': *725 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105806,13 +106132,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: - - *728 + - *732 - *39 requestBody: required: true content: application/json: - schema: &740 + schema: &744 type: object required: - Operations @@ -105872,17 +106198,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *721 + schema: *725 examples: - updateGroup: *727 - addMembers: *727 - '400': *722 - '401': *720 - '403': *723 + updateGroup: *731 + addMembers: *731 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '409': *730 - '429': *724 - '500': *725 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105898,17 +106224,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: - - *728 + - *732 - *39 responses: '204': description: Group was deleted, no content - '400': *722 - '401': *720 - '403': *723 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -105942,8 +106268,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *731 - - *732 + - *735 + - *736 - *39 responses: '200': @@ -105977,7 +106303,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &735 + items: &739 allOf: - type: object required: @@ -106069,7 +106395,7 @@ paths: address. examples: - true - roles: &734 + roles: &738 type: array description: The roles assigned to the user. items: @@ -106128,7 +106454,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *733 + meta: *737 startIndex: type: integer description: A starting index for the returned page @@ -106167,11 +106493,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *722 - '401': *720 - '403': *723 - '429': *724 - '500': *725 + '400': *726 + '401': *724 + '403': *727 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106195,7 +106521,7 @@ paths: required: true content: application/json: - schema: &738 + schema: &742 type: object required: - schemas @@ -106288,9 +106614,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *734 + roles: *738 examples: - user: &739 + user: &743 summary: User value: schemas: @@ -106337,9 +106663,9 @@ paths: description: User has been created content: application/scim+json: - schema: *735 + schema: *739 examples: - user: &736 + user: &740 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106365,13 +106691,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: *736 - '400': *722 - '401': *720 - '403': *723 - '409': *730 - '429': *724 - '500': *725 + enterpriseOwner: *740 + '400': *726 + '401': *724 + '403': *727 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106388,7 +106714,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: - - &737 + - &741 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -106401,15 +106727,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *735 + schema: *739 examples: - default: *736 - '400': *722 - '401': *720 - '403': *723 + default: *740 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106431,30 +106757,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: - - *737 + - *741 - *39 requestBody: required: true content: application/json: - schema: *738 + schema: *742 examples: - user: *739 + user: *743 responses: '200': description: User was updated content: application/scim+json: - schema: *735 + schema: *739 examples: - user: *736 - '400': *722 - '401': *720 - '403': *723 + user: *740 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '409': *730 - '429': *724 - '500': *725 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106489,13 +106815,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: - - *737 + - *741 - *39 requestBody: required: true content: application/json: - schema: *740 + schema: *744 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -106535,18 +106861,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *735 + schema: *739 examples: - userMultiValuedProperties: *736 - userSingleValuedProperties: *736 - disableUser: *736 - '400': *722 - '401': *720 - '403': *723 + userMultiValuedProperties: *740 + userSingleValuedProperties: *740 + disableUser: *740 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '409': *730 - '429': *724 - '500': *725 + '409': *734 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106566,17 +106892,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: - - *737 + - *741 - *39 responses: '204': description: User was deleted, no content - '400': *722 - '401': *720 - '403': *723 + '400': *726 + '401': *724 + '403': *727 '404': *6 - '429': *724 - '500': *725 + '429': *728 + '500': *729 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -106667,7 +106993,7 @@ paths: - 1 Resources: type: array - items: &741 + items: &745 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -106914,22 +107240,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &742 + '404': &746 description: Resource not found content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '403': &743 + schema: *723 + '403': &747 description: Forbidden content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '400': *722 - '429': *724 + schema: *723 + '400': *726 + '429': *728 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -106955,9 +107281,9 @@ paths: description: Response content: application/scim+json: - schema: *741 + schema: *745 examples: - default: &744 + default: &748 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -106980,17 +107306,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *742 - '403': *743 - '500': *725 + '404': *746 + '403': *747 + '500': *729 '409': description: Conflict content: application/json: - schema: *719 + schema: *723 application/scim+json: - schema: *719 - '400': *722 + schema: *723 + '400': *726 requestBody: required: true content: @@ -107090,17 +107416,17 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - *76 - - *737 + - *741 responses: '200': description: Response content: application/scim+json: - schema: *741 + schema: *745 examples: - default: *744 - '404': *742 - '403': *743 + default: *748 + '404': *746 + '403': *747 '304': *35 x-github: githubCloudOnly: true @@ -107124,18 +107450,18 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - *76 - - *737 + - *741 responses: '200': description: Response content: application/scim+json: - schema: *741 + schema: *745 examples: - default: *744 + default: *748 '304': *35 - '404': *742 - '403': *743 + '404': *746 + '403': *747 requestBody: required: true content: @@ -107250,19 +107576,19 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - *76 - - *737 + - *741 responses: '200': description: Response content: application/scim+json: - schema: *741 + schema: *745 examples: - default: *744 + default: *748 '304': *35 - '404': *742 - '403': *743 - '400': *722 + '404': *746 + '403': *747 + '400': *726 '429': description: Response content: @@ -107358,12 +107684,12 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - *76 - - *737 + - *741 responses: '204': description: Response - '404': *742 - '403': *743 + '404': *746 + '403': *747 '304': *35 x-github: githubCloudOnly: true @@ -107478,7 +107804,7 @@ paths: html_url: type: string format: uri - repository: *240 + repository: *244 score: type: number file_size: @@ -107497,7 +107823,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &745 + text_matches: &749 title: Search Result Text Matches type: array items: @@ -107661,7 +107987,7 @@ paths: enum: - author-date - committer-date - - &746 + - &750 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 @@ -107730,7 +108056,7 @@ paths: committer: anyOf: - type: 'null' - - *482 + - *486 comment_count: type: integer message: @@ -107749,7 +108075,7 @@ paths: url: type: string format: uri - verification: *598 + verification: *602 required: - author - committer @@ -107764,7 +108090,7 @@ paths: committer: anyOf: - type: 'null' - - *482 + - *486 parents: type: array items: @@ -107776,12 +108102,12 @@ paths: type: string sha: type: string - repository: *240 + repository: *244 score: type: number node_id: type: string - text_matches: *745 + text_matches: *749 required: - sha - node_id @@ -107964,7 +108290,7 @@ paths: - interactions - created - updated - - *746 + - *750 - *17 - *19 - name: advanced_search @@ -108070,11 +108396,11 @@ paths: type: - string - 'null' - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: type: string state_reason: @@ -108088,7 +108414,7 @@ paths: milestone: anyOf: - type: 'null' - - *363 + - *367 comments: type: integer created_at: @@ -108102,7 +108428,7 @@ paths: - string - 'null' format: date-time - text_matches: *745 + text_matches: *749 pull_request: type: object properties: @@ -108140,7 +108466,7 @@ paths: type: string score: type: number - author_association: *180 + author_association: *182 draft: type: boolean repository: *67 @@ -108151,12 +108477,12 @@ paths: timeline_url: type: string format: uri - type: *326 + type: *330 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *181 + reactions: *183 required: - assignee - closed_at @@ -108328,7 +108654,7 @@ paths: enum: - created - updated - - *746 + - *750 - *17 - *19 responses: @@ -108373,7 +108699,7 @@ paths: - 'null' score: type: number - text_matches: *745 + text_matches: *749 required: - id - node_id @@ -108459,7 +108785,7 @@ paths: - forks - help-wanted-issues - updated - - *746 + - *750 - *17 - *19 responses: @@ -108678,7 +109004,7 @@ paths: license: anyOf: - type: 'null' - - *194 + - *196 permissions: type: object properties: @@ -108696,7 +109022,7 @@ paths: - admin - pull - push - text_matches: *745 + text_matches: *749 temp_clone_token: type: string allow_merge_commit: @@ -109005,7 +109331,7 @@ paths: - string - 'null' format: uri - text_matches: *745 + text_matches: *749 related: type: - array @@ -109200,7 +109526,7 @@ paths: - followers - repositories - joined - - *746 + - *750 - *17 - *19 responses: @@ -109310,7 +109636,7 @@ paths: type: - boolean - 'null' - text_matches: *745 + text_matches: *749 blog: type: - string @@ -109392,7 +109718,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &750 + - &754 name: team_id description: The unique identifier of the team. in: path @@ -109404,9 +109730,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '404': *6 x-github: githubCloudOnly: false @@ -109433,7 +109759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *750 + - *754 requestBody: required: true content: @@ -109497,16 +109823,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '201': description: Response content: application/json: - schema: *406 + schema: *410 examples: - default: *407 + default: *411 '404': *6 '422': *15 '403': *27 @@ -109534,7 +109860,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *750 + - *754 responses: '204': description: Response @@ -109565,7 +109891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *750 + - *754 - *99 - *17 - *19 @@ -109576,9 +109902,9 @@ paths: application/json: schema: type: array - items: *408 + items: *412 examples: - default: *751 + default: *755 headers: Link: *41 x-github: @@ -109607,7 +109933,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *750 + - *754 requestBody: required: true content: @@ -109641,9 +109967,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: *409 + default: *413 x-github: triggersNotification: true githubCloudOnly: false @@ -109670,16 +109996,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *750 - - *410 + - *754 + - *414 responses: '200': description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: *409 + default: *413 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109704,8 +110030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *750 - - *410 + - *754 + - *414 requestBody: required: false content: @@ -109728,9 +110054,9 @@ paths: description: Response content: application/json: - schema: *408 + schema: *412 examples: - default: *752 + default: *756 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109755,8 +110081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *750 - - *410 + - *754 + - *414 responses: '204': description: Response @@ -109785,8 +110111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *750 - - *410 + - *754 + - *414 - *99 - *17 - *19 @@ -109797,9 +110123,9 @@ paths: application/json: schema: type: array - items: *411 + items: *415 examples: - default: *753 + default: *757 headers: Link: *41 x-github: @@ -109828,8 +110154,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *750 - - *410 + - *754 + - *414 requestBody: required: true content: @@ -109851,9 +110177,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: *412 + default: *416 x-github: triggersNotification: true githubCloudOnly: false @@ -109880,17 +110206,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 responses: '200': description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: *412 + default: *416 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109915,9 +110241,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 requestBody: required: true content: @@ -109939,9 +110265,9 @@ paths: description: Response content: application/json: - schema: *411 + schema: *415 examples: - default: *754 + default: *758 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -109966,9 +110292,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 responses: '204': description: Response @@ -109997,9 +110323,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: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 - 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. @@ -110025,9 +110351,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 x-github: @@ -110056,9 +110382,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: - - *750 - - *410 - - *413 + - *754 + - *414 + - *417 requestBody: required: true content: @@ -110090,9 +110416,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -110118,8 +110444,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: - - *750 - - *410 + - *754 + - *414 - 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. @@ -110145,9 +110471,9 @@ paths: application/json: schema: type: array - items: *414 + items: *418 examples: - default: *416 + default: *420 headers: Link: *41 x-github: @@ -110176,8 +110502,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: - - *750 - - *410 + - *754 + - *414 requestBody: required: true content: @@ -110209,9 +110535,9 @@ paths: description: Response content: application/json: - schema: *414 + schema: *418 examples: - default: *415 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -110235,7 +110561,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *750 + - *754 - *17 - *19 responses: @@ -110245,9 +110571,9 @@ paths: application/json: schema: type: array - items: *323 + items: *327 examples: - default: *324 + default: *328 headers: Link: *41 x-github: @@ -110273,7 +110599,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *750 + - *754 - name: role description: Filters members returned by their role in the team. in: query @@ -110296,7 +110622,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '404': *6 @@ -110324,8 +110650,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *750 - - *176 + - *754 + - *178 responses: '204': description: if user is a member @@ -110361,8 +110687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *750 - - *176 + - *754 + - *178 responses: '204': description: Response @@ -110401,8 +110727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *750 - - *176 + - *754 + - *178 responses: '204': description: Response @@ -110438,16 +110764,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: - - *750 - - *176 + - *754 + - *178 responses: '200': description: Response content: application/json: - schema: *422 + schema: *426 examples: - response-if-user-is-a-team-maintainer: *755 + response-if-user-is-a-team-maintainer: *759 '404': *6 x-github: githubCloudOnly: false @@ -110480,8 +110806,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: - - *750 - - *176 + - *754 + - *178 requestBody: required: false content: @@ -110506,9 +110832,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *426 examples: - response-if-users-membership-with-team-is-now-pending: *756 + response-if-users-membership-with-team-is-now-pending: *760 '403': description: Forbidden if team synchronization is set up '422': @@ -110542,8 +110868,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: - - *750 - - *176 + - *754 + - *178 responses: '204': description: Response @@ -110571,7 +110897,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *750 + - *754 - *17 - *19 responses: @@ -110581,9 +110907,9 @@ paths: application/json: schema: type: array - items: *423 + items: *427 examples: - default: *757 + default: *761 headers: Link: *41 '404': *6 @@ -110609,16 +110935,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: - - *750 - - *424 + - *754 + - *428 responses: '200': description: Response content: application/json: - schema: *423 + schema: *427 examples: - default: *758 + default: *762 '404': description: Not Found if project is not managed by this team x-github: @@ -110642,8 +110968,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: - - *750 - - *424 + - *754 + - *428 requestBody: required: false content: @@ -110710,8 +111036,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: - - *750 - - *424 + - *754 + - *428 responses: '204': description: Response @@ -110738,7 +111064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *750 + - *754 - *17 - *19 responses: @@ -110748,9 +111074,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 '404': *6 @@ -110780,15 +111106,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: - - *750 - - *425 - - *426 + - *754 + - *429 + - *430 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *759 + schema: *763 examples: alternative-response-with-extra-repository-information: value: @@ -110939,9 +111265,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: - - *750 - - *425 - - *426 + - *754 + - *429 + - *430 requestBody: required: false content: @@ -110991,9 +111317,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: - - *750 - - *425 - - *426 + - *754 + - *429 + - *430 responses: '204': description: Response @@ -111022,15 +111348,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: - - *750 + - *754 responses: '200': description: Response content: application/json: - schema: *427 + schema: *431 examples: - default: *428 + default: *432 '403': *27 '404': *6 x-github: @@ -111057,7 +111383,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: - - *750 + - *754 requestBody: required: true content: @@ -111118,7 +111444,7 @@ paths: description: Response content: application/json: - schema: *427 + schema: *431 examples: default: value: @@ -111149,7 +111475,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *750 + - *754 - *17 - *19 responses: @@ -111159,9 +111485,9 @@ paths: application/json: schema: type: array - items: *267 + items: *271 examples: - response-if-child-teams-exist: *760 + response-if-child-teams-exist: *764 headers: Link: *41 '404': *6 @@ -111194,7 +111520,7 @@ paths: application/json: schema: oneOf: - - &762 + - &766 title: Private User description: Private User type: object @@ -111444,7 +111770,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *761 + - *765 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -111604,7 +111930,7 @@ paths: description: Response content: application/json: - schema: *762 + schema: *766 examples: default: value: @@ -111683,7 +112009,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 '304': *35 '404': *6 '403': *27 @@ -111706,7 +112032,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: - - *176 + - *178 responses: '204': description: If the user is blocked @@ -111734,7 +112060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *176 + - *178 responses: '204': description: Response @@ -111758,7 +112084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *176 + - *178 responses: '204': description: Response @@ -111807,9 +112133,9 @@ paths: type: integer codespaces: type: array - items: *331 + items: *335 examples: - default: *332 + default: *336 '304': *35 '500': *38 '401': *23 @@ -111948,17 +112274,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '401': *23 '403': *27 '404': *6 @@ -112002,7 +112328,7 @@ paths: type: integer secrets: type: array - items: &763 + items: &767 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -112044,7 +112370,7 @@ paths: - visibility - selected_repositories_url examples: - default: *534 + default: *538 headers: Link: *41 x-github: @@ -112116,13 +112442,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: - - *250 + - *254 responses: '200': description: Response content: application/json: - schema: *763 + schema: *767 examples: default: value: @@ -112152,7 +112478,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: - - *250 + - *254 requestBody: required: true content: @@ -112197,7 +112523,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -112225,7 +112551,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: - - *250 + - *254 responses: '204': description: Response @@ -112250,7 +112576,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: - - *250 + - *254 responses: '200': description: Response @@ -112266,9 +112592,9 @@ paths: type: integer repositories: type: array - items: *240 + items: *244 examples: - default: *764 + default: *768 '401': *23 '403': *27 '404': *6 @@ -112293,7 +112619,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: - - *250 + - *254 requestBody: required: true content: @@ -112347,7 +112673,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: - - *250 + - *254 - name: repository_id in: path required: true @@ -112380,7 +112706,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: - - *250 + - *254 - name: repository_id in: path required: true @@ -112412,15 +112738,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: - - *333 + - *337 responses: '200': description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '304': *35 '500': *38 '401': *23 @@ -112446,7 +112772,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: - - *333 + - *337 requestBody: required: false content: @@ -112476,9 +112802,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '401': *23 '403': *27 '404': *6 @@ -112500,7 +112826,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: - - *333 + - *337 responses: '202': *37 '304': *35 @@ -112529,13 +112855,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: - - *333 + - *337 responses: '202': description: Response content: application/json: - schema: &765 + schema: &769 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -112588,7 +112914,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &766 + default: &770 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -112620,7 +112946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *333 + - *337 - name: export_id in: path required: true @@ -112633,9 +112959,9 @@ paths: description: Response content: application/json: - schema: *765 + schema: *769 examples: - default: *766 + default: *770 '404': *6 x-github: githubCloudOnly: false @@ -112656,7 +112982,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *333 + - *337 responses: '200': description: Response @@ -112672,9 +112998,9 @@ paths: type: integer machines: type: array - items: *533 + items: *537 examples: - default: *767 + default: *771 '304': *35 '500': *38 '401': *23 @@ -112703,7 +113029,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: - - *333 + - *337 requestBody: required: true content: @@ -112759,11 +113085,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *438 + repository: *442 machine: anyOf: - type: 'null' - - *533 + - *537 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -113560,15 +113886,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: - - *333 + - *337 responses: '200': description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '304': *35 '500': *38 '400': *14 @@ -113600,15 +113926,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: - - *333 + - *337 responses: '200': description: Response content: application/json: - schema: *331 + schema: *335 examples: - default: *532 + default: *536 '500': *38 '401': *23 '403': *27 @@ -113638,9 +113964,9 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: &779 + default: &783 value: - id: 197 name: hello_docker @@ -113741,7 +114067,7 @@ paths: application/json: schema: type: array - items: &768 + items: &772 title: Email description: Email type: object @@ -113811,9 +114137,9 @@ paths: application/json: schema: type: array - items: *768 + items: *772 examples: - default: &781 + default: &785 value: - email: octocat@github.com verified: true @@ -113890,7 +114216,7 @@ paths: application/json: schema: type: array - items: *768 + items: *772 examples: default: value: @@ -114002,7 +114328,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '304': *35 @@ -114035,7 +114361,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 '304': *35 @@ -114057,7 +114383,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: - - *176 + - *178 responses: '204': description: if the person is followed by the authenticated user @@ -114087,7 +114413,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *176 + - *178 responses: '204': description: Response @@ -114112,7 +114438,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *176 + - *178 responses: '204': description: Response @@ -114148,7 +114474,7 @@ paths: application/json: schema: type: array - items: &769 + items: &773 title: GPG Key description: A unique encryption key type: object @@ -114293,7 +114619,7 @@ paths: - subkeys - revoked examples: - default: &795 + default: &799 value: - id: 3 name: Octocat's GPG Key @@ -114378,9 +114704,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *773 examples: - default: &770 + default: &774 value: id: 3 name: Octocat's GPG Key @@ -114437,7 +114763,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: - - &771 + - &775 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -114449,9 +114775,9 @@ paths: description: Response content: application/json: - schema: *769 + schema: *773 examples: - default: *770 + default: *774 '404': *6 '304': *35 '403': *27 @@ -114474,7 +114800,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: - - *771 + - *775 responses: '204': description: Response @@ -114665,7 +114991,7 @@ paths: type: array items: *67 examples: - default: *235 + default: *239 headers: Link: *41 '404': *6 @@ -114690,7 +115016,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *234 + - *238 responses: '204': description: Response @@ -114716,7 +115042,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *234 + - *238 responses: '204': description: Response @@ -114750,12 +115076,12 @@ paths: application/json: schema: anyOf: - - *321 + - *325 - type: object properties: {} additionalProperties: false examples: - default: *322 + default: *326 '204': description: Response when there are no restrictions x-github: @@ -114779,7 +115105,7 @@ paths: required: true content: application/json: - schema: *609 + schema: *613 examples: default: value: @@ -114790,7 +115116,7 @@ paths: description: Response content: application/json: - schema: *321 + schema: *325 examples: default: value: @@ -114871,7 +115197,7 @@ paths: - closed - all default: open - - *329 + - *333 - name: sort description: What to sort results by. in: query @@ -114884,7 +115210,7 @@ paths: - comments default: created - *99 - - *183 + - *185 - *17 - *19 responses: @@ -114894,9 +115220,9 @@ paths: application/json: schema: type: array - items: *193 + items: *195 examples: - default: *330 + default: *334 headers: Link: *41 '404': *6 @@ -114929,7 +115255,7 @@ paths: application/json: schema: type: array - items: &772 + items: &776 title: Key description: Key type: object @@ -115032,9 +115358,9 @@ paths: description: Response content: application/json: - schema: *772 + schema: *776 examples: - default: &773 + default: &777 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -115067,15 +115393,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: - - *636 + - *640 responses: '200': description: Response content: application/json: - schema: *772 + schema: *776 examples: - default: *773 + default: *777 '404': *6 '304': *35 '403': *27 @@ -115098,7 +115424,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: - - *636 + - *640 responses: '204': description: Response @@ -115131,7 +115457,7 @@ paths: application/json: schema: type: array - items: &774 + items: &778 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -115199,7 +115525,7 @@ paths: - id - type - login - plan: *196 + plan: *198 required: - billing_cycle - next_billing_date @@ -115210,7 +115536,7 @@ paths: - account - plan examples: - default: &775 + default: &779 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -115272,9 +115598,9 @@ paths: application/json: schema: type: array - items: *774 + items: *778 examples: - default: *775 + default: *779 headers: Link: *41 '304': *35 @@ -115314,7 +115640,7 @@ paths: application/json: schema: type: array - items: *334 + items: *338 examples: default: value: @@ -115422,7 +115748,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: default: value: @@ -115505,7 +115831,7 @@ paths: description: Response content: application/json: - schema: *334 + schema: *338 examples: default: value: @@ -115573,7 +115899,7 @@ paths: application/json: schema: type: array - items: *336 + items: *340 examples: default: value: @@ -115835,7 +116161,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -116015,7 +116341,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *337 + - *341 - name: exclude in: query required: false @@ -116028,7 +116354,7 @@ paths: description: Response content: application/json: - schema: *336 + schema: *340 examples: default: value: @@ -116222,7 +116548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *337 + - *341 responses: '302': description: Response @@ -116248,7 +116574,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *337 + - *341 responses: '204': description: Response @@ -116277,8 +116603,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *337 - - *776 + - *341 + - *780 responses: '204': description: Response @@ -116302,7 +116628,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *337 + - *341 - *17 - *19 responses: @@ -116312,9 +116638,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 '404': *6 @@ -116351,7 +116677,7 @@ paths: type: array items: *62 examples: - default: *777 + default: *781 headers: Link: *41 '304': *35 @@ -116393,7 +116719,7 @@ paths: - docker - nuget - container - - *778 + - *782 - *19 - *17 responses: @@ -116403,10 +116729,10 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: *779 - '400': *780 + default: *783 + '400': *784 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -116426,16 +116752,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: - - *343 - - *344 + - *347 + - *348 responses: '200': description: Response content: application/json: - schema: *341 + schema: *345 examples: - default: &796 + default: &800 value: id: 40201 name: octo-name @@ -116548,8 +116874,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: - - *343 - - *344 + - *347 + - *348 responses: '204': description: Response @@ -116579,8 +116905,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: - - *343 - - *344 + - *347 + - *348 - name: token description: package token schema: @@ -116612,8 +116938,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: - - *343 - - *344 + - *347 + - *348 - *19 - *17 - name: state @@ -116633,7 +116959,7 @@ paths: application/json: schema: type: array - items: *345 + items: *349 examples: default: value: @@ -116682,15 +117008,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: - - *343 - - *344 - - *346 + - *347 + - *348 + - *350 responses: '200': description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -116726,9 +117052,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: - - *343 - - *344 - - *346 + - *347 + - *348 + - *350 responses: '204': description: Response @@ -116758,9 +117084,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: - - *343 - - *344 - - *346 + - *347 + - *348 + - *350 responses: '204': description: Response @@ -116818,7 +117144,7 @@ paths: description: Response content: application/json: - schema: *357 + schema: *361 examples: default: value: @@ -116890,9 +117216,9 @@ paths: application/json: schema: type: array - items: *768 + items: *772 examples: - default: *781 + default: *785 headers: Link: *41 '304': *35 @@ -117005,7 +117331,7 @@ paths: type: array items: *67 examples: - default: &788 + default: &792 summary: Default response value: - id: 1296269 @@ -117323,9 +117649,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *442 examples: - default: *440 + default: *444 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -117363,9 +117689,9 @@ paths: application/json: schema: type: array - items: *611 + items: *615 examples: - default: *782 + default: *786 headers: Link: *41 '304': *35 @@ -117388,7 +117714,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *325 + - *329 responses: '204': description: Response @@ -117411,7 +117737,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *325 + - *329 responses: '204': description: Response @@ -117444,7 +117770,7 @@ paths: application/json: schema: type: array - items: &783 + items: &787 title: Social account description: Social media account type: object @@ -117461,7 +117787,7 @@ paths: - provider - url examples: - default: &784 + default: &788 value: - provider: twitter url: https://twitter.com/github @@ -117524,9 +117850,9 @@ paths: application/json: schema: type: array - items: *783 + items: *787 examples: - default: *784 + default: *788 '422': *15 '304': *35 '404': *6 @@ -117614,7 +117940,7 @@ paths: application/json: schema: type: array - items: &785 + items: &789 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -117634,7 +117960,7 @@ paths: - title - created_at examples: - default: &799 + default: &803 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117701,9 +118027,9 @@ paths: description: Response content: application/json: - schema: *785 + schema: *789 examples: - default: &786 + default: &790 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -117734,7 +118060,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: - - &787 + - &791 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -117746,9 +118072,9 @@ paths: description: Response content: application/json: - schema: *785 + schema: *789 examples: - default: *786 + default: *790 '404': *6 '304': *35 '403': *27 @@ -117771,7 +118097,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: - - *787 + - *791 responses: '204': description: Response @@ -117800,7 +118126,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: - - &800 + - &804 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 @@ -117825,11 +118151,11 @@ paths: type: array items: *67 examples: - default-response: *788 + default-response: *792 application/vnd.github.v3.star+json: schema: type: array - items: &801 + items: &805 title: Starred Repository description: Starred Repository type: object @@ -117985,8 +118311,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response if this repository is starred by you @@ -118014,8 +118340,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -118039,8 +118365,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: - - *425 - - *426 + - *429 + - *430 responses: '204': description: Response @@ -118073,9 +118399,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 '304': *35 @@ -118112,7 +118438,7 @@ paths: application/json: schema: type: array - items: *406 + items: *410 examples: default: value: @@ -118190,7 +118516,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *198 + - *200 responses: '200': description: Response @@ -118198,10 +118524,10 @@ paths: application/json: schema: oneOf: - - *762 - - *761 + - *766 + - *765 examples: - default-response: &790 + default-response: &794 summary: Default response value: login: octocat @@ -118236,7 +118562,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &791 + response-with-git-hub-plan-information: &795 summary: Response with GitHub plan information value: login: octocat @@ -118296,7 +118622,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *789 + - *793 - *17 responses: '200': @@ -118307,7 +118633,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: example: ; rel="next" @@ -118337,7 +118663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *176 + - *178 responses: '200': description: Response @@ -118345,11 +118671,11 @@ paths: application/json: schema: oneOf: - - *762 - - *761 + - *766 + - *765 examples: - default-response: *790 - response-with-git-hub-plan-information: *791 + default-response: *794 + response-with-git-hub-plan-information: *795 '404': *6 x-github: githubCloudOnly: false @@ -118375,7 +118701,7 @@ paths: - *17 - *97 - *98 - - *176 + - *178 requestBody: required: true content: @@ -118398,8 +118724,8 @@ paths: required: - subject_digests examples: - default: *792 - withPredicateType: *793 + default: *796 + withPredicateType: *797 responses: '200': description: Response @@ -118453,7 +118779,7 @@ paths: description: The cursor to the previous page. description: Information about the current page. examples: - default: *794 + default: *798 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -118471,7 +118797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-in-bulk parameters: - - *176 + - *178 requestBody: required: true content: @@ -118536,7 +118862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-subject-digest parameters: - - *176 + - *178 - name: subject_digest description: Subject Digest in: path @@ -118567,7 +118893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/attestations#delete-attestations-by-id parameters: - - *176 + - *178 - name: attestation_id description: Attestation ID in: path @@ -118605,7 +118931,7 @@ paths: - *17 - *97 - *98 - - *176 + - *178 - name: subject_digest description: Subject Digest in: path @@ -118657,12 +118983,12 @@ paths: initiator: type: string examples: - default: *478 + default: *482 '201': description: Response content: application/json: - schema: *251 + schema: *255 examples: default: value: @@ -118688,7 +119014,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: - - *176 + - *178 responses: '200': description: Response @@ -118696,9 +119022,9 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: *779 + default: *783 '403': *27 '401': *23 x-github: @@ -118721,7 +119047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -118731,7 +119057,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -118802,7 +119128,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *176 + - *178 - *76 - *17 - *19 @@ -118813,7 +119139,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -118892,7 +119218,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -118902,7 +119228,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -118969,7 +119295,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -118981,7 +119307,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -119000,7 +119326,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *176 + - *178 - *17 - *19 responses: @@ -119012,7 +119338,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *177 headers: Link: *41 x-github: @@ -119031,7 +119357,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: - - *176 + - *178 - name: target_user in: path required: true @@ -119058,8 +119384,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *176 - - *183 + - *178 + - *185 - *17 - *19 responses: @@ -119069,9 +119395,9 @@ paths: application/json: schema: type: array - items: *184 + items: *186 examples: - default: *185 + default: *187 headers: Link: *41 '422': *15 @@ -119092,7 +119418,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: - - *176 + - *178 - *17 - *19 responses: @@ -119102,9 +119428,9 @@ paths: application/json: schema: type: array - items: *769 + items: *773 examples: - default: *795 + default: *799 headers: Link: *41 x-github: @@ -119128,7 +119454,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *176 + - *178 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -119200,7 +119526,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: - - *176 + - *178 responses: '200': description: Response @@ -119208,7 +119534,7 @@ paths: application/json: schema: *20 examples: - default: *608 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119226,7 +119552,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -119282,7 +119608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -119294,7 +119620,7 @@ paths: type: array items: *62 examples: - default: *777 + default: *781 headers: Link: *41 x-github: @@ -119333,8 +119659,8 @@ paths: - docker - nuget - container - - *778 - - *176 + - *782 + - *178 - *19 - *17 responses: @@ -119344,12 +119670,12 @@ paths: application/json: schema: type: array - items: *341 + items: *345 examples: - default: *779 + default: *783 '403': *27 '401': *23 - '400': *780 + '400': *784 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119369,17 +119695,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *343 - - *344 - - *176 + - *347 + - *348 + - *178 responses: '200': description: Response content: application/json: - schema: *341 + schema: *345 examples: - default: *796 + default: *800 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -119400,9 +119726,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *343 - - *344 - - *176 + - *347 + - *348 + - *178 responses: '204': description: Response @@ -119434,9 +119760,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *343 - - *344 - - *176 + - *347 + - *348 + - *178 - name: token description: package token schema: @@ -119468,9 +119794,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: - - *343 - - *344 - - *176 + - *347 + - *348 + - *178 responses: '200': description: Response @@ -119478,7 +119804,7 @@ paths: application/json: schema: type: array - items: *345 + items: *349 examples: default: value: @@ -119536,16 +119862,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: - - *343 - - *344 - - *346 - - *176 + - *347 + - *348 + - *350 + - *178 responses: '200': description: Response content: application/json: - schema: *345 + schema: *349 examples: default: value: @@ -119580,10 +119906,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *343 - - *344 - - *176 - - *346 + - *347 + - *348 + - *178 + - *350 responses: '204': description: Response @@ -119615,10 +119941,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *343 - - *344 - - *176 - - *346 + - *347 + - *348 + - *178 + - *350 responses: '204': description: Response @@ -119644,7 +119970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects-classic/projects#list-user-projects parameters: - - *176 + - *178 - name: state description: Indicates the state of the projects to return. in: query @@ -119665,7 +119991,7 @@ paths: application/json: schema: type: array - items: *357 + items: *361 examples: default: value: @@ -119723,7 +120049,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-projects-for-user parameters: - - *176 + - *178 - name: q description: Limit results to projects of the specified type. in: query @@ -119740,9 +120066,9 @@ paths: application/json: schema: type: array - items: *358 + items: *362 examples: - default: *359 + default: *363 headers: Link: *41 '304': *35 @@ -119764,16 +120090,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-project-for-user parameters: - - *360 - - *176 + - *364 + - *178 responses: '200': description: Response content: application/json: - schema: *358 + schema: *362 examples: - default: *359 + default: *363 headers: Link: *41 '304': *35 @@ -119795,8 +120121,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#list-project-fields-for-user parameters: - - *360 - - *176 + - *364 + - *178 - *17 - *97 - *98 @@ -119807,9 +120133,9 @@ paths: application/json: schema: type: array - items: *361 + items: *365 examples: - default: *362 + default: *366 headers: Link: *41 '304': *35 @@ -119831,17 +120157,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/fields#get-project-field-for-user parameters: - - *360 - - *797 - - *176 + - *364 + - *801 + - *178 responses: '200': description: Response content: application/json: - schema: *361 + schema: *365 examples: - default: *362 + default: *366 headers: Link: *41 '304': *35 @@ -119864,8 +120190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#list-items-for-a-user-owned-project parameters: - - *360 - - *176 + - *364 + - *178 - *97 - *98 - *17 @@ -119895,9 +120221,9 @@ paths: application/json: schema: type: array - items: *367 + items: *371 examples: - default: *368 + default: *372 headers: Link: *41 '304': *35 @@ -119918,8 +120244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#add-item-to-user-owned-project parameters: - - *176 - - *360 + - *178 + - *364 requestBody: required: true description: Details of the item to add to the project. @@ -119956,10 +120282,10 @@ paths: description: Response content: application/json: - schema: *798 + schema: *802 examples: - issue: *366 - pull_request: *366 + issue: *370 + pull_request: *370 '304': *35 '403': *27 '401': *23 @@ -119979,9 +120305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#get-an-item-for-a-user-owned-project parameters: - - *360 - - *176 - - *369 + - *364 + - *178 + - *373 - name: fields description: Limit results to specific fields, by their IDs. If not specified, the title field will be returned. @@ -119999,9 +120325,9 @@ paths: description: Response content: application/json: - schema: *367 + schema: *371 examples: - default: *368 + default: *372 headers: Link: *41 '304': *35 @@ -120022,9 +120348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#update-project-item-for-user parameters: - - *360 - - *176 - - *369 + - *364 + - *178 + - *373 requestBody: required: true description: Field updates to apply to the project item. Only text, number, @@ -120097,13 +120423,13 @@ paths: description: Response content: application/json: - schema: *367 + schema: *371 examples: - text_field: *368 - number_field: *368 - date_field: *368 - single_select_field: *368 - iteration_field: *368 + text_field: *372 + number_field: *372 + date_field: *372 + single_select_field: *372 + iteration_field: *372 '401': *23 '403': *27 '404': *6 @@ -120123,9 +120449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/items#delete-project-item-for-user parameters: - - *360 - - *176 - - *369 + - *364 + - *178 + - *373 responses: '204': description: Response @@ -120152,7 +120478,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: - - *176 + - *178 - *17 - *19 responses: @@ -120162,7 +120488,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -120241,7 +120567,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: - - *176 + - *178 - *17 - *19 responses: @@ -120251,7 +120577,7 @@ paths: application/json: schema: type: array - items: *204 + items: *206 examples: default: value: @@ -120328,7 +120654,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *176 + - *178 - name: type description: Limit results to repositories of the specified type. in: query @@ -120371,9 +120697,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -120397,15 +120723,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: - - *176 + - *178 responses: '200': description: Response content: application/json: - schema: *393 + schema: *397 examples: - default: *394 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120427,20 +120753,150 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *176 + - *178 responses: '200': description: Response content: application/json: - schema: *398 + schema: *402 examples: - default: *399 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - *178 + - *169 + - *211 + - *170 + - *213 + - *214 + responses: + '200': + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems + examples: + default: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 + '400': *14 + '403': *27 + '404': *6 + '500': *38 + '503': *163 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -120457,15 +120913,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: - - *176 + - *178 responses: '200': description: Response content: application/json: - schema: *400 + schema: *404 examples: - default: *401 + default: *405 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -120485,11 +120941,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-a-user parameters: - - *176 - - *209 - - *210 - - *211 - - *212 + - *178 + - *169 + - *215 + - *170 + - *216 responses: '200': description: Response when getting a billing usage report @@ -120578,7 +121034,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: - - *176 + - *178 - *17 - *19 responses: @@ -120588,9 +121044,9 @@ paths: application/json: schema: type: array - items: *783 + items: *787 examples: - default: *784 + default: *788 headers: Link: *41 x-github: @@ -120610,7 +121066,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: - - *176 + - *178 - *17 - *19 responses: @@ -120620,9 +121076,9 @@ paths: application/json: schema: type: array - items: *785 + items: *789 examples: - default: *799 + default: *803 headers: Link: *41 x-github: @@ -120646,8 +121102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *176 - - *800 + - *178 + - *804 - *99 - *17 - *19 @@ -120659,11 +121115,11 @@ paths: schema: anyOf: - type: array - items: *801 + items: *805 - type: array items: *67 examples: - default-response: *788 + default-response: *792 headers: Link: *41 x-github: @@ -120682,7 +121138,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *176 + - *178 - *17 - *19 responses: @@ -120692,9 +121148,9 @@ paths: application/json: schema: type: array - items: *240 + items: *244 examples: - default: *347 + default: *351 headers: Link: *41 x-github: @@ -120823,7 +121279,7 @@ webhooks: type: string enum: - disabled - enterprise: &802 + enterprise: &806 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -120892,7 +121348,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &803 + installation: &807 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -120913,7 +121369,7 @@ webhooks: required: - id - node_id - organization: &804 + organization: &808 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -120986,7 +121442,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &805 + repository: &809 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -121015,7 +121471,7 @@ webhooks: license: anyOf: - type: 'null' - - *194 + - *196 organization: anyOf: - type: 'null' @@ -121899,10 +122355,10 @@ webhooks: type: string enum: - enabled - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -121978,11 +122434,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - rule: &806 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + rule: &810 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) @@ -122205,11 +122661,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - rule: *806 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + rule: *810 sender: *4 required: - action @@ -122397,11 +122853,11 @@ webhooks: - everyone required: - from - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - rule: *806 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + rule: *810 sender: *4 required: - action @@ -122472,7 +122928,7 @@ webhooks: required: true content: application/json: - schema: &809 + schema: &813 title: Exemption request cancellation event type: object properties: @@ -122480,11 +122936,11 @@ webhooks: type: string enum: - cancelled - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: &807 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: &811 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -122722,7 +123178,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &808 + items: &812 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -122832,7 +123288,7 @@ webhooks: required: true content: application/json: - schema: &810 + schema: &814 title: Exemption request completed event type: object properties: @@ -122840,11 +123296,11 @@ webhooks: type: string enum: - completed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: *807 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: *811 sender: *4 required: - action @@ -122914,7 +123370,7 @@ webhooks: required: true content: application/json: - schema: &811 + schema: &815 title: Exemption request created event type: object properties: @@ -122922,11 +123378,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: *807 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: *811 sender: *4 required: - action @@ -122996,7 +123452,7 @@ webhooks: required: true content: application/json: - schema: &812 + schema: &816 title: Exemption response dismissed event type: object properties: @@ -123004,12 +123460,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: *807 - exemption_response: *808 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: *811 + exemption_response: *812 sender: *4 required: - action @@ -123081,7 +123537,7 @@ webhooks: required: true content: application/json: - schema: &813 + schema: &817 title: Exemption response submitted event type: object properties: @@ -123089,12 +123545,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - exemption_request: *807 - exemption_response: *808 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + exemption_request: *811 + exemption_response: *812 sender: *4 required: - action @@ -123167,7 +123623,7 @@ webhooks: required: true content: application/json: - schema: *809 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123234,7 +123690,7 @@ webhooks: required: true content: application/json: - schema: *810 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123301,7 +123757,7 @@ webhooks: required: true content: application/json: - schema: *811 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123368,7 +123824,7 @@ webhooks: required: true content: application/json: - schema: *812 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123436,7 +123892,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -123514,7 +123970,7 @@ webhooks: type: string enum: - completed - check_run: &815 + check_run: &819 title: CheckRun description: A check performed on the code of a given code change type: object @@ -123579,8 +124035,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *495 - repository: *240 + items: *499 + repository: *244 status: type: string enum: @@ -123624,7 +124080,7 @@ webhooks: - examples: - neutral - deployment: *814 + deployment: *818 details_url: type: string examples: @@ -123684,7 +124140,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *495 + items: *499 started_at: type: string format: date-time @@ -123722,10 +124178,10 @@ webhooks: - output - app - pull_requests - installation: *803 - enterprise: *802 - organization: *804 - repository: *805 + installation: *807 + enterprise: *806 + organization: *808 + repository: *809 sender: *4 required: - check_run @@ -124118,11 +124574,11 @@ webhooks: type: string enum: - created - check_run: *815 - installation: *803 - enterprise: *802 - organization: *804 - repository: *805 + check_run: *819 + installation: *807 + enterprise: *806 + organization: *808 + repository: *809 sender: *4 required: - check_run @@ -124518,11 +124974,11 @@ webhooks: type: string enum: - requested_action - check_run: *815 - installation: *803 - enterprise: *802 - organization: *804 - repository: *805 + check_run: *819 + installation: *807 + enterprise: *806 + organization: *808 + repository: *809 requested_action: description: The action requested by the user. type: object @@ -124927,11 +125383,11 @@ webhooks: type: string enum: - rerequested - check_run: *815 - installation: *803 - enterprise: *802 - organization: *804 - repository: *805 + check_run: *819 + installation: *807 + enterprise: *806 + organization: *808 + repository: *809 sender: *4 required: - check_run @@ -125923,10 +126379,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -126611,10 +127067,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -127293,10 +127749,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -127465,7 +127921,7 @@ webhooks: required: - login - id - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -127617,20 +128073,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &816 + commit_oid: &820 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: *802 - installation: *803 - organization: *804 - ref: &817 + enterprise: *806 + installation: *807 + organization: *808 + ref: &821 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: *805 + repository: *809 sender: *4 required: - action @@ -127797,7 +128253,7 @@ webhooks: required: - login - id - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128038,12 +128494,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *816 - enterprise: *802 - installation: *803 - organization: *804 - ref: *817 - repository: *805 + commit_oid: *820 + enterprise: *806 + installation: *807 + organization: *808 + ref: *821 + repository: *809 sender: *4 required: - action @@ -128141,7 +128597,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128326,12 +128782,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *816 - enterprise: *802 - installation: *803 - organization: *804 - ref: *817 - repository: *805 + commit_oid: *820 + enterprise: *806 + installation: *807 + organization: *808 + ref: *821 + repository: *809 sender: *4 required: - action @@ -128500,7 +128956,7 @@ webhooks: required: - login - id - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: The reason for dismissing or closing the alert. type: @@ -128677,12 +129133,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *816 - enterprise: *802 - installation: *803 - organization: *804 - ref: *817 - repository: *805 + commit_oid: *820 + enterprise: *806 + installation: *807 + organization: *808 + ref: *821 + repository: *809 sender: *4 required: - action @@ -128785,7 +129241,7 @@ webhooks: type: - object - 'null' - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -128965,9 +129421,9 @@ webhooks: type: - string - 'null' - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -128975,7 +129431,7 @@ webhooks: type: - string - 'null' - repository: *805 + repository: *809 sender: *4 required: - action @@ -129074,7 +129530,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *507 + dismissed_comment: *511 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -129221,12 +129677,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *816 - enterprise: *802 - installation: *803 - organization: *804 - ref: *817 - repository: *805 + commit_oid: *820 + enterprise: *806 + installation: *807 + organization: *808 + ref: *821 + repository: *809 sender: *4 required: - action @@ -129488,10 +129944,10 @@ webhooks: - updated_at - author_association - body - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -129572,18 +130028,18 @@ webhooks: type: - string - 'null' - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *804 - pusher_type: &818 + organization: *808 + pusher_type: &822 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &819 + ref: &823 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -129593,7 +130049,7 @@ webhooks: enum: - tag - branch - repository: *805 + repository: *809 sender: *4 required: - ref @@ -129676,9 +130132,9 @@ webhooks: enum: - created definition: *125 - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -129763,9 +130219,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -129843,9 +130299,9 @@ webhooks: enum: - promote_to_enterprise definition: *125 - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -129923,9 +130379,9 @@ webhooks: enum: - updated definition: *125 - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -130002,19 +130458,19 @@ webhooks: type: string enum: - updated - enterprise: *802 - installation: *803 - repository: *805 - organization: *804 + enterprise: *806 + installation: *807 + repository: *809 + organization: *808 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *371 + items: *375 old_property_values: type: array description: The old custom property values for the repository. - items: *371 + items: *375 required: - action - repository @@ -130090,18 +130546,18 @@ webhooks: title: delete event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 - pusher_type: *818 - ref: *819 + enterprise: *806 + installation: *807 + organization: *808 + pusher_type: *822 + ref: *823 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *805 + repository: *809 sender: *4 required: - ref @@ -130185,11 +130641,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130273,11 +130729,11 @@ webhooks: type: string enum: - auto_reopened - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130361,11 +130817,11 @@ webhooks: type: string enum: - created - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130447,11 +130903,11 @@ webhooks: type: string enum: - dismissed - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130533,11 +130989,11 @@ webhooks: type: string enum: - fixed - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130620,11 +131076,11 @@ webhooks: type: string enum: - reintroduced - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130706,11 +131162,11 @@ webhooks: type: string enum: - reopened - alert: *558 - installation: *803 - organization: *804 - enterprise: *802 - repository: *805 + alert: *562 + installation: *807 + organization: *808 + enterprise: *806 + repository: *809 sender: *4 required: - action @@ -130787,9 +131243,9 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - key: &820 + enterprise: *806 + installation: *807 + key: &824 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -130827,8 +131283,8 @@ webhooks: - verified - created_at - read_only - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -130905,11 +131361,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - key: *820 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + key: *824 + organization: *808 + repository: *809 sender: *4 required: - action @@ -131481,12 +131937,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: &824 + workflow: &828 title: Workflow type: - object @@ -132224,13 +132680,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *564 + deployment: *568 pull_requests: type: array - items: *654 - repository: *805 - organization: *804 - installation: *803 + items: *658 + repository: *809 + organization: *808 + installation: *807 sender: *4 responses: '200': @@ -132301,7 +132757,7 @@ webhooks: type: string enum: - approved - approver: &821 + approver: &825 type: object properties: avatar_url: @@ -132344,11 +132800,11 @@ webhooks: type: string comment: type: string - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - reviewers: &822 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + reviewers: &826 type: array items: type: object @@ -132429,7 +132885,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &823 + workflow_job_run: &827 type: object properties: conclusion: @@ -133175,18 +133631,18 @@ webhooks: type: string enum: - rejected - approver: *821 + approver: *825 comment: type: string - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - reviewers: *822 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + reviewers: *826 sender: *4 since: type: string - workflow_job_run: *823 + workflow_job_run: *827 workflow_job_runs: type: array items: @@ -133903,13 +134359,13 @@ webhooks: type: string enum: - requested - enterprise: *802 + enterprise: *806 environment: type: string - installation: *803 - organization: *804 - repository: *805 - requestor: &829 + installation: *807 + organization: *808 + repository: *809 + requestor: &833 title: User type: - object @@ -135852,12 +136308,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: *824 + workflow: *828 workflow_run: title: Deployment Workflow Run type: @@ -136548,7 +137004,7 @@ webhooks: type: string enum: - answered - answer: &827 + answer: &831 type: object properties: author_association: @@ -136708,7 +137164,7 @@ webhooks: - created_at - updated_at - body - discussion: &825 + discussion: &829 title: Discussion description: A Discussion in a repository. type: object @@ -137004,7 +137460,7 @@ webhooks: - id labels: type: array - items: *619 + items: *623 required: - repository_url - category @@ -137026,10 +137482,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137156,11 +137612,11 @@ webhooks: - from required: - category - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137243,11 +137699,11 @@ webhooks: type: string enum: - closed - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137329,7 +137785,7 @@ webhooks: type: string enum: - created - comment: &826 + comment: &830 type: object properties: author_association: @@ -137489,11 +137945,11 @@ webhooks: - updated_at - body - reactions - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137576,12 +138032,12 @@ webhooks: type: string enum: - deleted - comment: *826 - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + comment: *830 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137676,12 +138132,12 @@ webhooks: - from required: - body - comment: *826 - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + comment: *830 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137765,11 +138221,11 @@ webhooks: type: string enum: - created - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137851,11 +138307,11 @@ webhooks: type: string enum: - deleted - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -137955,11 +138411,11 @@ webhooks: type: string required: - from - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138041,10 +138497,10 @@ webhooks: type: string enum: - labeled - discussion: *825 - enterprise: *802 - installation: *803 - label: &828 + discussion: *829 + enterprise: *806 + installation: *807 + label: &832 title: Label type: object properties: @@ -138077,8 +138533,8 @@ webhooks: - color - default - description - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138161,11 +138617,11 @@ webhooks: type: string enum: - locked - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138247,11 +138703,11 @@ webhooks: type: string enum: - pinned - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138333,11 +138789,11 @@ webhooks: type: string enum: - reopened - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138422,16 +138878,16 @@ webhooks: changes: type: object properties: - new_discussion: *825 - new_repository: *805 + new_discussion: *829 + new_repository: *809 required: - new_discussion - new_repository - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138514,10 +138970,10 @@ webhooks: type: string enum: - unanswered - discussion: *825 - old_answer: *827 - organization: *804 - repository: *805 + discussion: *829 + old_answer: *831 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138599,12 +139055,12 @@ webhooks: type: string enum: - unlabeled - discussion: *825 - enterprise: *802 - installation: *803 - label: *828 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138687,11 +139143,11 @@ webhooks: type: string enum: - unlocked - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138773,11 +139229,11 @@ webhooks: type: string enum: - unpinned - discussion: *825 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + discussion: *829 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -138846,7 +139302,7 @@ webhooks: required: true content: application/json: - schema: *811 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138909,7 +139365,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -138975,7 +139431,7 @@ webhooks: required: true content: application/json: - schema: *809 + schema: *813 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139041,7 +139497,7 @@ webhooks: required: true content: application/json: - schema: *810 + schema: *814 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139107,7 +139563,7 @@ webhooks: required: true content: application/json: - schema: *811 + schema: *815 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139173,7 +139629,7 @@ webhooks: required: true content: application/json: - schema: *812 + schema: *816 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139239,7 +139695,7 @@ webhooks: required: true content: application/json: - schema: *813 + schema: *817 responses: '200': description: Return a 200 status to indicate that the data was received @@ -139306,7 +139762,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *802 + enterprise: *806 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -139984,9 +140440,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *803 - organization: *804 - repository: *805 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - forkee @@ -140132,9 +140588,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pages: description: The pages that were updated. type: array @@ -140172,7 +140628,7 @@ webhooks: - action - sha - html_url - repository: *805 + repository: *809 sender: *4 required: - pages @@ -140248,10 +140704,10 @@ webhooks: type: string enum: - created - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: &830 + organization: *808 + repositories: &834 description: An array of repository objects that the installation can access. type: array @@ -140277,8 +140733,8 @@ webhooks: - name - full_name - private - repository: *805 - requester: *829 + repository: *809 + requester: *833 sender: *4 required: - action @@ -140353,11 +140809,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: *830 - repository: *805 + organization: *808 + repositories: *834 + repository: *809 requester: type: - 'null' @@ -140434,11 +140890,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: *830 - repository: *805 + organization: *808 + repositories: *834 + repository: *809 requester: type: - 'null' @@ -140515,10 +140971,10 @@ webhooks: type: string enum: - added - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories_added: &831 + organization: *808 + repositories_added: &835 description: An array of repository objects, which were added to the installation. type: array @@ -140564,15 +141020,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *805 - repository_selection: &832 + repository: *809 + repository_selection: &836 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *829 + requester: *833 sender: *4 required: - action @@ -140651,10 +141107,10 @@ webhooks: type: string enum: - removed - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories_added: *831 + organization: *808 + repositories_added: *835 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -140681,9 +141137,9 @@ webhooks: - name - full_name - private - repository: *805 - repository_selection: *832 - requester: *829 + repository: *809 + repository_selection: *836 + requester: *833 sender: *4 required: - action @@ -140762,11 +141218,11 @@ webhooks: type: string enum: - suspend - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: *830 - repository: *805 + organization: *808 + repositories: *834 + repository: *809 requester: type: - 'null' @@ -140949,10 +141405,10 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 target_type: type: string @@ -141031,11 +141487,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *802 + enterprise: *806 installation: *20 - organization: *804 - repositories: *830 - repository: *805 + organization: *808 + repositories: *834 + repository: *809 requester: type: - 'null' @@ -141283,8 +141739,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -142101,8 +142557,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 state: description: State of the issue; either 'open' or 'closed' type: string @@ -142119,7 +142575,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -142463,8 +142919,8 @@ webhooks: - state - locked - assignee - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -142544,7 +143000,7 @@ webhooks: type: string enum: - deleted - comment: &833 + comment: &837 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -142711,8 +143167,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -143525,8 +143981,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 state: description: State of the issue; either 'open' or 'closed' type: string @@ -143543,7 +143999,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -143889,8 +144345,8 @@ webhooks: - state - locked - assignee - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -143970,7 +144426,7 @@ webhooks: type: string enum: - edited - changes: &857 + changes: &861 description: The changes to the comment. type: object properties: @@ -143982,9 +144438,9 @@ webhooks: type: string required: - from - comment: *833 - enterprise: *802 - installation: *803 + comment: *837 + enterprise: *806 + installation: *807 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -144800,8 +145256,8 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 state: description: State of the issue; either 'open' or 'closed' type: string @@ -144818,7 +145274,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -145162,8 +145618,8 @@ webhooks: - state - locked - assignee - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145247,15 +145703,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *193 + blocked_issue: *195 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *193 + blocking_issue: *195 blocking_issue_repo: *67 - installation: *803 - organization: *804 - repository: *805 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145343,15 +145799,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *193 + blocked_issue: *195 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *193 + blocking_issue: *195 blocking_issue_repo: *67 - installation: *803 - organization: *804 - repository: *805 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145438,15 +145894,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *193 + blocked_issue: *195 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *193 - installation: *803 - organization: *804 - repository: *805 + blocking_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145534,15 +145990,15 @@ webhooks: blocked_issue_id: description: The ID of the blocked issue. type: number - blocked_issue: *193 + blocked_issue: *195 blocked_issue_repo: *67 blocking_issue_id: description: The ID of the blocking issue. type: number - blocking_issue: *193 - installation: *803 - organization: *804 - repository: *805 + blocking_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -145627,10 +146083,10 @@ webhooks: type: string enum: - assigned - assignee: *829 - enterprise: *802 - installation: *803 - issue: &836 + assignee: *833 + enterprise: *806 + installation: *807 + issue: &840 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -146442,11 +146898,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -146463,7 +146919,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -146566,8 +147022,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -146647,8 +147103,8 @@ webhooks: type: string enum: - closed - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -147465,11 +147921,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -147486,7 +147942,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -147732,8 +148188,8 @@ webhooks: required: - state - closed_at - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -147812,8 +148268,8 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -148621,11 +149077,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -148642,7 +149098,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -148744,8 +149200,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -148824,8 +149280,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -149656,11 +150112,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -149677,7 +150133,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -149758,7 +150214,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &834 + milestone: &838 title: Milestone description: A collection of related issues and pull requests. type: object @@ -149901,8 +150357,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -150001,8 +150457,8 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -150814,11 +151270,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -150832,7 +151288,7 @@ webhooks: timeline_url: type: string format: uri - type: *326 + type: *330 title: description: Title of the issue type: string @@ -150938,9 +151394,9 @@ webhooks: - active_lock_reason - body - reactions - label: *828 - organization: *804 - repository: *805 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -151020,8 +151476,8 @@ webhooks: type: string enum: - labeled - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -151832,11 +152288,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -151850,7 +152306,7 @@ webhooks: timeline_url: type: string format: uri - type: *326 + type: *330 title: description: Title of the issue type: string @@ -151956,9 +152412,9 @@ webhooks: - active_lock_reason - body - reactions - label: *828 - organization: *804 - repository: *805 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -152038,8 +152494,8 @@ webhooks: type: string enum: - locked - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -152875,11 +153331,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -152893,7 +153349,7 @@ webhooks: timeline_url: type: string format: uri - type: *326 + type: *330 title: description: Title of the issue type: string @@ -152976,8 +153432,8 @@ webhooks: format: uri user_view_type: type: string - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -153056,8 +153512,8 @@ webhooks: type: string enum: - milestoned - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -153887,11 +154343,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -153908,7 +154364,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -153988,9 +154444,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *834 - organization: *804 - repository: *805 + milestone: *838 + organization: *808 + repository: *809 sender: *4 required: - action @@ -154882,11 +155338,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -154982,7 +155438,7 @@ webhooks: required: - login - id - type: *326 + type: *330 required: - id - number @@ -155463,8 +155919,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -156276,11 +156732,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -156297,7 +156753,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -156399,8 +156855,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -156480,9 +156936,9 @@ webhooks: type: string enum: - pinned - enterprise: *802 - installation: *803 - issue: &835 + enterprise: *806 + installation: *807 + issue: &839 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -157288,11 +157744,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -157309,7 +157765,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -157411,8 +157867,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -157491,8 +157947,8 @@ webhooks: type: string enum: - reopened - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -158326,11 +158782,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -158427,9 +158883,9 @@ webhooks: format: uri user_view_type: type: string - type: *326 - organization: *804 - repository: *805 + type: *330 + organization: *808 + repository: *809 sender: *4 required: - action @@ -159318,11 +159774,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -159339,7 +159795,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -159921,11 +160377,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *802 - installation: *803 - issue: *835 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *839 + organization: *808 + repository: *809 sender: *4 required: - action @@ -160005,12 +160461,12 @@ webhooks: type: string enum: - typed - enterprise: *802 - installation: *803 - issue: *836 - type: *326 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *840 + type: *330 + organization: *808 + repository: *809 sender: *4 required: - action @@ -160091,7 +160547,7 @@ webhooks: type: string enum: - unassigned - assignee: &860 + assignee: &864 title: User type: - object @@ -160163,11 +160619,11 @@ webhooks: required: - login - id - enterprise: *802 - installation: *803 - issue: *836 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *840 + organization: *808 + repository: *809 sender: *4 required: - action @@ -160246,12 +160702,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *802 - installation: *803 - issue: *836 - label: *828 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *840 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -160331,8 +160787,8 @@ webhooks: type: string enum: - unlocked - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -161166,11 +161622,11 @@ webhooks: repository_url: type: string format: uri - sub_issues_summary: *747 - issue_dependencies_summary: *748 + sub_issues_summary: *751 + issue_dependencies_summary: *752 issue_field_values: type: array - items: *749 + items: *753 state: description: State of the issue; either 'open' or 'closed' type: string @@ -161187,7 +161643,7 @@ webhooks: title: description: Title of the issue type: string - type: *326 + type: *330 updated_at: type: string format: date-time @@ -161267,8 +161723,8 @@ webhooks: format: uri user_view_type: type: string - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161348,11 +161804,11 @@ webhooks: type: string enum: - unpinned - enterprise: *802 - installation: *803 - issue: *835 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *839 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161431,12 +161887,12 @@ webhooks: type: string enum: - untyped - enterprise: *802 - installation: *803 - issue: *836 - type: *326 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + issue: *840 + type: *330 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161516,11 +161972,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - label: *828 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161598,11 +162054,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - label: *828 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161712,11 +162168,11 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - label: *828 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + label: *832 + organization: *808 + repository: *809 sender: *4 required: - action @@ -161798,9 +162254,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *802 - installation: *803 - marketplace_purchase: &837 + enterprise: *806 + installation: *807 + marketplace_purchase: &841 title: Marketplace Purchase type: object required: @@ -161888,8 +162344,8 @@ webhooks: type: integer unit_count: type: integer - organization: *804 - previous_marketplace_purchase: &838 + organization: *808 + previous_marketplace_purchase: &842 title: Marketplace Purchase type: object properties: @@ -161973,7 +162429,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *805 + repository: *809 sender: *4 required: - action @@ -162053,10 +162509,10 @@ webhooks: - changed effective_date: type: string - enterprise: *802 - installation: *803 - marketplace_purchase: *837 - organization: *804 + enterprise: *806 + installation: *807 + marketplace_purchase: *841 + organization: *808 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162144,7 +162600,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *805 + repository: *809 sender: *4 required: - action @@ -162226,10 +162682,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *802 - installation: *803 - marketplace_purchase: *837 - organization: *804 + enterprise: *806 + installation: *807 + marketplace_purchase: *841 + organization: *808 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -162315,7 +162771,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *805 + repository: *809 sender: *4 required: - action @@ -162396,8 +162852,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 marketplace_purchase: title: Marketplace Purchase type: object @@ -162483,9 +162939,9 @@ webhooks: type: integer unit_count: type: integer - organization: *804 - previous_marketplace_purchase: *838 - repository: *805 + organization: *808 + previous_marketplace_purchase: *842 + repository: *809 sender: *4 required: - action @@ -162565,12 +163021,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *802 - installation: *803 - marketplace_purchase: *837 - organization: *804 - previous_marketplace_purchase: *838 - repository: *805 + enterprise: *806 + installation: *807 + marketplace_purchase: *841 + organization: *808 + previous_marketplace_purchase: *842 + repository: *809 sender: *4 required: - action @@ -162672,11 +163128,11 @@ webhooks: type: string required: - to - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 sender: *4 required: - action @@ -162778,11 +163234,11 @@ webhooks: type: - string - 'null' - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 sender: *4 required: - action @@ -162861,11 +163317,11 @@ webhooks: type: string enum: - removed - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 sender: *4 required: - action @@ -162943,11 +163399,11 @@ webhooks: type: string enum: - added - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163025,7 +163481,7 @@ webhooks: required: - login - id - team: &839 + team: &843 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -163255,11 +163711,11 @@ webhooks: type: string enum: - removed - enterprise: *802 - installation: *803 - member: *829 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + member: *833 + organization: *808 + repository: *809 scope: description: The scope of the membership. Currently, can only be `team`. @@ -163338,7 +163794,7 @@ webhooks: required: - login - id - team: *839 + team: *843 required: - action - scope @@ -163420,8 +163876,8 @@ webhooks: type: string enum: - checks_requested - installation: *803 - merge_group: &840 + installation: *807 + merge_group: &844 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -163440,15 +163896,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *499 + head_commit: *503 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -163534,10 +163990,10 @@ webhooks: - merged - invalidated - dequeued - installation: *803 - merge_group: *840 - organization: *804 - repository: *805 + installation: *807 + merge_group: *844 + organization: *808 + repository: *809 sender: *4 required: - action @@ -163610,7 +164066,7 @@ webhooks: type: string enum: - deleted - enterprise: *802 + enterprise: *806 hook: description: 'The deleted webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -163719,12 +164175,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *803 - organization: *804 + installation: *807 + organization: *808 repository: anyOf: - type: 'null' - - *805 + - *809 sender: *4 required: - action @@ -163804,11 +164260,11 @@ webhooks: type: string enum: - closed - enterprise: *802 - installation: *803 - milestone: *834 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + milestone: *838 + organization: *808 + repository: *809 sender: *4 required: - action @@ -163887,9 +164343,9 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - milestone: &841 + enterprise: *806 + installation: *807 + milestone: &845 title: Milestone description: A collection of related issues and pull requests. type: object @@ -164031,8 +164487,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164111,11 +164567,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - milestone: *834 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + milestone: *838 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164225,11 +164681,11 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - milestone: *834 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + milestone: *838 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164309,11 +164765,11 @@ webhooks: type: string enum: - opened - enterprise: *802 - installation: *803 - milestone: *841 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + milestone: *845 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164392,11 +164848,11 @@ webhooks: type: string enum: - blocked - blocked_user: *829 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + blocked_user: *833 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164475,11 +164931,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *829 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + blocked_user: *833 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164558,9 +165014,9 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - membership: &842 + enterprise: *806 + installation: *807 + membership: &846 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -164670,8 +165126,8 @@ webhooks: - role - organization_url - user - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164749,11 +165205,11 @@ webhooks: type: string enum: - member_added - enterprise: *802 - installation: *803 - membership: *842 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + membership: *846 + organization: *808 + repository: *809 sender: *4 required: - action @@ -164832,8 +165288,8 @@ webhooks: type: string enum: - member_invited - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -164955,10 +165411,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 - user: *829 + user: *833 required: - action - invitation @@ -165036,11 +165492,11 @@ webhooks: type: string enum: - member_removed - enterprise: *802 - installation: *803 - membership: *842 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + membership: *846 + organization: *808 + repository: *809 sender: *4 required: - action @@ -165127,11 +165583,11 @@ webhooks: properties: from: type: string - enterprise: *802 - installation: *803 - membership: *842 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + membership: *846 + organization: *808 + repository: *809 sender: *4 required: - action @@ -165207,9 +165663,9 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 package: description: Information about the package. type: object @@ -165732,7 +166188,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &843 + items: &847 title: Ruby Gems metadata type: object properties: @@ -165829,7 +166285,7 @@ webhooks: - owner - package_version - registry - repository: *805 + repository: *809 sender: *4 required: - action @@ -165905,9 +166361,9 @@ webhooks: type: string enum: - updated - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 package: description: Information about the package. type: object @@ -166269,7 +166725,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *843 + items: *847 source_url: type: string format: uri @@ -166340,7 +166796,7 @@ webhooks: - owner - package_version - registry - repository: *805 + repository: *809 sender: *4 required: - action @@ -166521,12 +166977,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *802 + enterprise: *806 id: type: integer - installation: *803 - organization: *804 - repository: *805 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - id @@ -166603,7 +167059,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &844 + personal_access_token_request: &848 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -166753,10 +167209,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *802 - organization: *804 + enterprise: *806 + organization: *808 sender: *4 - installation: *803 + installation: *807 required: - action - personal_access_token_request @@ -166833,11 +167289,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *844 - enterprise: *802 - organization: *804 + personal_access_token_request: *848 + enterprise: *806 + organization: *808 sender: *4 - installation: *803 + installation: *807 required: - action - personal_access_token_request @@ -166913,11 +167369,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *844 - enterprise: *802 - organization: *804 + personal_access_token_request: *848 + enterprise: *806 + organization: *808 sender: *4 - installation: *803 + installation: *807 required: - action - personal_access_token_request @@ -166992,11 +167448,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *844 - organization: *804 - enterprise: *802 + personal_access_token_request: *848 + organization: *808 + enterprise: *806 sender: *4 - installation: *803 + installation: *807 required: - action - personal_access_token_request @@ -167101,7 +167557,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *845 + last_response: *849 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -167133,8 +167589,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 zen: description: Random string of GitHub zen. @@ -167379,10 +167835,10 @@ webhooks: - from required: - note - enterprise: *802 - installation: *803 - organization: *804 - project_card: &846 + enterprise: *806 + installation: *807 + organization: *808 + project_card: &850 title: Project Card type: object properties: @@ -167505,7 +167961,7 @@ webhooks: - creator - created_at - updated_at - repository: *805 + repository: *809 sender: *4 required: - action @@ -167586,11 +168042,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - project_card: *846 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project_card: *850 + repository: *809 sender: *4 required: - action @@ -167670,9 +168126,9 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 project_card: title: Project Card type: object @@ -167802,7 +168258,7 @@ webhooks: repository: anyOf: - type: 'null' - - *805 + - *809 sender: *4 required: - action @@ -167896,11 +168352,11 @@ webhooks: - from required: - note - enterprise: *802 - installation: *803 - organization: *804 - project_card: *846 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project_card: *850 + repository: *809 sender: *4 required: - action @@ -167994,9 +168450,9 @@ webhooks: - from required: - column_id - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 project_card: allOf: - title: Project Card @@ -168193,7 +168649,7 @@ webhooks: type: string required: - after_id - repository: *805 + repository: *809 sender: *4 required: - action @@ -168273,10 +168729,10 @@ webhooks: type: string enum: - closed - enterprise: *802 - installation: *803 - organization: *804 - project: &848 + enterprise: *806 + installation: *807 + organization: *808 + project: &852 title: Project type: object properties: @@ -168403,7 +168859,7 @@ webhooks: - creator - created_at - updated_at - repository: *805 + repository: *809 sender: *4 required: - action @@ -168483,10 +168939,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - project_column: &847 + enterprise: *806 + installation: *807 + organization: *808 + project_column: &851 title: Project Column type: object properties: @@ -168526,7 +168982,7 @@ webhooks: - name - created_at - updated_at - repository: *805 + repository: *809 sender: *4 required: - action @@ -168605,14 +169061,14 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - project_column: *847 + enterprise: *806 + installation: *807 + organization: *808 + project_column: *851 repository: anyOf: - type: 'null' - - *805 + - *809 sender: *4 required: - action @@ -168701,11 +169157,11 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 - project_column: *847 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project_column: *851 + repository: *809 sender: *4 required: - action @@ -168785,11 +169241,11 @@ webhooks: type: string enum: - moved - enterprise: *802 - installation: *803 - organization: *804 - project_column: *847 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project_column: *851 + repository: *809 sender: *4 required: - action @@ -168869,11 +169325,11 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - project: *848 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project: *852 + repository: *809 sender: *4 required: - action @@ -168953,14 +169409,14 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - project: *848 + enterprise: *806 + installation: *807 + organization: *808 + project: *852 repository: anyOf: - type: 'null' - - *805 + - *809 sender: *4 required: - action @@ -169061,11 +169517,11 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 - project: *848 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project: *852 + repository: *809 sender: *4 required: - action @@ -169144,11 +169600,11 @@ webhooks: type: string enum: - reopened - enterprise: *802 - installation: *803 - organization: *804 - project: *848 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + project: *852 + repository: *809 sender: *4 required: - action @@ -169229,9 +169685,9 @@ webhooks: type: string enum: - closed - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -169312,9 +169768,9 @@ webhooks: type: string enum: - created - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -169395,9 +169851,9 @@ webhooks: type: string enum: - deleted - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -169518,9 +169974,9 @@ webhooks: type: string to: type: string - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -169603,7 +170059,7 @@ webhooks: type: string enum: - archived - changes: &852 + changes: &856 type: object properties: archived_at: @@ -169619,9 +170075,9 @@ webhooks: - string - 'null' format: date-time - installation: *803 - organization: *804 - projects_v2_item: &849 + installation: *807 + organization: *808 + projects_v2_item: &853 title: Projects v2 Item description: An item belonging to a project type: object @@ -169639,7 +170095,7 @@ webhooks: type: string description: The node ID of the content represented by this item. - content_type: *365 + content_type: *369 creator: *4 created_at: type: string @@ -169761,9 +170217,9 @@ webhooks: - 'null' to: type: string - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -169845,9 +170301,9 @@ webhooks: type: string enum: - created - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -169928,9 +170384,9 @@ webhooks: type: string enum: - deleted - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -170035,7 +170491,7 @@ webhooks: oneOf: - type: string - type: integer - - &850 + - &854 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -170059,7 +170515,7 @@ webhooks: required: - id - name - - &851 + - &855 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -170099,8 +170555,8 @@ webhooks: oneOf: - type: string - type: integer - - *850 - - *851 + - *854 + - *855 type: - 'null' - string @@ -170123,9 +170579,9 @@ webhooks: - 'null' required: - body - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -170222,9 +170678,9 @@ webhooks: type: - string - 'null' - installation: *803 - organization: *804 - projects_v2_item: *849 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -170307,10 +170763,10 @@ webhooks: type: string enum: - restored - changes: *852 - installation: *803 - organization: *804 - projects_v2_item: *849 + changes: *856 + installation: *807 + organization: *808 + projects_v2_item: *853 sender: *4 required: - action @@ -170392,9 +170848,9 @@ webhooks: type: string enum: - reopened - installation: *803 - organization: *804 - projects_v2: *358 + installation: *807 + organization: *808 + projects_v2: *362 sender: *4 required: - action @@ -170475,9 +170931,9 @@ webhooks: type: string enum: - created - installation: *803 - organization: *804 - projects_v2_status_update: *853 + installation: *807 + organization: *808 + projects_v2_status_update: *857 sender: *4 required: - action @@ -170558,9 +171014,9 @@ webhooks: type: string enum: - deleted - installation: *803 - organization: *804 - projects_v2_status_update: *853 + installation: *807 + organization: *808 + projects_v2_status_update: *857 sender: *4 required: - action @@ -170706,9 +171162,9 @@ webhooks: - string - 'null' format: date - installation: *803 - organization: *804 - projects_v2_status_update: *853 + installation: *807 + organization: *808 + projects_v2_status_update: *857 sender: *4 required: - action @@ -170779,10 +171235,10 @@ webhooks: title: public event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - repository @@ -170859,13 +171315,13 @@ webhooks: type: string enum: - assigned - assignee: *829 - enterprise: *802 - installation: *803 - number: &854 + assignee: *833 + enterprise: *806 + installation: *807 + number: &858 description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -173214,7 +173670,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -173296,11 +173752,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -175642,7 +176098,7 @@ webhooks: - draft reason: type: string - repository: *805 + repository: *809 sender: *4 required: - action @@ -175724,11 +176180,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -178070,7 +178526,7 @@ webhooks: - draft reason: type: string - repository: *805 + repository: *809 sender: *4 required: - action @@ -178152,13 +178608,13 @@ webhooks: type: string enum: - closed - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: &855 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: &859 allOf: - - *654 + - *658 - type: object properties: allow_auto_merge: @@ -178220,7 +178676,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *805 + repository: *809 sender: *4 required: - action @@ -178301,12 +178757,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -178386,11 +178842,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *802 - milestone: *363 - number: *854 - organization: *804 - pull_request: &856 + enterprise: *806 + milestone: *367 + number: *858 + organization: *808 + pull_request: &860 title: Pull Request type: object properties: @@ -180717,7 +181173,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -180796,11 +181252,11 @@ webhooks: type: string enum: - dequeued - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -183146,7 +183602,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *805 + repository: *809 sender: *4 required: - action @@ -183270,12 +183726,12 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -183355,11 +183811,11 @@ webhooks: type: string enum: - enqueued - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -185690,7 +186146,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -185770,11 +186226,11 @@ webhooks: type: string enum: - labeled - enterprise: *802 - installation: *803 - label: *828 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + label: *832 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -188122,7 +188578,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -188203,10 +188659,10 @@ webhooks: type: string enum: - locked - enterprise: *802 - installation: *803 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -190552,7 +191008,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -190632,12 +191088,12 @@ webhooks: type: string enum: - milestoned - enterprise: *802 - milestone: *363 - number: *854 - organization: *804 - pull_request: *856 - repository: *805 + enterprise: *806 + milestone: *367 + number: *858 + organization: *808 + pull_request: *860 + repository: *809 sender: *4 required: - action @@ -190716,12 +191172,12 @@ webhooks: type: string enum: - opened - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -190802,12 +191258,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -190887,12 +191343,12 @@ webhooks: type: string enum: - reopened - enterprise: *802 - installation: *803 - number: *854 - organization: *804 - pull_request: *855 - repository: *805 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 + pull_request: *859 + repository: *809 sender: *4 required: - action @@ -191267,9 +191723,9 @@ webhooks: - start_side - side - reactions - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: type: object properties: @@ -193499,7 +193955,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *805 + repository: *809 sender: *4 required: - action @@ -193579,7 +194035,7 @@ webhooks: type: string enum: - deleted - comment: &858 + comment: &862 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. @@ -193872,9 +194328,9 @@ webhooks: - start_side - side - reactions - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: type: object properties: @@ -196092,7 +196548,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *805 + repository: *809 sender: *4 required: - action @@ -196172,11 +196628,11 @@ webhooks: type: string enum: - edited - changes: *857 - comment: *858 - enterprise: *802 - installation: *803 - organization: *804 + changes: *861 + comment: *862 + enterprise: *806 + installation: *807 + organization: *808 pull_request: type: object properties: @@ -198397,7 +198853,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *805 + repository: *809 sender: *4 required: - action @@ -198478,9 +198934,9 @@ webhooks: type: string enum: - dismissed - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -200713,7 +201169,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 + repository: *809 review: description: The review that was affected. type: object @@ -200964,9 +201420,9 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -203080,8 +203536,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 - review: &859 + repository: *809 + review: &863 description: The review that was affected. type: object properties: @@ -203319,12 +203775,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -205671,7 +206127,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 requested_reviewer: title: User type: @@ -205757,12 +206213,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -208116,7 +208572,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 requested_team: title: Team description: Groups of organization members that gives permissions @@ -208311,12 +208767,12 @@ webhooks: type: string enum: - review_requested - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -210665,7 +211121,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 requested_reviewer: title: User type: @@ -210752,12 +211208,12 @@ webhooks: type: string enum: - review_requested - enterprise: *802 - installation: *803 + enterprise: *806 + installation: *807 number: description: The pull request number. type: integer - organization: *804 + organization: *808 pull_request: title: Pull Request type: object @@ -213097,7 +213553,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 requested_team: title: Team description: Groups of organization members that gives permissions @@ -213281,9 +213737,9 @@ webhooks: type: string enum: - submitted - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -215519,8 +215975,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 - review: *859 + repository: *809 + review: *863 sender: *4 required: - action @@ -215600,9 +216056,9 @@ webhooks: type: string enum: - resolved - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -217733,7 +218189,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 + repository: *809 sender: *4 thread: type: object @@ -218130,9 +218586,9 @@ webhooks: type: string enum: - unresolved - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 pull_request: title: Simple Pull Request type: object @@ -220246,7 +220702,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *805 + repository: *809 sender: *4 thread: type: object @@ -220645,10 +221101,10 @@ webhooks: type: string before: type: string - enterprise: *802 - installation: *803 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -222983,7 +223439,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -223065,11 +223521,11 @@ webhooks: type: string enum: - unassigned - assignee: *860 - enterprise: *802 - installation: *803 - number: *854 - organization: *804 + assignee: *864 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -225419,7 +225875,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -225498,11 +225954,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *802 - installation: *803 - label: *828 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + label: *832 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -227841,7 +228297,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -227922,10 +228378,10 @@ webhooks: type: string enum: - unlocked - enterprise: *802 - installation: *803 - number: *854 - organization: *804 + enterprise: *806 + installation: *807 + number: *858 + organization: *808 pull_request: title: Pull Request type: object @@ -230254,7 +230710,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *805 + repository: *809 sender: *4 required: - action @@ -230457,7 +230913,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *802 + enterprise: *806 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -230552,8 +231008,8 @@ webhooks: - url - author - committer - installation: *803 - organization: *804 + installation: *807 + organization: *808 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -231141,9 +231597,9 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 registry_package: type: object properties: @@ -231620,7 +232076,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *843 + items: *847 summary: type: string tag_name: @@ -231676,7 +232132,7 @@ webhooks: - owner - package_version - registry - repository: *805 + repository: *809 sender: *4 required: - action @@ -231754,9 +232210,9 @@ webhooks: type: string enum: - updated - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 registry_package: type: object properties: @@ -232068,7 +232524,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *843 + items: *847 summary: type: string tag_name: @@ -232118,7 +232574,7 @@ webhooks: - owner - package_version - registry - repository: *805 + repository: *809 sender: *4 required: - action @@ -232195,10 +232651,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - release: &861 + enterprise: *806 + installation: *807 + organization: *808 + release: &865 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -232529,7 +232985,7 @@ webhooks: - updated_at - zipball_url - body - repository: *805 + repository: *809 sender: *4 required: - action @@ -232606,11 +233062,11 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - release: *861 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + release: *865 + repository: *809 sender: *4 required: - action @@ -232727,11 +233183,11 @@ webhooks: type: boolean required: - to - enterprise: *802 - installation: *803 - organization: *804 - release: *861 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + release: *865 + repository: *809 sender: *4 required: - action @@ -232809,9 +233265,9 @@ webhooks: type: string enum: - prereleased - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -233147,7 +233603,7 @@ webhooks: - string - 'null' format: uri - repository: *805 + repository: *809 sender: *4 required: - action @@ -233223,10 +233679,10 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 - release: &862 + enterprise: *806 + installation: *807 + organization: *808 + release: &866 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -233559,7 +234015,7 @@ webhooks: - string - 'null' format: uri - repository: *805 + repository: *809 sender: *4 required: - action @@ -233635,11 +234091,11 @@ webhooks: type: string enum: - released - enterprise: *802 - installation: *803 - organization: *804 - release: *861 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + release: *865 + repository: *809 sender: *4 required: - action @@ -233715,11 +234171,11 @@ webhooks: type: string enum: - unpublished - enterprise: *802 - installation: *803 - organization: *804 - release: *862 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + release: *866 + repository: *809 sender: *4 required: - action @@ -233795,11 +234251,11 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - repository_advisory: *707 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + repository_advisory: *711 sender: *4 required: - action @@ -233875,11 +234331,11 @@ webhooks: type: string enum: - reported - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - repository_advisory: *707 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + repository_advisory: *711 sender: *4 required: - action @@ -233955,10 +234411,10 @@ webhooks: type: string enum: - archived - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234035,10 +234491,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234116,10 +234572,10 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234204,10 +234660,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234322,10 +234778,10 @@ webhooks: - 'null' items: type: string - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234397,10 +234853,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 status: type: string @@ -234481,10 +234937,10 @@ webhooks: type: string enum: - privatized - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234561,10 +235017,10 @@ webhooks: type: string enum: - publicized - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234658,10 +235114,10 @@ webhooks: - name required: - repository - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -234741,10 +235197,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 repository_ruleset: *158 sender: *4 required: @@ -234823,10 +235279,10 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 repository_ruleset: *158 sender: *4 required: @@ -234905,10 +235361,10 @@ webhooks: type: string enum: - edited - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 repository_ruleset: *158 changes: type: object @@ -234970,16 +235426,16 @@ webhooks: properties: added: type: array - items: *675 + items: *679 deleted: type: array - items: *675 + items: *679 updated: type: array items: type: object properties: - rule: *675 + rule: *679 changes: type: object properties: @@ -235216,10 +235672,10 @@ webhooks: - from required: - owner - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -235297,10 +235753,10 @@ webhooks: type: string enum: - unarchived - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -235378,7 +235834,7 @@ webhooks: type: string enum: - create - alert: &863 + alert: &867 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -235502,10 +235958,10 @@ webhooks: type: string enum: - open - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -235715,10 +236171,10 @@ webhooks: type: string enum: - dismissed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -235796,11 +236252,11 @@ webhooks: type: string enum: - reopen - alert: *863 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *867 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236002,10 +236458,10 @@ webhooks: enum: - fixed - open - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236083,7 +236539,7 @@ webhooks: type: string enum: - created - alert: &864 + alert: &868 type: object properties: number: *109 @@ -236193,10 +236649,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236277,11 +236733,11 @@ webhooks: type: string enum: - created - alert: *864 - installation: *803 - location: *865 - organization: *804 - repository: *805 + alert: *868 + installation: *807 + location: *869 + organization: *808 + repository: *809 sender: *4 required: - location @@ -236519,11 +236975,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *864 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *868 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236601,11 +237057,11 @@ webhooks: type: string enum: - reopened - alert: *864 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *868 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236683,11 +237139,11 @@ webhooks: type: string enum: - resolved - alert: *864 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *868 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236765,11 +237221,11 @@ webhooks: type: string enum: - validated - alert: *864 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + alert: *868 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -236899,10 +237355,10 @@ webhooks: - organization - enterprise - - repository: *805 - enterprise: *802 - installation: *803 - organization: *804 + repository: *809 + enterprise: *806 + installation: *807 + organization: *808 sender: *4 required: - action @@ -236980,11 +237436,11 @@ webhooks: type: string enum: - published - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - security_advisory: &866 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + security_advisory: &870 description: The details of the security advisory, including summary, description, and severity. type: object @@ -237170,11 +237626,11 @@ webhooks: type: string enum: - updated - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 - security_advisory: *866 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 + security_advisory: *870 sender: *4 required: - action @@ -237247,10 +237703,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -237436,11 +237892,11 @@ webhooks: from: type: object properties: - security_and_analysis: *372 - enterprise: *802 - installation: *803 - organization: *804 - repository: *438 + security_and_analysis: *376 + enterprise: *806 + installation: *807 + organization: *808 + repository: *442 sender: *4 required: - changes @@ -237518,12 +237974,12 @@ webhooks: type: string enum: - cancelled - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: &867 + sponsorship: &871 type: object properties: created_at: @@ -237828,12 +238284,12 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - sponsorship @@ -237921,12 +238377,12 @@ webhooks: type: string required: - from - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - changes @@ -238003,17 +238459,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &868 + effective_date: &872 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: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - sponsorship @@ -238087,7 +238543,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &869 + changes: &873 type: object properties: tier: @@ -238131,13 +238587,13 @@ webhooks: - from required: - tier - effective_date: *868 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + effective_date: *872 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - changes @@ -238214,13 +238670,13 @@ webhooks: type: string enum: - tier_changed - changes: *869 - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + changes: *873 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - sponsorship: *867 + sponsorship: *871 required: - action - changes @@ -238294,10 +238750,10 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238381,10 +238837,10 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -238818,15 +239274,15 @@ webhooks: type: - string - 'null' - enterprise: *802 + enterprise: *806 id: description: The unique identifier of the status. type: integer - installation: *803 + installation: *807 name: type: string - organization: *804 - repository: *805 + organization: *808 + repository: *809 sender: *4 sha: description: The Commit SHA. @@ -238936,15 +239392,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *193 + parent_issue: *195 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *193 - installation: *803 - organization: *804 - repository: *805 + sub_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -239028,15 +239484,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *193 + parent_issue: *195 parent_issue_repo: *67 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *193 - installation: *803 - organization: *804 - repository: *805 + sub_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -239120,15 +239576,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *193 + sub_issue: *195 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *193 - installation: *803 - organization: *804 - repository: *805 + parent_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -239212,15 +239668,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *193 + sub_issue: *195 sub_issue_repo: *67 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *193 - installation: *803 - organization: *804 - repository: *805 + parent_issue: *195 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -239297,12 +239753,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - team: &870 + team: &874 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -239532,9 +239988,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -240004,7 +240460,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - team @@ -240080,9 +240536,9 @@ webhooks: type: string enum: - created - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -240552,7 +241008,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - team @@ -240629,9 +241085,9 @@ webhooks: type: string enum: - deleted - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -241101,7 +241557,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - team @@ -241245,9 +241701,9 @@ webhooks: - from required: - permissions - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -241717,7 +242173,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - changes @@ -241795,9 +242251,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *802 - installation: *803 - organization: *804 + enterprise: *806 + installation: *807 + organization: *808 repository: title: Repository description: A git repository @@ -242267,7 +242723,7 @@ webhooks: - topics - visibility sender: *4 - team: *870 + team: *874 required: - action - team @@ -242343,10 +242799,10 @@ webhooks: type: string enum: - started - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 required: - action @@ -242419,17 +242875,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *802 + enterprise: *806 inputs: type: - object - 'null' additionalProperties: true - installation: *803 - organization: *804 + installation: *807 + organization: *808 ref: type: string - repository: *805 + repository: *809 sender: *4 workflow: type: string @@ -242511,10 +242967,10 @@ webhooks: type: string enum: - completed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 workflow_job: allOf: @@ -242770,7 +243226,7 @@ webhooks: type: string required: - conclusion - deployment: *564 + deployment: *568 required: - action - repository @@ -242849,10 +243305,10 @@ webhooks: type: string enum: - in_progress - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 workflow_job: allOf: @@ -243134,7 +243590,7 @@ webhooks: required: - status - steps - deployment: *564 + deployment: *568 required: - action - repository @@ -243213,10 +243669,10 @@ webhooks: type: string enum: - queued - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 workflow_job: type: object @@ -243362,7 +243818,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *564 + deployment: *568 required: - action - repository @@ -243441,10 +243897,10 @@ webhooks: type: string enum: - waiting - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 workflow_job: type: object @@ -243591,7 +244047,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *564 + deployment: *568 required: - action - repository @@ -243671,12 +244127,12 @@ webhooks: type: string enum: - completed - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: *824 + workflow: *828 workflow_run: title: Workflow Run type: object @@ -244695,12 +245151,12 @@ webhooks: type: string enum: - in_progress - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: *824 + workflow: *828 workflow_run: title: Workflow Run type: object @@ -245704,12 +246160,12 @@ webhooks: type: string enum: - requested - enterprise: *802 - installation: *803 - organization: *804 - repository: *805 + enterprise: *806 + installation: *807 + organization: *808 + repository: *809 sender: *4 - workflow: *824 + workflow: *828 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index ed2f94b03..caf90f64f 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -11130,6 +11130,81 @@ } } }, + "/enterprises/{enterprise}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an enterprise", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-organization" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_ghe" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", @@ -15384,6 +15459,69 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -89145,6 +89283,66 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", @@ -126941,6 +127139,138 @@ "included_gigabytes_bandwidth" ] }, + "billing-premium-request-usage-report-ghe": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, "combined-billing-usage": { "type": "object", "properties": { @@ -130498,6 +130828,117 @@ }, "additionalProperties": false }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "organization-full": { "title": "Organization Full", "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", @@ -158282,6 +158723,113 @@ "id" ] }, + "billing-premium-request-usage-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "billing-usage-report-user": { "type": "object", "properties": { @@ -308933,6 +309481,29 @@ "included_gigabytes_bandwidth": 10 } }, + "billing-premium-request-usage-report-ghe": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "combined-billing-usage": { "value": { "days_left_in_billing_cycle": 20, @@ -310690,6 +311261,29 @@ ] } }, + "billing-premium-request-usage-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -336112,6 +336706,29 @@ } ] }, + "billing-premium-request-usage-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report-user": { "value": { "usageItems": [ @@ -338376,9 +338993,9 @@ "type": "integer" } }, - "billing-usage-report-month": { + "billing-usage-report-month-default": { "name": "month", - "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -338394,6 +339011,51 @@ "type": "integer" } }, + "billing-usage-report-organization": { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-user": { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-model": { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-product": { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-month": { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "billing-usage-report-hour": { "name": "hour", "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", @@ -340332,6 +340994,21 @@ } } }, + "billing_premium_request_usage_report_ghe": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-ghe" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-ghe" + } + } + } + } + }, "billing_usage_report": { "description": "Response when getting a billing usage report", "content": { @@ -340392,6 +341069,21 @@ } } }, + "billing_premium_request_usage_report_org": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-org" + } + } + } + } + }, "billing_usage_report_org": { "description": "Billing usage report response for an organization", "content": { @@ -340634,6 +341326,21 @@ } } }, + "billing_premium_request_usage_report_user": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-user" + } + } + } + } + }, "billing_usage_report_user": { "description": "Response when getting a billing usage report", "content": { diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 55b6edca8..7d34b3ddc 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -7851,6 +7851,51 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an enterprise + description: Gets a report of premium request usage for an enterprise. To use + this endpoint, you must be an administrator or billing manager of the enterprise. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-organization" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_ghe" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/shared-storage": get: summary: Get shared storage billing for an enterprise @@ -10849,6 +10894,44 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -64229,6 +64312,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -91757,6 +91875,104 @@ components: - total_gigabytes_bandwidth_used - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth + billing-premium-request-usage-report-ghe: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + user: + type: string + description: The name of the user for the usage report. + organization: + type: string + description: The name of the organization for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems combined-billing-usage: type: object properties: @@ -94307,6 +94523,89 @@ components: - type: 'null' - "$ref": "#/components/schemas/simple-repository" additionalProperties: false + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems organization-full: title: Organization Full description: |- @@ -114321,6 +114620,86 @@ components: required: - key - id + billing-premium-request-usage-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems billing-usage-report-user: type: object properties: @@ -227080,6 +227459,23 @@ components: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 included_gigabytes_bandwidth: 10 + billing-premium-request-usage-report-ghe: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 combined-billing-usage: value: days_left_in_billing_cycle: 20 @@ -228653,6 +229049,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + billing-premium-request-usage-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 organization-full: value: login: github @@ -250413,6 +250826,23 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-premium-request-usage-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report-user: value: usageItems: @@ -252460,11 +252890,11 @@ components: required: false schema: type: integer - billing-usage-report-month: + billing-usage-report-month-default: name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: @@ -252478,6 +252908,44 @@ components: required: false schema: type: integer + billing-usage-report-organization: + name: organization + description: The organization name to query usage for. The name is not case + sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-user: + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-model: + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-product: + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-month: + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer billing-usage-report-hour: name: hour description: If specified, only return results for a single hour. The value @@ -254043,6 +254511,15 @@ components: default: value: message: Resources successfully removed from the cost center. + billing_premium_request_usage_report_ghe: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-ghe" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-ghe" billing_usage_report: description: Response when getting a billing usage report content: @@ -254080,6 +254557,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_org: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-org" billing_usage_report_org: description: Billing usage report response for an organization content: @@ -254232,6 +254718,15 @@ components: application/scim+json: schema: "$ref": "#/components/schemas/scim-error" + billing_premium_request_usage_report_user: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-user" billing_usage_report_user: description: Response when getting a billing usage report content: diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index ed2f94b03..caf90f64f 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -11130,6 +11130,81 @@ } } }, + "/enterprises/{enterprise}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an enterprise", + "description": "Gets a report of premium request usage for an enterprise. To use this endpoint, you must be an administrator or billing manager of the enterprise.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-ghe", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-organization" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + }, + { + "name": "cost_center_id", + "description": "The ID corresponding to a cost center. An ID of 'none' will target usage not associated to any cost center.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_ghe" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": false, + "category": "enterprise-admin", + "subcategory": "billing" + } + } + }, "/enterprises/{enterprise}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for an enterprise", @@ -15384,6 +15459,69 @@ } } }, + "/organizations/{org}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for an organization", + "description": "Gets a report of premium request usage for an organization. To use this endpoint, you must be an administrator of an organization within an enterprise or an organization account.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-org", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-user" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/organizations/{org}/settings/billing/usage": { "get": { "summary": "Get billing usage report for an organization", @@ -89145,6 +89283,66 @@ } } }, + "/users/{username}/settings/billing/premium_request/usage": { + "get": { + "summary": "Get billing premium request usage report for a user", + "description": "Gets a report of premium request usage for a user.", + "tags": [ + "billing" + ], + "operationId": "billing/get-github-billing-premium-request-usage-report-user", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user" + }, + "parameters": [ + { + "$ref": "#/components/parameters/username" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month-default" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-model" + }, + { + "$ref": "#/components/parameters/billing-usage-report-product" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/users/{username}/settings/billing/shared-storage": { "get": { "summary": "Get shared storage billing for a user", @@ -126941,6 +127139,138 @@ "included_gigabytes_bandwidth" ] }, + "billing-premium-request-usage-report-ghe": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "enterprise": { + "type": "string", + "description": "The unique identifier of the enterprise." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "organization": { + "type": "string", + "description": "The name of the organization for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "costCenter": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The unique identifier of the cost center." + }, + "name": { + "type": "string", + "description": "The name of the cost center." + } + }, + "required": [ + "id", + "name" + ] + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "enterprise", + "usageItems" + ] + }, "combined-billing-usage": { "type": "object", "properties": { @@ -130498,6 +130828,117 @@ }, "additionalProperties": false }, + "billing-premium-request-usage-report-org": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "organization": { + "type": "string", + "description": "The unique identifier of the organization." + }, + "user": { + "type": "string", + "description": "The name of the user for the usage report." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "organization", + "usageItems" + ] + }, "organization-full": { "title": "Organization Full", "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.", @@ -158282,6 +158723,113 @@ "id" ] }, + "billing-premium-request-usage-report-user": { + "type": "object", + "properties": { + "timePeriod": { + "type": "object", + "properties": { + "year": { + "type": "integer", + "description": "The year for the usage report." + }, + "month": { + "type": "integer", + "description": "The month for the usage report." + }, + "day": { + "type": "integer", + "description": "The day for the usage report." + } + }, + "required": [ + "year" + ] + }, + "user": { + "type": "string", + "description": "The unique identifier of the user." + }, + "product": { + "type": "string", + "description": "The product for the usage report." + }, + "model": { + "type": "string", + "description": "The model for the usage report." + }, + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "model": { + "type": "string", + "description": "Model name." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossQuantity": { + "type": "integer", + "description": "Gross quantity of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountQuantity": { + "type": "integer", + "description": "Discount quantity of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netQuantity": { + "type": "integer", + "description": "Net quantity of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + } + }, + "required": [ + "product", + "sku", + "model", + "unitType", + "pricePerUnit", + "grossQuantity", + "grossAmount", + "discountQuantity", + "discountAmount", + "netQuantity", + "netAmount" + ] + } + } + }, + "required": [ + "timePeriod", + "user", + "usageItems" + ] + }, "billing-usage-report-user": { "type": "object", "properties": { @@ -308933,6 +309481,29 @@ "included_gigabytes_bandwidth": 10 } }, + "billing-premium-request-usage-report-ghe": { + "value": { + "timePeriod": { + "year": 2025 + }, + "enterprise": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "combined-billing-usage": { "value": { "days_left_in_billing_cycle": 20, @@ -310690,6 +311261,29 @@ ] } }, + "billing-premium-request-usage-report-org": { + "value": { + "timePeriod": { + "year": 2025 + }, + "organization": "GitHub", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -336112,6 +336706,29 @@ } ] }, + "billing-premium-request-usage-report-user": { + "value": { + "timePeriod": { + "year": 2025 + }, + "user": "monalisa", + "usageItems": [ + { + "product": "Copilot", + "sku": "Copilot Premium Request", + "model": "GPT-5", + "unitType": "requests", + "pricePerUnit": 0.04, + "grossQuantity": 100, + "grossAmount": 4.0, + "discountQuantity": 0, + "discountAmount": 0.0, + "netQuantity": 100, + "netAmount": 4.0 + } + ] + } + }, "billing-usage-report-user": { "value": { "usageItems": [ @@ -338376,9 +338993,9 @@ "type": "integer" } }, - "billing-usage-report-month": { + "billing-usage-report-month-default": { "name": "month", - "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. Default value is the current month. If no year is specified the default `year` is used.", "in": "query", "required": false, "schema": { @@ -338394,6 +339011,51 @@ "type": "integer" } }, + "billing-usage-report-organization": { + "name": "organization", + "description": "The organization name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-user": { + "name": "user", + "description": "The user name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-model": { + "name": "model", + "description": "The model name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-product": { + "name": "product", + "description": "The product name to query usage for. The name is not case sensitive.", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + }, + "billing-usage-report-month": { + "name": "month", + "description": "If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. If no year is specified the default `year` is used.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "billing-usage-report-hour": { "name": "hour", "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. If no `year`, `month`, or `day` is specified, the default `year`, `month`, and `day` are used.", @@ -340332,6 +340994,21 @@ } } }, + "billing_premium_request_usage_report_ghe": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-ghe" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-ghe" + } + } + } + } + }, "billing_usage_report": { "description": "Response when getting a billing usage report", "content": { @@ -340392,6 +341069,21 @@ } } }, + "billing_premium_request_usage_report_org": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-org" + } + } + } + } + }, "billing_usage_report_org": { "description": "Billing usage report response for an organization", "content": { @@ -340634,6 +341326,21 @@ } } }, + "billing_premium_request_usage_report_user": { + "description": "Response when getting a billing premium request usage report", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-premium-request-usage-report-user" + } + } + } + } + }, "billing_usage_report_user": { "description": "Response when getting a billing usage report", "content": { diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 55b6edca8..7d34b3ddc 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -7851,6 +7851,51 @@ paths: enabledForGitHubApps: false category: enterprise-admin subcategory: billing + "/enterprises/{enterprise}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an enterprise + description: Gets a report of premium request usage for an enterprise. To use + this endpoint, you must be an administrator or billing manager of the enterprise. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-ghe + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-premium-request-usage-report-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-organization" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + - name: cost_center_id + description: The ID corresponding to a cost center. An ID of 'none' will target + usage not associated to any cost center. + in: query + required: false + schema: + type: string + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_ghe" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: true + enabledForGitHubApps: false + category: enterprise-admin + subcategory: billing "/enterprises/{enterprise}/settings/billing/shared-storage": get: summary: Get shared storage billing for an enterprise @@ -10849,6 +10894,44 @@ paths: enabledForGitHubApps: true category: dependabot subcategory: repository-access + "/organizations/{org}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for an organization + description: Gets a report of premium request usage for an organization. To + use this endpoint, you must be an administrator of an organization within + an enterprise or an organization account. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-org + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-user" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/organizations/{org}/settings/billing/usage": get: summary: Get billing usage report for an organization @@ -64229,6 +64312,41 @@ paths: enabledForGitHubApps: false category: billing subcategory: billing + "/users/{username}/settings/billing/premium_request/usage": + get: + summary: Get billing premium request usage report for a user + description: Gets a report of premium request usage for a user. + tags: + - billing + operationId: billing/get-github-billing-premium-request-usage-report-user + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-premium-request-usage-report-for-a-user + parameters: + - "$ref": "#/components/parameters/username" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month-default" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-model" + - "$ref": "#/components/parameters/billing-usage-report-product" + responses: + '200': + "$ref": "#/components/responses/billing_premium_request_usage_report_user" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/users/{username}/settings/billing/shared-storage": get: summary: Get shared storage billing for a user @@ -91757,6 +91875,104 @@ components: - total_gigabytes_bandwidth_used - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth + billing-premium-request-usage-report-ghe: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + enterprise: + type: string + description: The unique identifier of the enterprise. + user: + type: string + description: The name of the user for the usage report. + organization: + type: string + description: The name of the organization for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + costCenter: + type: object + properties: + id: + type: string + description: The unique identifier of the cost center. + name: + type: string + description: The name of the cost center. + required: + - id + - name + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - enterprise + - usageItems combined-billing-usage: type: object properties: @@ -94307,6 +94523,89 @@ components: - type: 'null' - "$ref": "#/components/schemas/simple-repository" additionalProperties: false + billing-premium-request-usage-report-org: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + organization: + type: string + description: The unique identifier of the organization. + user: + type: string + description: The name of the user for the usage report. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - organization + - usageItems organization-full: title: Organization Full description: |- @@ -114321,6 +114620,86 @@ components: required: - key - id + billing-premium-request-usage-report-user: + type: object + properties: + timePeriod: + type: object + properties: + year: + type: integer + description: The year for the usage report. + month: + type: integer + description: The month for the usage report. + day: + type: integer + description: The day for the usage report. + required: + - year + user: + type: string + description: The unique identifier of the user. + product: + type: string + description: The product for the usage report. + model: + type: string + description: The model for the usage report. + usageItems: + type: array + items: + type: object + properties: + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + model: + type: string + description: Model name. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossQuantity: + type: integer + description: Gross quantity of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountQuantity: + type: integer + description: Discount quantity of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netQuantity: + type: integer + description: Net quantity of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + required: + - product + - sku + - model + - unitType + - pricePerUnit + - grossQuantity + - grossAmount + - discountQuantity + - discountAmount + - netQuantity + - netAmount + required: + - timePeriod + - user + - usageItems billing-usage-report-user: type: object properties: @@ -227080,6 +227459,23 @@ components: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 included_gigabytes_bandwidth: 10 + billing-premium-request-usage-report-ghe: + value: + timePeriod: + year: 2025 + enterprise: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 combined-billing-usage: value: days_left_in_billing_cycle: 20 @@ -228653,6 +229049,23 @@ components: teams_url: https://api.github.com/repos/octocat/example-repo/teams trees_url: https://api.github.com/repos/octocat/example-repo/git/trees{/sha} hooks_url: https://api.github.com/repos/octocat/example-repo/hooks + billing-premium-request-usage-report-org: + value: + timePeriod: + year: 2025 + organization: GitHub + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 organization-full: value: login: github @@ -250413,6 +250826,23 @@ components: gravatar_id: '' url: https://api.github.com/orgs/github avatar_url: https://avatars.githubusercontent.com/u/9919? + billing-premium-request-usage-report-user: + value: + timePeriod: + year: 2025 + user: monalisa + usageItems: + - product: Copilot + sku: Copilot Premium Request + model: GPT-5 + unitType: requests + pricePerUnit: 0.04 + grossQuantity: 100 + grossAmount: 4.0 + discountQuantity: 0 + discountAmount: 0.0 + netQuantity: 100 + netAmount: 4.0 billing-usage-report-user: value: usageItems: @@ -252460,11 +252890,11 @@ components: required: false schema: type: integer - billing-usage-report-month: + billing-usage-report-month-default: name: month description: If specified, only return results for a single month. The value - of `month` is an integer between `1` and `12`. If no year is specified the - default `year` is used. + of `month` is an integer between `1` and `12`. Default value is the current + month. If no year is specified the default `year` is used. in: query required: false schema: @@ -252478,6 +252908,44 @@ components: required: false schema: type: integer + billing-usage-report-organization: + name: organization + description: The organization name to query usage for. The name is not case + sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-user: + name: user + description: The user name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-model: + name: model + description: The model name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-product: + name: product + description: The product name to query usage for. The name is not case sensitive. + in: query + required: false + schema: + type: string + billing-usage-report-month: + name: month + description: If specified, only return results for a single month. The value + of `month` is an integer between `1` and `12`. If no year is specified the + default `year` is used. + in: query + required: false + schema: + type: integer billing-usage-report-hour: name: hour description: If specified, only return results for a single hour. The value @@ -254043,6 +254511,15 @@ components: default: value: message: Resources successfully removed from the cost center. + billing_premium_request_usage_report_ghe: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-ghe" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-ghe" billing_usage_report: description: Response when getting a billing usage report content: @@ -254080,6 +254557,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_premium_request_usage_report_org: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-org" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-org" billing_usage_report_org: description: Billing usage report response for an organization content: @@ -254232,6 +254718,15 @@ components: application/scim+json: schema: "$ref": "#/components/schemas/scim-error" + billing_premium_request_usage_report_user: + description: Response when getting a billing premium request usage report + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-premium-request-usage-report-user" + examples: + default: + "$ref": "#/components/examples/billing-premium-request-usage-report-user" billing_usage_report_user: description: Response when getting a billing usage report content: