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 7c41c7bb6..ca430e05e 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 @@ -5750,6 +5750,60 @@ } } }, + "/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.\n\n**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": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-hour" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -99833,6 +99887,75 @@ "subscribed" ] }, + "billing-usage-report": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, "organization-full": { "title": "Organization Full", "description": "Organization Full", @@ -275938,6 +276061,25 @@ } ] }, + "billing-usage-report": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -301816,6 +301958,42 @@ "type": "string" } }, + "billing-usage-report-year": { + "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, `2024`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + "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`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + "billing-usage-report-day": { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`.", + "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`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "repository-id": { "name": "repository_id", "description": "The unique identifier of the repository.", @@ -303164,6 +303342,21 @@ } } }, + "billing_usage_report_org": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-report" + } + } + } + } + }, "conflict": { "description": "Conflict", "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 96006d7f1..15055fac6 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 @@ -4034,6 +4034,41 @@ paths: enabledForGitHubApps: true category: orgs subcategory: orgs + "/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: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-hour" + responses: + '200': + "$ref": "#/components/responses/billing_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -72289,6 +72324,58 @@ components: - reason - url - subscribed + billing-usage-report: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + organizationName: + type: string + description: Name of the organization. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + - organizationName organization-full: title: Organization Full description: Organization Full @@ -203657,6 +203744,20 @@ components: public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif description: A great organization + billing-usage-report: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + organizationName: GitHub + repositoryName: github/example organization-full: value: login: github @@ -225968,6 +226069,39 @@ components: required: true schema: type: string + billing-usage-report-year: + 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, + `2024`. Default value is the current year. + in: query + required: false + schema: + type: integer + 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`. + in: query + required: false + schema: + type: integer + billing-usage-report-day: + name: day + description: If specified, only return results for a single day. The value of + `day` is an integer between `1` and `31`. + 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`. + in: query + required: false + schema: + type: integer repository-id: name: repository_id description: The unique identifier of the repository. @@ -227076,6 +227210,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_usage_report_org: + description: Billing usage report response for an organization + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-report" + examples: + default: + "$ref": "#/components/examples/billing-usage-report" conflict: description: Conflict content: diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 7c41c7bb6..ca430e05e 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -5750,6 +5750,60 @@ } } }, + "/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.\n\n**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": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-hour" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -99833,6 +99887,75 @@ "subscribed" ] }, + "billing-usage-report": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, "organization-full": { "title": "Organization Full", "description": "Organization Full", @@ -275938,6 +276061,25 @@ } ] }, + "billing-usage-report": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + }, "organization-full": { "value": { "login": "github", @@ -301816,6 +301958,42 @@ "type": "string" } }, + "billing-usage-report-year": { + "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, `2024`. Default value is the current year.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + "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`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + "billing-usage-report-day": { + "name": "day", + "description": "If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`.", + "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`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, "repository-id": { "name": "repository_id", "description": "The unique identifier of the repository.", @@ -303164,6 +303342,21 @@ } } }, + "billing_usage_report_org": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-report" + } + } + } + } + }, "conflict": { "description": "Conflict", "content": { diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index 96006d7f1..15055fac6 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -4034,6 +4034,41 @@ paths: enabledForGitHubApps: true category: orgs subcategory: orgs + "/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: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-hour" + responses: + '200': + "$ref": "#/components/responses/billing_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -72289,6 +72324,58 @@ components: - reason - url - subscribed + billing-usage-report: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + organizationName: + type: string + description: Name of the organization. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + - organizationName organization-full: title: Organization Full description: Organization Full @@ -203657,6 +203744,20 @@ components: public_members_url: https://api.github.com/orgs/github/public_members{/member} avatar_url: https://github.com/images/error/octocat_happy.gif description: A great organization + billing-usage-report: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + organizationName: GitHub + repositoryName: github/example organization-full: value: login: github @@ -225968,6 +226069,39 @@ components: required: true schema: type: string + billing-usage-report-year: + 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, + `2024`. Default value is the current year. + in: query + required: false + schema: + type: integer + 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`. + in: query + required: false + schema: + type: integer + billing-usage-report-day: + name: day + description: If specified, only return results for a single day. The value of + `day` is an integer between `1` and `31`. + 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`. + in: query + required: false + schema: + type: integer repository-id: name: repository_id description: The unique identifier of the repository. @@ -227076,6 +227210,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_usage_report_org: + description: Billing usage report response for an organization + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-report" + examples: + default: + "$ref": "#/components/examples/billing-usage-report" conflict: description: Conflict 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 e603f93d0..ca6168549 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 @@ -55673,6 +55673,313 @@ } } }, + "/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.\n\n**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": [ + { + "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, `2024`. 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`.", + "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`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "hour", + "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", 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 c3c640de4..f0548c26d 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 @@ -15759,6 +15759,137 @@ paths: enabledForGitHubApps: true category: orgs subcategory: orgs + "/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: + - &89 + 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, + `2024`. 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`. + 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`. + in: query + required: false + schema: + type: integer + - name: hour + description: If specified, only return results for a single hour. The value + of `hour` is an integer between `0` and `23`. + in: query + required: false + schema: + type: integer + responses: + '200': + description: Billing usage report response for an organization + content: + application/json: + schema: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + organizationName: + type: string + description: Name of the organization. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + - organizationName + examples: + default: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + organizationName: GitHub + repositoryName: github/example + '400': *14 + '403': *27 + '500': *39 + '503': *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -15779,13 +15910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - &89 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *89 responses: '200': description: Response 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 e603f93d0..ca6168549 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 @@ -55673,6 +55673,313 @@ } } }, + "/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.\n\n**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": [ + { + "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, `2024`. 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`.", + "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`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "hour", + "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", 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 c3c640de4..f0548c26d 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 @@ -15759,6 +15759,137 @@ paths: enabledForGitHubApps: true category: orgs subcategory: orgs + "/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: + - &89 + 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, + `2024`. 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`. + 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`. + in: query + required: false + schema: + type: integer + - name: hour + description: If specified, only return results for a single hour. The value + of `hour` is an integer between `0` and `23`. + in: query + required: false + schema: + type: integer + responses: + '200': + description: Billing usage report response for an organization + content: + application/json: + schema: + type: object + properties: + usageItems: + type: array + items: + type: object + properties: + date: + type: string + description: Date of the usage line item. + product: + type: string + description: Product name. + sku: + type: string + description: SKU name. + quantity: + type: integer + description: Quantity of the usage line item. + unitType: + type: string + description: Unit type of the usage line item. + pricePerUnit: + type: number + description: Price per unit of the usage line item. + grossAmount: + type: number + description: Gross amount of the usage line item. + discountAmount: + type: number + description: Discount amount of the usage line item. + netAmount: + type: number + description: Net amount of the usage line item. + organizationName: + type: string + description: Name of the organization. + repositoryName: + type: string + description: Name of the repository. + required: + - date + - product + - sku + - quantity + - unitType + - pricePerUnit + - grossAmount + - discountAmount + - netAmount + - organizationName + examples: + default: + value: + usageItems: + - date: '2023-08-01' + product: Actions + sku: Actions Linux + quantity: 100 + unitType: minutes + pricePerUnit: 0.008 + grossAmount: 0.8 + discountAmount: 0 + netAmount: 0.8 + organizationName: GitHub + repositoryName: github/example + '400': *14 + '403': *27 + '500': *39 + '503': *60 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -15779,13 +15910,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - &89 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *89 responses: '200': description: Response 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 a3d789779..eaa4210d8 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -68128,6 +68128,313 @@ "deprecated": true } }, + "/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.\n\n**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/enterprise-cloud@latest//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/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-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, `2024`. 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`.", + "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`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "hour", + "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -510559,7 +510866,7 @@ "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", + "description": "Lists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", "operationId": "enterprise-admin/list-provisioned-groups-enterprise", "tags": [ "enterprise-admin", @@ -511174,7 +511481,7 @@ }, "post": { "summary": "Provision a SCIM enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nCreates a SCIM group for an enterprise.\n\nWhen members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user.", + "description": "Creates a SCIM group for an enterprise.\n\nWhen members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user.", "operationId": "enterprise-admin/provision-enterprise-group", "tags": [ "enterprise-admin" @@ -511759,7 +512066,7 @@ "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nGets information about a SCIM group.", + "description": "Gets information about a SCIM group.", "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-group", "tags": [ "enterprise-admin" @@ -512306,7 +512613,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nReplaces an existing provisioned group’s information.\n\nYou must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.", + "description": "Replaces an existing provisioned group’s information.\n\nYou must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-group", "tags": [ "enterprise-admin" @@ -512976,7 +513283,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nUpdate a provisioned group’s individual attributes.\n\nTo modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships.\n\nYou can submit group memberships individually or in batches for improved efficiency.\n\n> [!NOTE]\n> Memberships are referenced via a local user id. Ensure users are created before referencing them here.", + "description": "Update a provisioned group’s individual attributes.\n\nTo modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships.\n\nYou can submit group memberships individually or in batches for improved efficiency.\n\n> [!NOTE]\n> Memberships are referenced via a local user id. Ensure users are created before referencing them here.", "operationId": "enterprise-admin/update-attribute-for-enterprise-group", "tags": [ "enterprise-admin" @@ -513636,7 +513943,7 @@ }, "delete": { "summary": "Delete a SCIM group from an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning using the REST API is in public preview and subject to change.\n\nDeletes a SCIM group from an enterprise.", + "description": "Deletes a SCIM group from an enterprise.", "operationId": "enterprise-admin/delete-scim-group-from-enterprise", "tags": [ "enterprise-admin" @@ -513983,7 +514290,7 @@ "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", + "description": "Lists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", "operationId": "enterprise-admin/list-provisioned-identities-enterprise", "tags": [ "enterprise-admin" @@ -514675,7 +514982,7 @@ }, "post": { "summary": "Provision a SCIM enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nCreates an external identity for a new SCIM enterprise user.\n\nSCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML.", + "description": "Creates an external identity for a new SCIM enterprise user.\n\nSCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML.", "operationId": "enterprise-admin/provision-enterprise-user", "tags": [ "enterprise-admin" @@ -515551,7 +515858,7 @@ "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nGets information about a SCIM user.", + "description": "Gets information about a SCIM user.", "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-user", "tags": [ "enterprise-admin" @@ -516179,7 +516486,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nReplaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", + "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-user", "tags": [ "enterprise-admin" @@ -517020,7 +517327,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nUpdate a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", + "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", "operationId": "enterprise-admin/update-attribute-for-enterprise-user", "tags": [ "enterprise-admin" @@ -517834,7 +518141,7 @@ }, "delete": { "summary": "Delete a SCIM user from an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning using the REST API is in public preview and subject to change.\n\nSuspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible.", + "description": "Suspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible.", "operationId": "enterprise-admin/delete-user-from-enterprise", "tags": [ "enterprise-admin" 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 098c96d76..17be690e6 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &277 + type: &283 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &132 + schema: &138 title: Validation Error Simple description: Validation Error Simple type: object @@ -1062,7 +1062,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: - - &578 + - &584 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1593,7 +1593,7 @@ paths: schema: type: integer default: 30 - - &201 + - &207 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 @@ -1609,7 +1609,7 @@ paths: application/json: schema: type: array - items: &202 + items: &208 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1702,7 +1702,7 @@ paths: - installation_id - repository_id examples: - default: &203 + default: &209 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &588 + schema: &594 title: Scim Error description: Scim Error type: object @@ -1765,7 +1765,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &131 + schema: &137 title: Validation Error description: Validation Error type: object @@ -1837,7 +1837,7 @@ paths: description: Response content: application/json: - schema: &204 + schema: &210 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1972,7 +1972,7 @@ paths: - request - response examples: - default: &205 + default: &211 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2032,7 +2032,7 @@ paths: parameters: - *16 responses: - '202': &134 + '202': &140 description: Accepted content: application/json: @@ -7598,7 +7598,7 @@ paths: description: Response content: application/json: - schema: &135 + schema: &141 type: object properties: total_active_caches_count: @@ -7613,7 +7613,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &136 + default: &142 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7708,7 +7708,7 @@ paths: - all - local_only - selected - selected_actions_url: &139 + selected_actions_url: &145 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` @@ -8089,7 +8089,7 @@ paths: description: Success response content: application/json: - schema: &142 + schema: &148 type: object properties: default_workflow_permissions: &44 @@ -8137,7 +8137,7 @@ paths: required: true content: application/json: - schema: &143 + schema: &149 type: object properties: default_workflow_permissions: *44 @@ -8966,7 +8966,7 @@ paths: application/json: schema: type: array - items: &147 + items: &153 title: Runner Application description: Runner Application type: object @@ -8991,7 +8991,7 @@ paths: - download_url - filename examples: - default: &148 + default: &154 value: - os: osx architecture: x64 @@ -9075,7 +9075,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &149 + '201': &155 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: - token - expires_at examples: - default: &150 + default: &156 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9229,7 +9229,7 @@ paths: application/json: schema: *56 examples: - default: &151 + default: &157 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9261,7 +9261,7 @@ paths: application/json: schema: *53 examples: - default: &152 + default: &158 value: id: 23 name: MBP @@ -9475,7 +9475,7 @@ paths: - *38 - *52 responses: - '200': &153 + '200': &159 description: Response content: application/json: @@ -9531,7 +9531,7 @@ paths: parameters: - *38 - *52 - - &154 + - &160 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9628,7 +9628,7 @@ paths: required: true content: application/json: - schema: &161 + schema: &167 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9699,7 +9699,7 @@ paths: required: false schema: type: string - - &162 + - &168 name: include description: |- The event types to include: @@ -9717,7 +9717,7 @@ paths: - web - git - all - - &163 + - &169 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. @@ -9725,7 +9725,7 @@ paths: required: false schema: type: string - - &164 + - &170 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. @@ -9733,7 +9733,7 @@ paths: required: false schema: type: string - - &165 + - &171 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9755,7 +9755,7 @@ paths: application/json: schema: type: array - items: &166 + items: &172 type: object properties: "@timestamp": @@ -9877,7 +9877,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &167 + default: &173 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10441,7 +10441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &169 + - &175 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`, @@ -10451,7 +10451,7 @@ paths: schema: &77 type: string description: The name of the tool used to generate the code scanning analysis. - - &170 + - &176 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 @@ -10475,7 +10475,7 @@ paths: be returned. in: query required: false - schema: &171 + schema: &177 type: string description: State of a code scanning alert. enum: @@ -10500,7 +10500,7 @@ paths: application/json: schema: type: array - items: &172 + items: &178 type: object properties: number: &81 @@ -10529,7 +10529,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &385 + instances_url: &391 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10565,7 +10565,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &386 + dismissed_reason: &392 type: - string - 'null' @@ -10576,14 +10576,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &387 + dismissed_comment: &393 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &388 + rule: &394 type: object properties: id: @@ -10644,7 +10644,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &389 + tool: &395 type: object properties: name: *77 @@ -10655,15 +10655,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *78 - most_recent_instance: &390 + most_recent_instance: &396 type: object properties: - ref: &383 + ref: &389 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &396 + analysis_key: &402 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10674,7 +10674,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &397 + category: &403 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11058,7 +11058,7 @@ paths: - most_recent_instance - repository examples: - default: &173 + default: &179 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11716,7 +11716,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &179 + items: &185 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11731,7 +11731,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &223 + - &229 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11790,7 +11790,7 @@ paths: parent: anyOf: - type: 'null' - - &236 + - &242 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -11984,7 +11984,7 @@ paths: - created_at additionalProperties: false examples: - default: &180 + default: &186 value: total_seats: 2 seats: @@ -12787,7 +12787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &187 + - &193 name: state in: query description: |- @@ -12796,7 +12796,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &188 + - &194 name: severity in: query description: |- @@ -12805,7 +12805,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &189 + - &195 name: ecosystem in: query description: |- @@ -12814,14 +12814,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &190 + - &196 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 - - &191 + - &197 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12831,7 +12831,7 @@ paths: enum: - development - runtime - - &192 + - &198 name: sort in: query description: |- @@ -12847,7 +12847,7 @@ paths: - *76 - *74 - *75 - - &193 + - &199 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12860,7 +12860,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &194 + - &200 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12880,7 +12880,7 @@ paths: application/json: schema: type: array - items: &195 + items: &201 type: object description: A Dependabot alert. properties: @@ -12932,7 +12932,7 @@ paths: - development - runtime - - security_advisory: &434 + security_advisory: &440 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -13167,7 +13167,7 @@ paths: dismissal. maxLength: 280 fixed_at: *90 - auto_dismissed_at: &435 + auto_dismissed_at: &441 type: - string - 'null' @@ -13194,7 +13194,7 @@ paths: - repository additionalProperties: false examples: - default: &196 + default: &202 value: - number: 2 state: dismissed @@ -13600,7 +13600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &268 + - &274 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13611,7 +13611,7 @@ paths: enum: - open - resolved - - &269 + - &275 name: secret_type in: query description: |- @@ -13621,7 +13621,7 @@ paths: required: false schema: type: string - - &270 + - &276 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13630,7 +13630,7 @@ paths: required: false schema: type: string - - &271 + - &277 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. @@ -13646,7 +13646,7 @@ paths: - *17 - *74 - *75 - - &272 + - &278 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13655,7 +13655,7 @@ paths: required: false schema: type: string - - &273 + - &279 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13664,7 +13664,7 @@ paths: schema: type: boolean default: false - - &274 + - &280 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13680,7 +13680,7 @@ paths: application/json: schema: type: array - items: &275 + items: &281 type: object properties: number: *81 @@ -13696,14 +13696,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &571 + state: &577 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: &572 + resolution: &578 type: - string - 'null' @@ -13796,7 +13796,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &276 + default: &282 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -14057,7 +14057,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &284 type: object properties: total_minutes_used: @@ -14127,7 +14127,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &279 + default: &285 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -14165,7 +14165,7 @@ paths: description: Success content: application/json: - schema: &280 + schema: &286 type: object properties: total_advanced_security_committers: @@ -14228,7 +14228,7 @@ paths: required: - repositories examples: - default: &281 + default: &287 value: total_advanced_security_committers: 2 total_count: 2 @@ -14379,7 +14379,7 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': &133 + '409': &139 description: Conflict content: application/json: @@ -14471,7 +14471,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &288 type: object properties: total_gigabytes_bandwidth_used: @@ -14489,7 +14489,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &283 + default: &289 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14521,7 +14521,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &290 type: object properties: days_left_in_billing_cycle: @@ -14539,7 +14539,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &285 + default: &291 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14564,7 +14564,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *38 - - name: year + - &128 + 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, `2024`. Default value is the current year. @@ -14572,21 +14573,24 @@ paths: required: false schema: type: integer - - name: month + - &129 + name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. in: query required: false schema: type: integer - - name: day + - &130 + name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. in: query required: false schema: type: integer - - name: hour + - &131 + name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. in: query @@ -14605,7 +14609,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: + schema: &132 type: object properties: usageItems: @@ -14658,7 +14662,7 @@ paths: - netAmount - organizationName examples: - default: + default: &133 value: usageItems: - date: '2023-08-01' @@ -14784,7 +14788,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &235 + - &241 name: team_slug description: The slug of the team name. in: path @@ -14824,7 +14828,7 @@ paths: type: array items: *97 examples: - default: &181 + default: &187 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -15158,7 +15162,7 @@ paths: milestone: anyOf: - type: 'null' - - &422 + - &428 title: Milestone description: A collection of related issues and pull requests. @@ -15408,7 +15412,7 @@ paths: - author_association - created_at - updated_at - comment: &481 + comment: &487 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15981,7 +15985,7 @@ paths: url: type: string format: uri - user: &627 + user: &633 title: Public User description: Public User type: object @@ -17871,7 +17875,7 @@ paths: - closed - all default: open - - &224 + - &230 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17922,7 +17926,7 @@ paths: type: array items: *112 examples: - default: &225 + default: &231 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19318,14 +19322,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: - - &305 + - &311 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &306 + - &312 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19396,7 +19400,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &319 + '301': &325 description: Moved permanently content: application/json: @@ -19418,7 +19422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &509 + - &515 name: all description: If `true`, show notifications marked as read. in: query @@ -19426,7 +19430,7 @@ paths: schema: type: boolean default: false - - &510 + - &516 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19436,7 +19440,7 @@ paths: type: boolean default: false - *102 - - &511 + - &517 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: @@ -19468,7 +19472,7 @@ paths: properties: id: type: string - repository: &146 + repository: &152 title: Minimal Repository description: Minimal Repository type: object @@ -19807,7 +19811,7 @@ paths: type: boolean examples: - false - security_and_analysis: &257 + security_and_analysis: &263 type: - object - 'null' @@ -19962,7 +19966,7 @@ paths: - url - subscription_url examples: - default: &512 + default: &518 value: - id: '1' repository: @@ -20515,7 +20519,7 @@ paths: type: array items: *50 examples: - default: &644 + default: &650 value: - login: github id: 1 @@ -20580,7 +20584,7 @@ paths: - 3 custom_roles: type: array - items: &182 + items: &188 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20629,7 +20633,7 @@ paths: - created_at - updated_at examples: - default: &183 + default: &189 value: id: 8030 name: Security Engineer @@ -20661,6 +20665,48 @@ paths: category: orgs subcategory: custom-roles deprecated: true + "/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/enterprise-cloud@latest//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/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + parameters: + - &134 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + - *128 + - *129 + - *130 + - *131 + responses: + '200': + description: Billing usage report response for an organization + content: + application/json: + schema: *132 + examples: + default: *133 + '400': *14 + '403': *27 + '500': *80 + '503': *92 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -20681,19 +20727,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - &128 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *134 responses: '200': description: Response content: application/json: - schema: &129 + schema: &135 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -21063,7 +21103,7 @@ paths: - updated_at - archived_at examples: - default-response: &130 + default-response: &136 value: login: github id: 1 @@ -21156,7 +21196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *128 + - *134 requestBody: required: false content: @@ -21380,18 +21420,18 @@ paths: description: Response content: application/json: - schema: *129 + schema: *135 examples: - default: *130 + default: *136 '422': description: Validation failed content: application/json: schema: oneOf: - - *131 - - *132 - '409': *133 + - *137 + - *138 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21414,9 +21454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *128 + - *134 responses: - '202': *134 + '202': *140 '404': *6 '403': *27 x-github: @@ -21439,15 +21479,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *135 + schema: *141 examples: - default: *136 + default: *142 headers: Link: *37 x-github: @@ -21470,7 +21510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -21488,7 +21528,7 @@ paths: type: integer repository_cache_usages: type: array - items: &324 + items: &330 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21546,13 +21586,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *128 + - *134 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &137 + schema: &143 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -21566,7 +21606,7 @@ paths: required: - include_claim_keys examples: - default: &138 + default: &144 value: include_claim_keys: - repo @@ -21588,20 +21628,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: application/json: - schema: *137 + schema: *143 examples: - default: *138 + default: *144 responses: '201': description: Empty response content: application/json: - schema: &157 + schema: &163 title: Empty Object description: An object without any properties. type: object @@ -21631,7 +21671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -21640,7 +21680,7 @@ paths: schema: type: object properties: - enabled_repositories: &140 + enabled_repositories: &146 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21654,7 +21694,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *40 - selected_actions_url: *139 + selected_actions_url: *145 required: - enabled_repositories examples: @@ -21683,7 +21723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -21694,7 +21734,7 @@ paths: schema: type: object properties: - enabled_repositories: *140 + enabled_repositories: *146 allowed_actions: *40 required: - enabled_repositories @@ -21722,7 +21762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -21742,7 +21782,7 @@ paths: type: array items: *55 examples: - default: &638 + default: &644 value: total_count: 1 repositories: @@ -21882,7 +21922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -21926,8 +21966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *128 - - &141 + - *134 + - &147 name: repository_id description: The unique identifier of the repository. in: path @@ -21955,8 +21995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *128 - - *141 + - *134 + - *147 responses: '204': description: Response @@ -21979,7 +22019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -22010,7 +22050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -22042,13 +22082,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *142 + schema: *148 examples: default: *46 x-github: @@ -22071,7 +22111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *128 + - *134 responses: '204': description: Success response @@ -22082,7 +22122,7 @@ paths: required: false content: application/json: - schema: *143 + schema: *149 examples: default: *46 x-github: @@ -22104,7 +22144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *128 + - *134 - *17 - *18 - name: visible_to_repository @@ -22129,7 +22169,7 @@ paths: type: number runner_groups: type: array - items: &144 + items: &150 type: object properties: id: @@ -22242,7 +22282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: @@ -22312,9 +22352,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *150 examples: - default: &145 + default: &151 value: id: 2 name: octo-runner-group @@ -22349,14 +22389,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *128 + - *134 - *49 responses: '200': description: Response content: application/json: - schema: *144 + schema: *150 examples: default: value: @@ -22392,7 +22432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *128 + - *134 - *49 requestBody: required: true @@ -22444,9 +22484,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *150 examples: - default: *145 + default: *151 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22465,7 +22505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *128 + - *134 - *49 responses: '204': @@ -22489,7 +22529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *128 + - *134 - *49 - *18 - *17 @@ -22508,9 +22548,9 @@ paths: type: number repositories: type: array - items: *146 + items: *152 examples: - default: &630 + default: &636 value: total_count: 1 repositories: @@ -22762,7 +22802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *128 + - *134 - *49 requestBody: required: true @@ -22807,9 +22847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *128 + - *134 - *49 - - *141 + - *147 responses: '204': description: Response @@ -22831,9 +22871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *128 + - *134 - *49 - - *141 + - *147 responses: '204': description: Response @@ -22856,7 +22896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *128 + - *134 - *49 - *17 - *18 @@ -22898,7 +22938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *128 + - *134 - *49 requestBody: required: true @@ -22943,7 +22983,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *128 + - *134 - *49 - *52 responses: @@ -22967,7 +23007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *128 + - *134 - *49 - *52 responses: @@ -22999,7 +23039,7 @@ paths: in: query schema: type: string - - *128 + - *134 - *17 - *18 responses: @@ -23043,7 +23083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -23051,9 +23091,9 @@ paths: application/json: schema: type: array - items: *147 + items: *153 examples: - default: *148 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23075,7 +23115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: @@ -23118,7 +23158,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *149 + '201': *155 '404': *6 '422': *7 x-github: @@ -23148,7 +23188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *128 + - *134 responses: '201': description: Response @@ -23156,7 +23196,7 @@ paths: application/json: schema: *56 examples: - default: *150 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23184,7 +23224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *128 + - *134 responses: '201': description: Response @@ -23192,7 +23232,7 @@ paths: application/json: schema: *56 examples: - default: *151 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23214,7 +23254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 responses: '200': @@ -23223,7 +23263,7 @@ paths: application/json: schema: *53 examples: - default: *152 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23244,7 +23284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *128 + - *134 - *52 responses: '204': @@ -23270,7 +23310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 responses: '200': *58 @@ -23295,7 +23335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 requestBody: required: true @@ -23344,7 +23384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 requestBody: required: true @@ -23394,10 +23434,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 responses: - '200': *153 + '200': *159 '404': *6 x-github: githubCloudOnly: false @@ -23424,9 +23464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 - - *154 + - *160 responses: '200': *58 '404': *6 @@ -23453,7 +23493,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *128 + - *134 - *17 - *18 responses: @@ -23471,7 +23511,7 @@ paths: type: integer secrets: type: array - items: &155 + items: &161 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23546,13 +23586,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: &344 + schema: &350 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23587,7 +23627,7 @@ paths: - key_id - key examples: - default: &345 + default: &351 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23612,8 +23652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *128 - - &156 + - *134 + - &162 name: secret_name description: The name of the secret. in: path @@ -23625,7 +23665,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: default: value: @@ -23655,8 +23695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -23711,7 +23751,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -23737,8 +23777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '204': description: Response @@ -23764,8 +23804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - *18 - *17 responses: @@ -23783,9 +23823,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: &160 + default: &166 value: total_count: 1 repositories: @@ -23877,8 +23917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -23930,8 +23970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -23964,8 +24004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -23997,8 +24037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *128 - - &329 + - *134 + - &335 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)." @@ -24022,7 +24062,7 @@ paths: type: integer variables: type: array - items: &158 + items: &164 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24112,7 +24152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *128 + - *134 requestBody: required: true content: @@ -24160,7 +24200,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -24185,8 +24225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *128 - - &159 + - *134 + - &165 name: name description: The name of the variable. in: path @@ -24198,7 +24238,7 @@ paths: description: Response content: application/json: - schema: *158 + schema: *164 examples: default: value: @@ -24228,8 +24268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 requestBody: required: true content: @@ -24291,8 +24331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 responses: '204': description: Response @@ -24318,8 +24358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 - *18 - *17 responses: @@ -24337,9 +24377,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: *160 + default: *166 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24365,8 +24405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 requestBody: required: true content: @@ -24415,8 +24455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 - name: repository_id in: path required: true @@ -24450,8 +24490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 - name: repository_id in: path required: true @@ -24482,7 +24522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -24509,11 +24549,11 @@ paths: required: true content: application/json: - schema: *161 + schema: *167 examples: default: *61 parameters: - - *128 + - *134 responses: '200': description: Response @@ -24537,7 +24577,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -24565,7 +24605,7 @@ paths: - *17 - *74 - *75 - - *128 + - *134 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24606,7 +24646,7 @@ paths: repository_id: type: integer examples: - default: &358 + default: &364 value: attestations: - bundle: @@ -24724,7 +24764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *128 + - *134 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -24732,10 +24772,10 @@ paths: required: false schema: type: string - - *162 - - *163 - - *164 - - *165 + - *168 + - *169 + - *170 + - *171 - *17 responses: '200': @@ -24744,9 +24784,9 @@ paths: application/json: schema: type: array - items: *166 + items: *172 examples: - default: *167 + default: *173 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24763,7 +24803,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -24775,7 +24815,7 @@ paths: type: array items: *4 examples: - default: &226 + default: &232 value: - login: octocat id: 1 @@ -24813,8 +24853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *128 - - &168 + - *134 + - &174 name: username description: The handle for the GitHub user account. in: path @@ -24845,8 +24885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -24866,8 +24906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -24892,9 +24932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *128 - - *169 - - *170 + - *134 + - *175 + - *176 - *74 - *75 - *18 @@ -24905,7 +24945,7 @@ paths: be returned. in: query required: false - schema: *171 + schema: *177 - name: sort description: The property by which to sort the results. in: query @@ -24921,7 +24961,7 @@ paths: be returned. in: query required: false - schema: &384 + schema: &390 type: string description: Severity of a code scanning alert. enum: @@ -24939,9 +24979,9 @@ paths: application/json: schema: type: array - items: *172 + items: *178 examples: - default: *173 + default: *179 headers: Link: *37 '404': *6 @@ -24967,7 +25007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *128 + - *134 - name: target_type in: query description: The target type of the code security configuration @@ -24995,7 +25035,7 @@ paths: application/json: schema: type: array - items: &174 + items: &180 type: object description: A code security configuration properties: @@ -25234,7 +25274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *128 + - *134 requestBody: required: true content: @@ -25406,9 +25446,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *174 + schema: *180 examples: - default: &175 + default: &181 value: id: 1325 target_type: organization @@ -25454,7 +25494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *128 + - *134 responses: '200': description: Response @@ -25474,7 +25514,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *174 + configuration: *180 examples: default: value: @@ -25558,7 +25598,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *128 + - *134 requestBody: required: true content: @@ -25581,12 +25621,12 @@ paths: - 32 - 91 responses: - '204': &177 + '204': &183 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25608,8 +25648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *128 - - &176 + - *134 + - &182 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -25621,9 +25661,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *180 examples: - default: *175 + default: *181 '304': *35 '403': *27 '404': *6 @@ -25647,8 +25687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *128 - - *176 + - *134 + - *182 requestBody: required: true content: @@ -25800,7 +25840,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *174 + schema: *180 examples: default: value: @@ -25851,14 +25891,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *128 - - *176 + - *134 + - *182 responses: - '204': *177 + '204': *183 '400': *14 '403': *27 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25882,8 +25922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *128 - - *176 + - *134 + - *182 requestBody: required: true content: @@ -25922,7 +25962,7 @@ paths: - 32 - 91 responses: - '202': *134 + '202': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25946,8 +25986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *128 - - *176 + - *134 + - *182 requestBody: required: true content: @@ -25987,12 +26027,12 @@ paths: - none - private_and_internal - public - configuration: *174 + configuration: *180 examples: default: value: default_for_new_repos: all - configuration: *175 + configuration: *181 '403': *27 '404': *6 x-github: @@ -26016,8 +26056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *128 - - *176 + - *134 + - *182 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -26160,7 +26200,7 @@ paths: parameters: - *17 - *18 - - *128 + - *134 responses: '200': description: Response @@ -26176,7 +26216,7 @@ paths: type: integer codespaces: type: array - items: &227 + items: &233 type: object title: Codespace description: A codespace. @@ -26207,11 +26247,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *146 + repository: *152 machine: anyOf: - type: 'null' - - &410 + - &416 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26498,7 +26538,7 @@ paths: - pulls_url - recent_folders examples: - default: &228 + default: &234 value: total_count: 3 codespaces: @@ -26930,7 +26970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *128 + - *134 deprecated: true requestBody: required: true @@ -26997,7 +27037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *128 + - *134 deprecated: true requestBody: required: true @@ -27052,7 +27092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *128 + - *134 requestBody: required: true content: @@ -27104,7 +27144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *128 + - *134 - *17 - *18 responses: @@ -27122,7 +27162,7 @@ paths: type: integer secrets: type: array - items: &178 + items: &184 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27163,7 +27203,7 @@ paths: - updated_at - visibility examples: - default: &411 + default: &417 value: total_count: 2 secrets: @@ -27195,13 +27235,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: &412 + schema: &418 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27236,7 +27276,7 @@ paths: - key_id - key examples: - default: &413 + default: &419 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27259,16 +27299,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '200': description: Response content: application/json: - schema: *178 + schema: *184 examples: - default: &415 + default: &421 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27295,8 +27335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -27351,7 +27391,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -27377,8 +27417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '204': description: Response @@ -27403,8 +27443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - *18 - *17 responses: @@ -27422,9 +27462,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: *160 + default: *166 '404': *6 x-github: githubCloudOnly: false @@ -27446,8 +27486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -27497,8 +27537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -27531,8 +27571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -27571,7 +27611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *128 + - *134 responses: '200': description: OK @@ -27714,7 +27754,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *128 + - *134 - *18 - name: per_page description: The number of results per page (max 100). For more information, @@ -27737,9 +27777,9 @@ paths: currently being billed. seats: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 headers: Link: *37 '500': *80 @@ -27777,7 +27817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *128 + - *134 requestBody: content: application/json: @@ -27858,7 +27898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *128 + - *134 requestBody: content: application/json: @@ -27940,7 +27980,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *128 + - *134 requestBody: content: application/json: @@ -28020,7 +28060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *128 + - *134 requestBody: content: application/json: @@ -28101,7 +28141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *128 + - *134 - 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`). @@ -28170,7 +28210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *128 + - *134 - 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`). @@ -28204,7 +28244,7 @@ paths: type: array items: *97 examples: - default: *181 + default: *187 '500': *80 '401': *23 '403': *27 @@ -28230,7 +28270,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *128 + - *134 - *17 - name: page description: Page token @@ -28389,7 +28429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *128 + - *134 - name: credential_id in: path required: true @@ -28420,7 +28460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *128 + - *134 responses: '200': description: Response - list of custom role names @@ -28436,7 +28476,7 @@ paths: - 3 custom_roles: type: array - items: *182 + items: *188 examples: default: value: @@ -28523,12 +28563,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *128 + - *134 requestBody: required: true content: application/json: - schema: &185 + schema: &191 type: object properties: name: @@ -28570,9 +28610,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '422': *15 '404': *6 x-github: @@ -28596,8 +28636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *128 - - &184 + - *134 + - &190 name: role_id description: The unique identifier of the role. in: path @@ -28609,9 +28649,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '404': *6 x-github: githubCloudOnly: true @@ -28633,13 +28673,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *128 - - *184 + - *134 + - *190 requestBody: required: true content: application/json: - schema: &186 + schema: &192 type: object properties: name: @@ -28678,9 +28718,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '422': *15 '404': *6 x-github: @@ -28704,8 +28744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '204': description: Response @@ -28733,12 +28773,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *128 + - *134 requestBody: required: true content: application/json: - schema: *185 + schema: *191 examples: default: value: @@ -28752,9 +28792,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '422': *15 '404': *6 x-github: @@ -28784,16 +28824,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '200': description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '404': *6 x-github: githubCloudOnly: true @@ -28821,13 +28861,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *128 - - *184 + - *134 + - *190 requestBody: required: true content: application/json: - schema: *186 + schema: *192 examples: default: value: @@ -28842,9 +28882,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '422': *15 '404': *6 x-github: @@ -28874,8 +28914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '204': description: Response @@ -28903,18 +28943,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *128 - - *187 - - *188 - - *189 - - *190 - - *191 - - *192 + - *134 + - *193 + - *194 + - *195 + - *196 + - *197 + - *198 - *76 - *74 - *75 - - *193 - - *194 + - *199 + - *200 - *17 responses: '200': @@ -28923,9 +28963,9 @@ paths: application/json: schema: type: array - items: *195 + items: *201 examples: - default: *196 + default: *202 '304': *35 '400': *14 '403': *27 @@ -28951,7 +28991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *128 + - *134 - *17 - *18 responses: @@ -28969,7 +29009,7 @@ paths: type: integer secrets: type: array - items: &197 + items: &203 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29042,13 +29082,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: &438 + schema: &444 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29067,7 +29107,7 @@ paths: - key_id - key examples: - default: &439 + default: &445 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29090,14 +29130,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '200': description: Response content: application/json: - schema: *197 + schema: *203 examples: default: value: @@ -29125,8 +29165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -29181,7 +29221,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -29205,8 +29245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '204': description: Response @@ -29230,8 +29270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - *18 - *17 responses: @@ -29249,9 +29289,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: *160 + default: *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29272,8 +29312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -29323,8 +29363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -29355,8 +29395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -29386,7 +29426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -29394,7 +29434,7 @@ paths: application/json: schema: type: array - items: &238 + items: &244 title: Package description: A software package type: object @@ -29447,7 +29487,7 @@ paths: repository: anyOf: - type: 'null' - - *146 + - *152 created_at: type: string format: date-time @@ -29465,7 +29505,7 @@ paths: - created_at - updated_at examples: - default: &239 + default: &245 value: - id: 197 name: hello_docker @@ -29543,7 +29583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *128 + - *134 - *17 - *18 responses: @@ -29623,7 +29663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *128 + - *134 - name: group_id description: The unique identifier of the group. in: path @@ -29649,7 +29689,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &306 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29739,7 +29779,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &301 + default: &307 value: group_id: '123' group_name: Octocat admins @@ -29777,7 +29817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *128 + - *134 - *17 - name: page description: Page token @@ -29794,7 +29834,7 @@ paths: description: Response content: application/json: - schema: &298 + schema: &304 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29834,7 +29874,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &299 + default: &305 value: groups: - group_id: '123' @@ -29868,7 +29908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *128 + - *134 - *17 - *18 responses: @@ -29878,7 +29918,7 @@ paths: application/json: schema: type: array - items: &220 + items: &226 title: Organization Invitation description: Organization Invitation type: object @@ -29932,7 +29972,7 @@ paths: - invitation_teams_url - node_id examples: - default: &221 + default: &227 value: - id: 1 login: monalisa @@ -29991,7 +30031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -29999,7 +30039,7 @@ paths: application/json: schema: type: array - items: &258 + items: &264 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -30013,7 +30053,7 @@ paths: - name - description examples: - default: &259 + default: &265 value: - name: add_assignee description: Assign or remove a user @@ -30044,7 +30084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *128 + - *134 - *17 - *18 responses: @@ -30054,7 +30094,7 @@ paths: application/json: schema: type: array - items: &198 + items: &204 title: Org Hook description: Org Hook type: object @@ -30175,7 +30215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *128 + - *134 requestBody: required: true content: @@ -30237,9 +30277,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *204 examples: - default: &199 + default: &205 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30283,8 +30323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *128 - - &200 + - *134 + - &206 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. @@ -30297,9 +30337,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *204 examples: - default: *199 + default: *205 '404': *6 x-github: githubCloudOnly: false @@ -30320,8 +30360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 requestBody: required: false content: @@ -30367,7 +30407,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *204 examples: default: value: @@ -30406,8 +30446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 responses: '204': description: Response @@ -30432,8 +30472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *128 - - *200 + - *134 + - *206 responses: '200': description: Response @@ -30461,8 +30501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *128 - - *200 + - *134 + - *206 requestBody: required: false content: @@ -30510,10 +30550,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 - *17 - - *201 + - *207 responses: '200': description: Response @@ -30521,9 +30561,9 @@ paths: application/json: schema: type: array - items: *202 + items: *208 examples: - default: *203 + default: *209 '400': *14 '422': *15 x-github: @@ -30546,17 +30586,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *205 + default: *211 '400': *14 '422': *15 x-github: @@ -30579,11 +30619,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 - *16 responses: - '202': *134 + '202': *140 '400': *14 '422': *15 x-github: @@ -30606,8 +30646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 responses: '204': description: Response @@ -30629,8 +30669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *128 - - &210 + - *134 + - &216 name: actor_type in: path description: The type of the actor @@ -30643,14 +30683,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &211 + - &217 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &206 + - &212 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`.' @@ -30658,7 +30698,7 @@ paths: required: true schema: type: string - - &207 + - &213 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) @@ -30745,13 +30785,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *128 - - *206 - - *207 + - *134 + - *212 + - *213 - *18 - *17 - *76 - - &216 + - &222 name: sort description: The property to sort the results by. in: query @@ -30823,15 +30863,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *128 - - *206 - - *207 + - *134 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: &208 + schema: &214 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30847,7 +30887,7 @@ paths: type: integer format: int64 examples: - default: &209 + default: &215 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30867,24 +30907,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *128 - - &212 + - *134 + - &218 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *206 - - *207 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: *208 + schema: *214 examples: - default: *209 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -30902,19 +30942,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *128 - - *206 - - *207 - - *210 - - *211 + - *134 + - *212 + - *213 + - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *208 + schema: *214 examples: - default: *209 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -30931,10 +30971,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *128 - - *206 - - *207 - - &213 + - *134 + - *212 + - *213 + - &219 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30947,7 +30987,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &220 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30963,7 +31003,7 @@ paths: type: integer format: int64 examples: - default: &215 + default: &221 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30999,19 +31039,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *128 + - *134 + - *218 - *212 - - *206 - - *207 - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -31028,20 +31068,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *128 - - *210 - - *211 - - *206 - - *207 + - *134 + - *216 + - *217 + - *212 - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -31058,14 +31098,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *128 + - *134 + - *218 - *212 - - *206 - - *207 + - *213 - *18 - *17 - *76 - - *216 + - *222 responses: '200': description: Response @@ -31134,7 +31174,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *128 + - *134 responses: '200': description: Response @@ -31142,7 +31182,7 @@ paths: application/json: schema: *20 examples: - default: &477 + default: &483 value: id: 1 account: @@ -31211,7 +31251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -31300,7 +31340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -31308,12 +31348,12 @@ paths: application/json: schema: anyOf: - - &218 + - &224 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &217 + limit: &223 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31341,7 +31381,7 @@ paths: properties: {} additionalProperties: false examples: - default: &219 + default: &225 value: limit: collaborators_only origin: organization @@ -31365,18 +31405,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: application/json: - schema: &478 + schema: &484 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *217 + limit: *223 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31401,9 +31441,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *224 examples: - default: *219 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -31421,7 +31461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -31447,7 +31487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *128 + - *134 - *17 - *18 - name: role @@ -31481,9 +31521,9 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: - default: *221 + default: *227 headers: Link: *37 '404': *6 @@ -31507,7 +31547,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *128 + - *134 requestBody: required: false content: @@ -31561,7 +31601,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *226 examples: default: value: @@ -31617,8 +31657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *128 - - &222 + - *134 + - &228 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31651,8 +31691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *128 - - *222 + - *134 + - *228 - *17 - *18 responses: @@ -31662,9 +31702,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: &237 + default: &243 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31709,7 +31749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *128 + - *134 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31739,7 +31779,7 @@ paths: - closed - all default: open - - *224 + - *230 - name: sort description: What to sort results by. in: query @@ -31764,7 +31804,7 @@ paths: type: array items: *112 examples: - default: *225 + default: *231 headers: Link: *37 '404': *6 @@ -31786,7 +31826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *128 + - *134 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31822,7 +31862,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '422': *15 @@ -31842,8 +31882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response if requester is an organization member and user is @@ -31874,8 +31914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -31901,8 +31941,8 @@ paths: parameters: - *17 - *18 - - *128 - - *168 + - *134 + - *174 responses: '200': description: Response @@ -31918,9 +31958,9 @@ paths: type: integer codespaces: type: array - items: *227 + items: *233 examples: - default: *228 + default: *234 '304': *35 '500': *80 '401': *23 @@ -31945,9 +31985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *128 - - *168 - - &229 + - *134 + - *174 + - &235 name: codespace_name in: path required: true @@ -31955,7 +31995,7 @@ paths: schema: type: string responses: - '202': *134 + '202': *140 '304': *35 '500': *80 '401': *23 @@ -31980,17 +32020,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *128 - - *168 - - *229 + - *134 + - *174 + - *235 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: &409 + default: &415 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32163,14 +32203,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *179 + schema: *185 examples: default: value: @@ -32238,14 +32278,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '200': description: Response content: application/json: - schema: &230 + schema: &236 title: Org Membership description: Org Membership type: object @@ -32298,7 +32338,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &231 + response-if-user-has-an-active-admin-membership-with-organization: &237 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32366,8 +32406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 requestBody: required: false content: @@ -32395,9 +32435,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *236 examples: - response-if-user-already-had-membership-with-organization: *231 + response-if-user-already-had-membership-with-organization: *237 '422': *15 '403': *27 x-github: @@ -32418,8 +32458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -32444,7 +32484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *128 + - *134 - *17 - *18 - name: exclude @@ -32466,7 +32506,7 @@ paths: application/json: schema: type: array - items: &232 + items: &238 title: Migration description: A migration. type: object @@ -32723,7 +32763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *128 + - *134 requestBody: required: true content: @@ -32804,7 +32844,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -32982,8 +33022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *128 - - &233 + - *134 + - &239 name: migration_id description: The unique identifier of the migration. in: path @@ -33011,7 +33051,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -33180,8 +33220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *128 - - *233 + - *134 + - *239 responses: '302': description: Response @@ -33202,8 +33242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *128 - - *233 + - *134 + - *239 responses: '204': description: Response @@ -33226,9 +33266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *128 - - *233 - - &643 + - *134 + - *239 + - &649 name: repo_name description: repo_name parameter in: path @@ -33255,8 +33295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *128 - - *233 + - *134 + - *239 - *17 - *18 responses: @@ -33266,9 +33306,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: &244 + default: &250 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33407,7 +33447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -33461,7 +33501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response - list of organization roles @@ -33477,7 +33517,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &234 + items: &240 title: Organization Role description: Organization roles type: object @@ -33639,7 +33679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *128 + - *134 requestBody: required: true content: @@ -33686,7 +33726,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *240 examples: default: value: @@ -33715,7 +33755,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33737,8 +33777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -33763,9 +33803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *128 - - *235 - - *184 + - *134 + - *241 + - *190 responses: '204': description: Response @@ -33794,9 +33834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *128 - - *235 - - *184 + - *134 + - *241 + - *190 responses: '204': description: Response @@ -33821,8 +33861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -33847,9 +33887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *128 - - *168 - - *184 + - *134 + - *174 + - *190 responses: '204': description: Response @@ -33879,9 +33919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *128 - - *168 - - *184 + - *134 + - *174 + - *190 responses: '204': description: Response @@ -33909,14 +33949,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '200': description: Response content: application/json: - schema: *234 + schema: *240 examples: default: value: @@ -33973,8 +34013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *128 - - *184 + - *134 + - *190 requestBody: required: true content: @@ -34013,7 +34053,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *240 examples: default: value: @@ -34041,7 +34081,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *133 + '409': *139 '404': *6 x-github: githubCloudOnly: true @@ -34066,8 +34106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '204': description: Response @@ -34092,8 +34132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *128 - - *184 + - *134 + - *190 - *17 - *18 responses: @@ -34172,7 +34212,7 @@ paths: parent: anyOf: - type: 'null' - - *236 + - *242 required: - id - node_id @@ -34186,7 +34226,7 @@ paths: - slug - parent examples: - default: *237 + default: *243 headers: Link: *37 '404': @@ -34215,8 +34255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *128 - - *184 + - *134 + - *190 - *17 - *18 responses: @@ -34245,7 +34285,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *236 + items: *242 name: type: - string @@ -34362,7 +34402,7 @@ paths: - type - url examples: - default: *226 + default: *232 headers: Link: *37 '404': @@ -34386,7 +34426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *128 + - *134 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34410,7 +34450,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -34435,8 +34475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *128 - - *168 + - *134 + - *174 requestBody: required: false content: @@ -34493,8 +34533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -34551,8 +34591,8 @@ paths: - docker - nuget - container - - *128 - - &645 + - *134 + - &651 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34588,12 +34628,12 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: *239 + default: *245 '403': *27 '401': *23 - '400': &647 + '400': &653 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34615,7 +34655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &240 + - &246 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 @@ -34633,20 +34673,20 @@ paths: - docker - nuget - container - - &241 + - &247 name: package_name description: The name of the package. in: path required: true schema: type: string - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *238 + schema: *244 examples: default: value: @@ -34698,9 +34738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *240 - - *241 - - *128 + - *246 + - *247 + - *134 responses: '204': description: Response @@ -34732,9 +34772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *240 - - *241 - - *128 + - *246 + - *247 + - *134 - name: token description: package token schema: @@ -34766,9 +34806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *240 - - *241 - - *128 + - *246 + - *247 + - *134 - *18 - *17 - name: state @@ -34788,7 +34828,7 @@ paths: application/json: schema: type: array - items: &242 + items: &248 title: Package Version description: A version of a software package type: object @@ -34923,10 +34963,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: - - *240 - - *241 - - *128 - - &243 + - *246 + - *247 + - *134 + - &249 name: package_version_id description: Unique identifier of the package version. in: path @@ -34938,7 +34978,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *248 examples: default: value: @@ -34974,10 +35014,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *240 - - *241 - - *128 - - *243 + - *246 + - *247 + - *134 + - *249 responses: '204': description: Response @@ -35009,10 +35049,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *240 - - *241 - - *128 - - *243 + - *246 + - *247 + - *134 + - *249 responses: '204': description: Response @@ -35039,10 +35079,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *128 + - *134 - *17 - *18 - - &245 + - &251 name: sort description: The property by which to sort the results. in: query @@ -35053,7 +35093,7 @@ paths: - created_at default: created_at - *76 - - &246 + - &252 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35065,7 +35105,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &247 + - &253 name: repository description: The name of the repository to use to filter the results. in: query @@ -35074,7 +35114,7 @@ paths: type: string examples: - Hello-World - - &248 + - &254 name: permission description: The permission to use to filter the results. in: query @@ -35083,7 +35123,7 @@ paths: type: string examples: - issues_read - - &249 + - &255 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) @@ -35093,7 +35133,7 @@ paths: schema: type: string format: date-time - - &250 + - &256 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) @@ -35259,7 +35299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *128 + - *134 requestBody: required: true content: @@ -35305,7 +35345,7 @@ paths: '422': *15 '404': *6 '403': *27 - '202': *134 + '202': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35326,7 +35366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *128 + - *134 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35367,7 +35407,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *177 + '204': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35388,7 +35428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *128 + - *134 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35408,9 +35448,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -35433,16 +35473,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *128 + - *134 - *17 - *18 - - *245 + - *251 - *76 - - *246 - - *247 - - *248 - - *249 - - *250 + - *252 + - *253 + - *254 + - *255 + - *256 responses: '500': *80 '422': *15 @@ -35593,7 +35633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *128 + - *134 requestBody: required: true content: @@ -35630,7 +35670,7 @@ paths: responses: '500': *80 '404': *6 - '202': *134 + '202': *140 '403': *27 '422': *15 x-github: @@ -35653,7 +35693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *128 + - *134 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35683,7 +35723,7 @@ paths: responses: '500': *80 '404': *6 - '204': *177 + '204': *183 '403': *27 '422': *15 x-github: @@ -35705,7 +35745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *128 + - *134 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35724,9 +35764,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -35748,7 +35788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *128 + - *134 - name: state description: Indicates the state of the projects to return. in: query @@ -35769,7 +35809,7 @@ paths: application/json: schema: type: array - items: &251 + items: &257 title: Project description: Projects are a way to organize columns and cards of work. @@ -35922,7 +35962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *128 + - *134 requestBody: required: true content: @@ -35948,7 +35988,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *257 examples: default: value: @@ -35986,7 +36026,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &316 + '410': &322 description: Gone content: application/json: @@ -36010,7 +36050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -36018,7 +36058,7 @@ paths: application/json: schema: type: array - items: &252 + items: &258 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -36094,7 +36134,7 @@ paths: - property_name - value_type examples: - default: &253 + default: &259 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36138,7 +36178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: @@ -36149,7 +36189,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *252 + items: *258 minItems: 1 maxItems: 100 required: @@ -36179,9 +36219,9 @@ paths: application/json: schema: type: array - items: *252 + items: *258 examples: - default: *253 + default: *259 '403': *27 '404': *6 x-github: @@ -36202,8 +36242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *128 - - &254 + - *134 + - &260 name: custom_property_name description: The custom property name in: path @@ -36215,9 +36255,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *258 examples: - default: &255 + default: &261 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36251,8 +36291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *128 - - *254 + - *134 + - *260 requestBody: required: true content: @@ -36317,9 +36357,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *258 examples: - default: *255 + default: *261 '403': *27 '404': *6 x-github: @@ -36342,10 +36382,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *128 - - *254 + - *134 + - *260 responses: - '204': *177 + '204': *183 '403': *27 '404': *6 x-github: @@ -36366,7 +36406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *128 + - *134 - *17 - *18 - name: repository_query @@ -36407,7 +36447,7 @@ paths: - octocat/Hello-World properties: type: array - items: &256 + items: &262 title: Custom Property Value description: Custom property name and associated value type: object @@ -36477,7 +36517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *128 + - *134 requestBody: required: true content: @@ -36497,7 +36537,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *256 + items: *262 required: - repository_names - properties @@ -36538,7 +36578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *128 + - *134 - *17 - *18 responses: @@ -36550,7 +36590,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -36569,8 +36609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response if user is a public member @@ -36594,8 +36634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -36616,8 +36656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -36641,7 +36681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *128 + - *134 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -36688,9 +36728,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -36711,7 +36751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *128 + - *134 requestBody: required: true content: @@ -36894,7 +36934,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &324 title: Full Repository description: Full Repository type: object @@ -37359,7 +37399,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &428 + code_of_conduct: &434 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -37389,7 +37429,7 @@ paths: - key - name - html_url - security_and_analysis: *257 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -37473,7 +37513,7 @@ paths: - network_count - subscribers_count examples: - default: &320 + default: &326 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37991,7 +38031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -37999,9 +38039,9 @@ paths: application/json: schema: type: array - items: *258 + items: *264 examples: - default: *259 + default: *265 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38023,10 +38063,10 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 - *17 - *18 - - &558 + - &564 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38045,7 +38085,7 @@ paths: application/json: schema: type: array - items: &266 + items: &272 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38078,7 +38118,7 @@ paths: source: type: string description: The name of the source - enforcement: &262 + enforcement: &268 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38090,7 +38130,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &263 + items: &269 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -38158,7 +38198,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &260 + - &266 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -38182,7 +38222,7 @@ paths: match. items: type: string - - &264 + - &270 title: Organization ruleset conditions type: object description: |- @@ -38195,7 +38235,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *260 + - *266 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -38229,7 +38269,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *260 + - *266 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -38251,7 +38291,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *260 + - *266 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -38264,7 +38304,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &261 + items: &267 title: Repository ruleset property targeting definition type: object @@ -38297,7 +38337,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *261 + items: *267 required: - repository_property type: @@ -38305,12 +38345,12 @@ paths: - object rules: type: array - items: &265 + items: &271 title: Repository Rule type: object description: A repository rule. oneOf: - - &540 + - &546 title: creation description: Only allow users with bypass permission to create matching refs. @@ -38322,7 +38362,7 @@ paths: type: string enum: - creation - - &541 + - &547 title: update description: Only allow users with bypass permission to update matching refs. @@ -38343,7 +38383,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &543 + - &549 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -38355,7 +38395,7 @@ paths: type: string enum: - deletion - - &544 + - &550 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -38367,7 +38407,7 @@ paths: type: string enum: - required_linear_history - - &545 + - &551 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38445,7 +38485,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &546 + - &552 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -38469,7 +38509,7 @@ paths: type: string required: - required_deployment_environments - - &547 + - &553 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -38481,7 +38521,7 @@ paths: type: string enum: - required_signatures - - &548 + - &554 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38527,7 +38567,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &549 + - &555 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38575,7 +38615,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &550 + - &556 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38587,7 +38627,7 @@ paths: type: string enum: - non_fast_forward - - &551 + - &557 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38623,7 +38663,7 @@ paths: required: - operator - pattern - - &552 + - &558 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38659,7 +38699,7 @@ paths: required: - operator - pattern - - &553 + - &559 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38695,7 +38735,7 @@ paths: required: - operator - pattern - - &554 + - &560 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38731,7 +38771,7 @@ paths: required: - operator - pattern - - &555 + - &561 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38857,7 +38897,7 @@ paths: maximum: 100 required: - max_file_size - - &556 + - &562 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -38907,7 +38947,7 @@ paths: - repository_id required: - workflows - - &557 + - &563 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39020,7 +39060,7 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 requestBody: description: Request body required: true @@ -39040,16 +39080,16 @@ paths: - tag - push default: branch - enforcement: *262 + enforcement: *268 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *263 - conditions: *264 + items: *269 + conditions: *270 rules: type: array description: An array of rules within the ruleset. - items: *265 + items: *271 required: - name - enforcement @@ -39087,9 +39127,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: &267 + default: &273 value: id: 21 name: super cool ruleset @@ -39143,8 +39183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *128 - - &559 + - *134 + - &565 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 @@ -39160,7 +39200,7 @@ paths: in: query schema: type: integer - - &560 + - &566 name: time_period description: |- The time period to filter by. @@ -39176,14 +39216,14 @@ paths: - week - month default: day - - &561 + - &567 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 - - &562 + - &568 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -39203,7 +39243,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &569 title: Rule Suites description: Response type: array @@ -39259,7 +39299,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &564 + default: &570 value: - id: 21 actor_id: 12 @@ -39302,8 +39342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *128 - - &565 + - *134 + - &571 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -39319,7 +39359,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &572 title: Rule Suite description: Response type: object @@ -39426,7 +39466,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &567 + default: &573 value: id: 21 actor_id: 12 @@ -39487,7 +39527,7 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39499,9 +39539,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: *267 + default: *273 '404': *6 '500': *80 put: @@ -39519,7 +39559,7 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39544,16 +39584,16 @@ paths: - branch - tag - push - enforcement: *262 + enforcement: *268 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *263 - conditions: *264 + items: *269 + conditions: *270 rules: description: An array of rules within the ruleset. type: array - items: *265 + items: *271 examples: default: value: @@ -39588,9 +39628,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: *267 + default: *273 '404': *6 '500': *80 delete: @@ -39608,7 +39648,7 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39636,15 +39676,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *128 - - *268 - - *269 - - *270 - - *271 + - *134 + - *274 + - *275 + - *276 + - *277 - *76 - *18 - *17 - - &569 + - &575 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 @@ -39654,7 +39694,7 @@ paths: required: false schema: type: string - - &570 + - &576 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 @@ -39664,9 +39704,9 @@ paths: required: false schema: type: string - - *272 - - *273 - - *274 + - *278 + - *279 + - *280 responses: '200': description: Response @@ -39674,9 +39714,9 @@ paths: application/json: schema: type: array - items: *275 + items: *281 examples: - default: *276 + default: *282 headers: Link: *37 '404': *6 @@ -39702,7 +39742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *128 + - *134 - *76 - name: sort description: The property to sort the results by. @@ -39746,7 +39786,7 @@ paths: application/json: schema: type: array - items: &576 + items: &582 description: A repository security advisory. type: object properties: @@ -39990,7 +40030,7 @@ paths: login: type: string description: The username of the user credited. - type: *277 + type: *283 credits_detailed: type: - array @@ -40001,7 +40041,7 @@ paths: type: object properties: user: *4 - type: *277 + type: *283 state: type: string description: The state of the user's acceptance of the @@ -40027,7 +40067,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *223 + items: *229 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -40065,7 +40105,7 @@ paths: - private_fork additionalProperties: false examples: - default: &577 + default: &583 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -40447,7 +40487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *128 + - *134 responses: '200': description: Response @@ -40455,9 +40495,9 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40480,8 +40520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -40506,8 +40546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -40533,15 +40573,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *279 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40565,7 +40605,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -40573,9 +40613,9 @@ paths: description: Success content: application/json: - schema: *280 + schema: *286 examples: - default: *281 + default: *287 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40597,15 +40637,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *282 + schema: *288 examples: - default: *283 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40627,15 +40667,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *284 + schema: *290 examples: - default: *285 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40652,7 +40692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *128 + - *134 - *17 - name: page description: Page token @@ -40671,7 +40711,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &313 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -40723,7 +40763,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &308 + default: &314 value: groups: - group_id: '123' @@ -40768,8 +40808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *128 - - *235 + - *134 + - *241 - 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`). @@ -40841,8 +40881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *128 - - *235 + - *134 + - *241 - 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`). @@ -40876,7 +40916,7 @@ paths: type: array items: *97 examples: - default: *181 + default: *187 '500': *80 '401': *23 '403': *27 @@ -40898,7 +40938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *128 + - *134 - *17 - *18 responses: @@ -40908,9 +40948,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 headers: Link: *37 '403': *27 @@ -40932,7 +40972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *128 + - *134 requestBody: required: true content: @@ -41004,7 +41044,7 @@ paths: description: Response content: application/json: - schema: &286 + schema: &292 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -41078,7 +41118,7 @@ paths: parent: anyOf: - type: 'null' - - *236 + - *242 members_count: type: integer examples: @@ -41384,7 +41424,7 @@ paths: - repos_count - organization examples: - default: &287 + default: &293 value: id: 1 node_id: MDQ6VGVhbTE= @@ -41454,16 +41494,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *128 - - *235 + - *134 + - *241 responses: '200': description: Response content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -41484,8 +41524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *128 - - *235 + - *134 + - *241 requestBody: required: false content: @@ -41548,16 +41588,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '201': description: Response content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '404': *6 '422': *15 '403': *27 @@ -41582,8 +41622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -41609,8 +41649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *128 - - *235 + - *134 + - *241 - *76 - *17 - *18 @@ -41627,7 +41667,7 @@ paths: application/json: schema: type: array - items: &288 + items: &294 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -41738,7 +41778,7 @@ paths: - updated_at - url examples: - default: &617 + default: &623 value: - author: login: octocat @@ -41812,8 +41852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *128 - - *235 + - *134 + - *241 requestBody: required: true content: @@ -41847,9 +41887,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: &289 + default: &295 value: author: login: octocat @@ -41921,9 +41961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *128 - - *235 - - &290 + - *134 + - *241 + - &296 name: discussion_number description: The number that identifies the discussion. in: path @@ -41935,9 +41975,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: *289 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41959,9 +41999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 requestBody: required: false content: @@ -41984,9 +42024,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: &618 + default: &624 value: author: login: octocat @@ -42056,9 +42096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 responses: '204': description: Response @@ -42084,9 +42124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 - *76 - *17 - *18 @@ -42097,7 +42137,7 @@ paths: application/json: schema: type: array - items: &291 + items: &297 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -42177,7 +42217,7 @@ paths: - updated_at - url examples: - default: &619 + default: &625 value: - author: login: octocat @@ -42245,9 +42285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 requestBody: required: true content: @@ -42269,9 +42309,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: &292 + default: &298 value: author: login: octocat @@ -42337,10 +42377,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *128 - - *235 - - *290 - - &293 + - *134 + - *241 + - *296 + - &299 name: comment_number description: The number that identifies the comment. in: path @@ -42352,9 +42392,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42376,10 +42416,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *128 - - *235 - - *290 - - *293 + - *134 + - *241 + - *296 + - *299 requestBody: required: true content: @@ -42401,9 +42441,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: &620 + default: &626 value: author: login: octocat @@ -42467,10 +42507,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *128 - - *235 - - *290 - - *293 + - *134 + - *241 + - *296 + - *299 responses: '204': description: Response @@ -42496,10 +42536,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *128 - - *235 - - *290 - - *293 + - *134 + - *241 + - *296 + - *299 - 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. @@ -42525,7 +42565,7 @@ paths: application/json: schema: type: array - items: &294 + items: &300 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -42569,7 +42609,7 @@ paths: - content - created_at examples: - default: &296 + default: &302 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42619,10 +42659,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *128 - - *235 - - *290 - - *293 + - *134 + - *241 + - *296 + - *299 requestBody: required: true content: @@ -42655,9 +42695,9 @@ paths: team discussion comment content: application/json: - schema: *294 + schema: *300 examples: - default: &295 + default: &301 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42686,9 +42726,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42711,11 +42751,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *128 - - *235 - - *290 - - *293 - - &297 + - *134 + - *241 + - *296 + - *299 + - &303 name: reaction_id description: The unique identifier of the reaction. in: path @@ -42747,9 +42787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 - 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. @@ -42775,9 +42815,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 x-github: @@ -42803,9 +42843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 requestBody: required: true content: @@ -42837,16 +42877,16 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42869,10 +42909,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *128 - - *235 - - *290 - - *297 + - *134 + - *241 + - *296 + - *303 responses: '204': description: Response @@ -42895,16 +42935,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '200': description: Response content: application/json: - schema: *298 + schema: *304 examples: - default: *299 + default: *305 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42923,8 +42963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *128 - - *235 + - *134 + - *241 requestBody: required: true content: @@ -42948,9 +42988,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *306 examples: - default: *301 + default: *307 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -42969,8 +43009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -42994,8 +43034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *128 - - *235 + - *134 + - *241 - *17 - *18 responses: @@ -43005,9 +43045,9 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: - default: *221 + default: *227 headers: Link: *37 x-github: @@ -43029,8 +43069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *128 - - *235 + - *134 + - *241 - name: role description: Filters members returned by their role in the team. in: query @@ -43053,7 +43093,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -43083,15 +43123,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *128 - - *235 - - *168 + - *134 + - *241 + - *174 responses: '200': description: Response content: application/json: - schema: &302 + schema: &308 title: Team Membership description: Team Membership type: object @@ -43119,7 +43159,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &621 + response-if-user-is-a-team-maintainer: &627 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -43155,9 +43195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *128 - - *235 - - *168 + - *134 + - *241 + - *174 requestBody: required: false content: @@ -43182,9 +43222,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: &622 + response-if-users-membership-with-team-is-now-pending: &628 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -43219,9 +43259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *128 - - *235 - - *168 + - *134 + - *241 + - *174 responses: '204': description: Response @@ -43247,8 +43287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *128 - - *235 + - *134 + - *241 - *17 - *18 responses: @@ -43258,7 +43298,7 @@ paths: application/json: schema: type: array - items: &303 + items: &309 title: Team Project description: A team's access to a project. type: object @@ -43327,7 +43367,7 @@ paths: - updated_at - permissions examples: - default: &623 + default: &629 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43388,9 +43428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *128 - - *235 - - &304 + - *134 + - *241 + - &310 name: project_id description: The unique identifier of the project. in: path @@ -43402,9 +43442,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *309 examples: - default: &624 + default: &630 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43464,9 +43504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *128 - - *235 - - *304 + - *134 + - *241 + - *310 requestBody: required: false content: @@ -43531,9 +43571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *128 - - *235 - - *304 + - *134 + - *241 + - *310 responses: '204': description: Response @@ -43557,8 +43597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *128 - - *235 + - *134 + - *241 - *17 - *18 responses: @@ -43568,9 +43608,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -43599,16 +43639,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *128 - - *235 - - *305 - - *306 + - *134 + - *241 + - *311 + - *312 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &625 + schema: &631 title: Team Repository description: A team's access to a repository. type: object @@ -44249,10 +44289,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *128 - - *235 - - *305 - - *306 + - *134 + - *241 + - *311 + - *312 requestBody: required: false content: @@ -44297,10 +44337,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *128 - - *235 - - *305 - - *306 + - *134 + - *241 + - *311 + - *312 responses: '204': description: Response @@ -44326,16 +44366,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '200': description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -44357,8 +44397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *128 - - *235 + - *134 + - *241 requestBody: required: true content: @@ -44401,7 +44441,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: default: value: @@ -44433,8 +44473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *128 - - *235 + - *134 + - *241 - *17 - *18 responses: @@ -44444,9 +44484,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - response-if-child-teams-exist: &626 + response-if-child-teams-exist: &632 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -44499,7 +44539,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *128 + - *134 - name: security_product in: path description: The security feature to enable or disable. @@ -44570,7 +44610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &309 + - &315 name: card_id description: The unique identifier of the card. in: path @@ -44582,7 +44622,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &316 title: Project Card description: Project cards represent a scope of work. type: object @@ -44657,7 +44697,7 @@ paths: - created_at - updated_at examples: - default: &311 + default: &317 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -44707,7 +44747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *309 + - *315 requestBody: required: false content: @@ -44737,9 +44777,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *316 examples: - default: *311 + default: *317 '304': *35 '403': *27 '401': *23 @@ -44760,7 +44800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *309 + - *315 responses: '204': description: Response @@ -44798,7 +44838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *309 + - *315 requestBody: required: true content: @@ -44905,7 +44945,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &312 + - &318 name: column_id description: The unique identifier of the column. in: path @@ -44917,7 +44957,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &319 title: Project Column description: Project columns contain cards of work. type: object @@ -44971,7 +45011,7 @@ paths: - created_at - updated_at examples: - default: &314 + default: &320 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45000,7 +45040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *312 + - *318 requestBody: required: true content: @@ -45025,9 +45065,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *319 examples: - default: *314 + default: *320 '304': *35 '403': *27 '401': *23 @@ -45046,7 +45086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *312 + - *318 responses: '204': description: Response @@ -45069,7 +45109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *312 + - *318 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -45090,7 +45130,7 @@ paths: application/json: schema: type: array - items: *310 + items: *316 examples: default: value: @@ -45143,7 +45183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *312 + - *318 requestBody: required: true content: @@ -45187,9 +45227,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *316 examples: - default: *311 + default: *317 '304': *35 '403': *27 '401': *23 @@ -45199,8 +45239,8 @@ paths: application/json: schema: oneOf: - - *131 - - *132 + - *137 + - *138 '503': description: Response content: @@ -45239,7 +45279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *312 + - *318 requestBody: required: true content: @@ -45296,15 +45336,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *304 + - *310 responses: '200': description: Response content: application/json: - schema: *251 + schema: *257 examples: - default: &315 + default: &321 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -45357,7 +45397,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *304 + - *310 requestBody: required: false content: @@ -45406,9 +45446,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *257 examples: - default: *315 + default: *321 '404': description: Not Found if the authenticated user does not have access to the project @@ -45429,7 +45469,7 @@ paths: items: type: string '401': *23 - '410': *316 + '410': *322 '422': *7 x-github: githubCloudOnly: false @@ -45447,7 +45487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *304 + - *310 responses: '204': description: Delete Success @@ -45468,7 +45508,7 @@ paths: items: type: string '401': *23 - '410': *316 + '410': *322 '404': *6 x-github: githubCloudOnly: false @@ -45491,7 +45531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *304 + - *310 - 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 @@ -45518,7 +45558,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '404': *6 @@ -45543,8 +45583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *304 - - *168 + - *310 + - *174 requestBody: required: false content: @@ -45593,8 +45633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *304 - - *168 + - *310 + - *174 responses: '204': description: Response @@ -45622,8 +45662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *304 - - *168 + - *310 + - *174 responses: '200': description: Response @@ -45687,7 +45727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *304 + - *310 - *17 - *18 responses: @@ -45697,7 +45737,7 @@ paths: application/json: schema: type: array - items: *313 + items: *319 examples: default: value: @@ -45729,7 +45769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *304 + - *310 requestBody: required: true content: @@ -45753,7 +45793,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *319 examples: default: value: @@ -45814,7 +45854,7 @@ paths: resources: type: object properties: - core: &317 + core: &323 title: Rate Limit type: object properties: @@ -45831,19 +45871,19 @@ paths: - remaining - reset - used - graphql: *317 - search: *317 - code_search: *317 - source_import: *317 - integration_manifest: *317 - code_scanning_upload: *317 - actions_runner_registration: *317 - scim: *317 - dependency_snapshots: *317 + graphql: *323 + search: *323 + code_search: *323 + source_import: *323 + integration_manifest: *323 + code_scanning_upload: *323 + actions_runner_registration: *323 + scim: *323 + dependency_snapshots: *323 required: - core - search - rate: *317 + rate: *323 required: - rate - resources @@ -45942,14 +45982,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *318 + schema: *324 examples: default-response: summary: Default response @@ -46454,7 +46494,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *319 + '301': *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46472,8 +46512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -46720,10 +46760,10 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 - '307': &321 + default: *326 + '307': &327 description: Temporary Redirect content: application/json: @@ -46752,8 +46792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -46775,7 +46815,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': *321 + '307': *327 '404': *6 x-github: githubCloudOnly: false @@ -46798,11 +46838,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 - - &336 + - &342 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46825,7 +46865,7 @@ paths: type: integer artifacts: type: array - items: &322 + items: &328 title: Artifact description: An artifact type: object @@ -46911,7 +46951,7 @@ paths: - expires_at - updated_at examples: - default: &337 + default: &343 value: total_count: 2 artifacts: @@ -46970,9 +47010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *305 - - *306 - - &323 + - *311 + - *312 + - &329 name: artifact_id description: The unique identifier of the artifact. in: path @@ -46984,7 +47024,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *328 examples: default: value: @@ -47021,9 +47061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *305 - - *306 - - *323 + - *311 + - *312 + - *329 responses: '204': description: Response @@ -47047,9 +47087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *305 - - *306 - - *323 + - *311 + - *312 + - *329 - name: archive_format in: path required: true @@ -47063,7 +47103,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': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47086,14 +47126,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *324 + schema: *330 examples: default: value: @@ -47119,11 +47159,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: - - *305 - - *306 + - *311 + - *312 - *17 - *18 - - &325 + - &331 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 @@ -47157,7 +47197,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &332 title: Repository actions caches description: Repository actions caches type: object @@ -47207,7 +47247,7 @@ paths: - total_count - actions_caches examples: - default: &327 + default: &333 value: total_count: 1 actions_caches: @@ -47239,23 +47279,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: - - *305 - - *306 + - *311 + - *312 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *325 + - *331 responses: '200': description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: *327 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47275,8 +47315,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: - - *305 - - *306 + - *311 + - *312 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -47307,9 +47347,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: - - *305 - - *306 - - &328 + - *311 + - *312 + - &334 name: job_id description: The unique identifier of the job. in: path @@ -47321,7 +47361,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &346 title: Job description: Information of a job execution in a workflow run type: object @@ -47668,9 +47708,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: - - *305 - - *306 - - *328 + - *311 + - *312 + - *334 responses: '302': description: Response @@ -47698,9 +47738,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: - - *305 - - *306 - - *328 + - *311 + - *312 + - *334 requestBody: required: false content: @@ -47722,7 +47762,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -47746,8 +47786,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Status response @@ -47797,8 +47837,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -47832,7 +47872,7 @@ paths: description: Empty response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -47861,8 +47901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -47880,7 +47920,7 @@ paths: type: integer secrets: type: array - items: &342 + items: &348 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47901,7 +47941,7 @@ paths: - created_at - updated_at examples: - default: &343 + default: &349 value: total_count: 2 secrets: @@ -47934,9 +47974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *305 - - *306 - - *329 + - *311 + - *312 + - *335 - *18 responses: '200': @@ -47953,7 +47993,7 @@ paths: type: integer variables: type: array - items: &346 + items: &352 title: Actions Variable type: object properties: @@ -47987,7 +48027,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &353 value: total_count: 2 variables: @@ -48020,8 +48060,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -48030,11 +48070,11 @@ paths: schema: type: object properties: - enabled: &330 + enabled: &336 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 - selected_actions_url: *139 + selected_actions_url: *145 required: - enabled examples: @@ -48063,8 +48103,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -48075,7 +48115,7 @@ paths: schema: type: object properties: - enabled: *330 + enabled: *336 allowed_actions: *40 required: - enabled @@ -48106,14 +48146,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &331 + schema: &337 type: object properties: access_level: @@ -48131,7 +48171,7 @@ paths: required: - access_level examples: - default: &332 + default: &338 value: access_level: organization x-github: @@ -48156,15 +48196,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *331 + schema: *337 examples: - default: *332 + default: *338 responses: '204': description: Response @@ -48188,8 +48228,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -48220,8 +48260,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -48253,14 +48293,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *142 + schema: *148 examples: default: *46 x-github: @@ -48283,8 +48323,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Success response @@ -48295,7 +48335,7 @@ paths: required: true content: application/json: - schema: *143 + schema: *149 examples: default: *46 x-github: @@ -48324,8 +48364,8 @@ paths: in: query schema: type: string - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -48369,8 +48409,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -48378,9 +48418,9 @@ paths: application/json: schema: type: array - items: *147 + items: *153 examples: - default: *148 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48402,8 +48442,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -48446,7 +48486,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *149 + '201': *155 '404': *6 '422': *7 x-github: @@ -48476,8 +48516,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: - - *305 - - *306 + - *311 + - *312 responses: '201': description: Response @@ -48485,7 +48525,7 @@ paths: application/json: schema: *56 examples: - default: *150 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48513,8 +48553,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: - - *305 - - *306 + - *311 + - *312 responses: '201': description: Response @@ -48522,7 +48562,7 @@ paths: application/json: schema: *56 examples: - default: *151 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48544,8 +48584,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: - - *305 - - *306 + - *311 + - *312 - *52 responses: '200': @@ -48554,7 +48594,7 @@ paths: application/json: schema: *53 examples: - default: *152 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48575,8 +48615,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: - - *305 - - *306 + - *311 + - *312 - *52 responses: '204': @@ -48602,8 +48642,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: - - *305 - - *306 + - *311 + - *312 - *52 responses: '200': *58 @@ -48628,8 +48668,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: - - *305 - - *306 + - *311 + - *312 - *52 requestBody: required: true @@ -48678,8 +48718,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: - - *305 - - *306 + - *311 + - *312 - *52 requestBody: required: true @@ -48729,11 +48769,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: - - *305 - - *306 + - *311 + - *312 - *52 responses: - '200': *153 + '200': *159 '404': *6 x-github: githubCloudOnly: false @@ -48760,10 +48800,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: - - *305 - - *306 + - *311 + - *312 - *52 - - *154 + - *160 responses: '200': *58 '404': *6 @@ -48791,9 +48831,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: - - *305 - - *306 - - &350 + - *311 + - *312 + - &356 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. @@ -48801,7 +48841,7 @@ paths: required: false schema: type: string - - &351 + - &357 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48809,7 +48849,7 @@ paths: required: false schema: type: string - - &352 + - &358 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48818,7 +48858,7 @@ paths: required: false schema: type: string - - &353 + - &359 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 @@ -48845,7 +48885,7 @@ paths: - pending - *17 - *18 - - &354 + - &360 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)." @@ -48854,7 +48894,7 @@ paths: schema: type: string format: date-time - - &333 + - &339 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48863,13 +48903,13 @@ paths: schema: type: boolean default: false - - &355 + - &361 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &356 + - &362 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -48892,7 +48932,7 @@ paths: type: integer workflow_runs: type: array - items: &334 + items: &340 title: Workflow Run description: An invocation of a workflow type: object @@ -49009,7 +49049,7 @@ paths: type: - array - 'null' - items: &375 + items: &381 title: Pull Request Minimal type: object properties: @@ -49136,7 +49176,7 @@ paths: head_commit: anyOf: - type: 'null' - - &379 + - &385 title: Simple Commit description: A commit. type: object @@ -49210,8 +49250,8 @@ paths: - timestamp - author - committer - repository: *146 - head_repository: *146 + repository: *152 + head_repository: *152 head_repository_id: type: integer examples: @@ -49251,7 +49291,7 @@ paths: - workflow_url - pull_requests examples: - default: &357 + default: &363 value: total_count: 1 workflow_runs: @@ -49487,24 +49527,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *305 - - *306 - - &335 + - *311 + - *312 + - &341 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *333 + - *339 responses: '200': description: Response content: application/json: - schema: *334 + schema: *340 examples: - default: &338 + default: &344 value: id: 30433642 name: Build @@ -49745,9 +49785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '204': description: Response @@ -49770,9 +49810,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '200': description: Response @@ -49900,15 +49940,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '201': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -49935,12 +49975,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 - *17 - *18 - - *336 + - *342 responses: '200': description: Response @@ -49956,9 +49996,9 @@ paths: type: integer artifacts: type: array - items: *322 + items: *328 examples: - default: *337 + default: *343 headers: Link: *37 x-github: @@ -49982,25 +50022,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *305 - - *306 - - *335 - - &339 + - *311 + - *312 + - *341 + - &345 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *333 + - *339 responses: '200': description: Response content: application/json: - schema: *334 + schema: *340 examples: - default: *338 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50023,10 +50063,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: - - *305 - - *306 - - *335 - - *339 + - *311 + - *312 + - *341 + - *345 - *17 - *18 responses: @@ -50044,9 +50084,9 @@ paths: type: integer jobs: type: array - items: *340 + items: *346 examples: - default: &341 + default: &347 value: total_count: 1 jobs: @@ -50159,10 +50199,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *305 - - *306 - - *335 - - *339 + - *311 + - *312 + - *341 + - *345 responses: '302': description: Response @@ -50190,19 +50230,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '202': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50225,9 +50265,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 requestBody: required: true content: @@ -50294,19 +50334,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '202': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50329,9 +50369,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 - 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 @@ -50361,9 +50401,9 @@ paths: type: integer jobs: type: array - items: *340 + items: *346 examples: - default: *341 + default: *347 headers: Link: *37 x-github: @@ -50388,9 +50428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '302': description: Response @@ -50417,9 +50457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '204': description: Response @@ -50446,9 +50486,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '200': description: Response @@ -50517,7 +50557,7 @@ paths: items: type: object properties: - type: &447 + type: &453 type: string description: The type of reviewer. enum: @@ -50528,7 +50568,7 @@ paths: reviewer: anyOf: - *4 - - *223 + - *229 required: - environment - wait_timer @@ -50603,9 +50643,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 requestBody: required: true content: @@ -50655,7 +50695,7 @@ paths: application/json: schema: type: array - items: &442 + items: &448 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50767,7 +50807,7 @@ paths: - created_at - updated_at examples: - default: &443 + default: &449 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50823,9 +50863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 requestBody: required: false content: @@ -50847,7 +50887,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -50870,9 +50910,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 requestBody: required: false content: @@ -50894,7 +50934,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -50919,9 +50959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '200': description: Response @@ -51058,8 +51098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -51077,9 +51117,9 @@ paths: type: integer secrets: type: array - items: *342 + items: *348 examples: - default: *343 + default: *349 headers: Link: *37 x-github: @@ -51104,16 +51144,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *344 + schema: *350 examples: - default: *345 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51135,17 +51175,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '200': description: Response content: application/json: - schema: *342 + schema: *348 examples: - default: &460 + default: &466 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51171,9 +51211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 requestBody: required: true content: @@ -51201,7 +51241,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -51227,9 +51267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '204': description: Response @@ -51254,9 +51294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *305 - - *306 - - *329 + - *311 + - *312 + - *335 - *18 responses: '200': @@ -51273,9 +51313,9 @@ paths: type: integer variables: type: array - items: *346 + items: *352 examples: - default: *347 + default: *353 headers: Link: *37 x-github: @@ -51298,8 +51338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -51326,7 +51366,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -51351,17 +51391,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *305 - - *306 - - *159 + - *311 + - *312 + - *165 responses: '200': description: Response content: application/json: - schema: *346 + schema: *352 examples: - default: &461 + default: &467 value: name: USERNAME value: octocat @@ -51387,9 +51427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *305 - - *306 - - *159 + - *311 + - *312 + - *165 requestBody: required: true content: @@ -51431,9 +51471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *305 - - *306 - - *159 + - *311 + - *312 + - *165 responses: '204': description: Response @@ -51458,8 +51498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -51477,7 +51517,7 @@ paths: type: integer workflows: type: array - items: &348 + items: &354 title: Workflow description: A GitHub Actions workflow type: object @@ -51595,9 +51635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *305 - - *306 - - &349 + - *311 + - *312 + - &355 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51612,7 +51652,7 @@ paths: description: Response content: application/json: - schema: *348 + schema: *354 examples: default: value: @@ -51645,9 +51685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *305 - - *306 - - *349 + - *311 + - *312 + - *355 responses: '204': description: Response @@ -51672,9 +51712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *305 - - *306 - - *349 + - *311 + - *312 + - *355 responses: '204': description: Response @@ -51725,9 +51765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *305 - - *306 - - *349 + - *311 + - *312 + - *355 responses: '204': description: Response @@ -51752,19 +51792,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: - - *305 - - *306 - - *349 - - *350 - - *351 - - *352 - - *353 - - *17 - - *18 - - *354 - - *333 + - *311 + - *312 - *355 - *356 + - *357 + - *358 + - *359 + - *17 + - *18 + - *360 + - *339 + - *361 + - *362 responses: '200': description: Response @@ -51780,9 +51820,9 @@ paths: type: integer workflow_runs: type: array - items: *334 + items: *340 examples: - default: *357 + default: *363 headers: Link: *37 x-github: @@ -51808,9 +51848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *305 - - *306 - - *349 + - *311 + - *312 + - *355 responses: '200': description: Response @@ -51871,8 +51911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *305 - - *306 + - *311 + - *312 - *76 - *17 - *74 @@ -52040,8 +52080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -52053,7 +52093,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '404': *6 @@ -52078,8 +52118,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: - - *305 - - *306 + - *311 + - *312 - name: assignee in: path required: true @@ -52115,8 +52155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -52228,8 +52268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *74 - *75 @@ -52273,7 +52313,7 @@ paths: repository_id: type: integer examples: - default: *358 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52293,8 +52333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -52302,7 +52342,7 @@ paths: application/json: schema: type: array - items: &359 + items: &365 title: Autolink reference description: An autolink reference. type: object @@ -52356,8 +52396,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -52396,9 +52436,9 @@ paths: description: response content: application/json: - schema: *359 + schema: *365 examples: - default: &360 + default: &366 value: id: 1 key_prefix: TICKET- @@ -52429,9 +52469,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: - - *305 - - *306 - - &361 + - *311 + - *312 + - &367 name: autolink_id description: The unique identifier of the autolink. in: path @@ -52443,9 +52483,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *365 examples: - default: *360 + default: *366 '404': *6 x-github: githubCloudOnly: false @@ -52465,9 +52505,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: - - *305 - - *306 - - *361 + - *311 + - *312 + - *367 responses: '204': description: Response @@ -52491,8 +52531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response if Dependabot is enabled @@ -52542,8 +52582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -52564,8 +52604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -52585,8 +52625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *305 - - *306 + - *311 + - *312 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -52624,7 +52664,7 @@ paths: - url protected: type: boolean - protection: &363 + protection: &369 title: Branch Protection description: Branch Protection type: object @@ -52667,7 +52707,7 @@ paths: required: - contexts - checks - enforce_admins: &366 + enforce_admins: &372 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52684,7 +52724,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &368 + required_pull_request_reviews: &374 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52706,7 +52746,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *223 + items: *229 apps: description: The list of apps with review dismissal access. @@ -52738,7 +52778,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *223 + items: *229 apps: description: The list of apps allowed to bypass pull request requirements. @@ -52768,7 +52808,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &365 + restrictions: &371 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53093,9 +53133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *305 - - *306 - - &364 + - *311 + - *312 + - &370 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). @@ -53109,14 +53149,14 @@ paths: description: Response content: application/json: - schema: &374 + schema: &380 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &418 + commit: &424 title: Commit description: Commit type: object @@ -53155,7 +53195,7 @@ paths: author: anyOf: - type: 'null' - - &362 + - &368 title: Git User description: Metaproperties for Git author/committer information. @@ -53176,7 +53216,7 @@ paths: committer: anyOf: - type: 'null' - - *362 + - *368 message: type: string examples: @@ -53200,7 +53240,7 @@ paths: required: - sha - url - verification: &467 + verification: &473 title: Verification type: object properties: @@ -53231,14 +53271,14 @@ paths: author: oneOf: - *4 - - *157 + - *163 type: - 'null' - object committer: oneOf: - *4 - - *157 + - *163 type: - 'null' - object @@ -53275,7 +53315,7 @@ paths: type: integer files: type: array - items: &430 + items: &436 title: Diff Entry description: Diff Entry type: object @@ -53369,7 +53409,7 @@ paths: - self protected: type: boolean - protection: *363 + protection: *369 protection_url: type: string format: uri @@ -53477,7 +53517,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *319 + '301': *325 '404': *6 x-github: githubCloudOnly: false @@ -53499,15 +53539,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *363 + schema: *369 examples: default: value: @@ -53701,9 +53741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -53963,7 +54003,7 @@ paths: url: type: string format: uri - required_status_checks: &371 + required_status_checks: &377 title: Status Check Policy description: Status Check Policy type: object @@ -54044,7 +54084,7 @@ paths: items: *4 teams: type: array - items: *223 + items: *229 apps: type: array items: *5 @@ -54062,7 +54102,7 @@ paths: items: *4 teams: type: array - items: *223 + items: *229 apps: type: array items: *5 @@ -54122,7 +54162,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *365 + restrictions: *371 required_conversation_resolution: type: object properties: @@ -54234,9 +54274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54261,17 +54301,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *372 examples: - default: &367 + default: &373 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54293,17 +54333,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *372 examples: - default: *367 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54322,9 +54362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54349,17 +54389,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: &369 + default: &375 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54455,9 +54495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -54555,9 +54595,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: *369 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -54578,9 +54618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54607,17 +54647,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *372 examples: - default: &370 + default: &376 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54640,17 +54680,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *372 examples: - default: *370 + default: *376 '404': *6 x-github: githubCloudOnly: false @@ -54670,9 +54710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54697,17 +54737,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *371 + schema: *377 examples: - default: &372 + default: &378 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54733,9 +54773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -54787,9 +54827,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *377 examples: - default: *372 + default: *378 '404': *6 '422': *15 x-github: @@ -54811,9 +54851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54837,9 +54877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response @@ -54873,9 +54913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -54942,9 +54982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -55008,9 +55048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: content: application/json: @@ -55076,15 +55116,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *365 + schema: *371 examples: default: value: @@ -55175,9 +55215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -55200,9 +55240,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: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response @@ -55212,7 +55252,7 @@ paths: type: array items: *5 examples: - default: &373 + default: &379 value: - id: 1 slug: octoapp @@ -55269,9 +55309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55305,7 +55345,7 @@ paths: type: array items: *5 examples: - default: *373 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -55326,9 +55366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55362,7 +55402,7 @@ paths: type: array items: *5 examples: - default: *373 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -55383,9 +55423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55419,7 +55459,7 @@ paths: type: array items: *5 examples: - default: *373 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -55441,9 +55481,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: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response @@ -55451,9 +55491,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 '404': *6 x-github: githubCloudOnly: false @@ -55473,9 +55513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -55511,9 +55551,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 '422': *15 x-github: githubCloudOnly: false @@ -55534,9 +55574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -55572,9 +55612,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 '422': *15 x-github: githubCloudOnly: false @@ -55595,9 +55635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: content: application/json: @@ -55632,9 +55672,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 '422': *15 x-github: githubCloudOnly: false @@ -55656,9 +55696,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: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response @@ -55668,7 +55708,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '404': *6 x-github: githubCloudOnly: false @@ -55692,9 +55732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55727,7 +55767,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -55752,9 +55792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55787,7 +55827,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -55812,9 +55852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55847,7 +55887,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -55874,9 +55914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55898,7 +55938,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *380 examples: default: value: @@ -56013,8 +56053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -56293,7 +56333,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &382 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56428,8 +56468,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *375 - deployment: &676 + items: *381 + deployment: &682 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56716,9 +56756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *305 - - *306 - - &377 + - *311 + - *312 + - &383 name: check_run_id description: The unique identifier of the check run. in: path @@ -56730,9 +56770,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: &378 + default: &384 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56832,9 +56872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *305 - - *306 - - *377 + - *311 + - *312 + - *383 requestBody: required: true content: @@ -57074,9 +57114,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: *378 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57096,9 +57136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *305 - - *306 - - *377 + - *311 + - *312 + - *383 - *17 - *18 responses: @@ -57210,15 +57250,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *305 - - *306 - - *377 + - *311 + - *312 + - *383 responses: '201': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -57256,8 +57296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -57279,7 +57319,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &380 + schema: &386 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57361,12 +57401,12 @@ paths: type: - array - 'null' - items: *375 + items: *381 app: anyOf: - type: 'null' - *5 - repository: *146 + repository: *152 created_at: type: - string @@ -57377,7 +57417,7 @@ paths: - string - 'null' format: date-time - head_commit: *379 + head_commit: *385 latest_check_runs_count: type: integer check_runs_url: @@ -57405,7 +57445,7 @@ paths: - check_runs_url - pull_requests examples: - default: &381 + default: &387 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57696,9 +57736,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *380 + schema: *386 examples: - default: *381 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57717,8 +57757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -57779,7 +57819,7 @@ paths: required: - app_id - setting - repository: *146 + repository: *152 examples: default: value: @@ -58027,9 +58067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *305 - - *306 - - &382 + - *311 + - *312 + - &388 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58041,9 +58081,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *386 examples: - default: *381 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58066,17 +58106,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: - - *305 - - *306 - - *382 - - &425 + - *311 + - *312 + - *388 + - &431 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &426 + - &432 name: status description: Returns check runs with the specified `status`. in: query @@ -58115,9 +58155,9 @@ paths: type: integer check_runs: type: array - items: *376 + items: *382 examples: - default: &427 + default: &433 value: total_count: 1 check_runs: @@ -58219,15 +58259,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *305 - - *306 - - *382 + - *311 + - *312 + - *388 responses: '201': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -58254,21 +58294,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: - - *305 - - *306 - - *169 - - *170 + - *311 + - *312 + - *175 + - *176 - *18 - *17 - - &394 + - &400 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: *383 - - &395 + schema: *389 + - &401 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58293,13 +58333,13 @@ paths: be returned. in: query required: false - schema: *171 + schema: *177 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *384 + schema: *390 responses: '200': description: Response @@ -58315,7 +58355,7 @@ paths: updated_at: *88 url: *85 html_url: *86 - instances_url: *385 + instances_url: *391 state: *79 fixed_at: *90 dismissed_by: @@ -58323,11 +58363,11 @@ paths: - type: 'null' - *4 dismissed_at: *89 - dismissed_reason: *386 - dismissed_comment: *387 - rule: *388 - tool: *389 - most_recent_instance: *390 + dismissed_reason: *392 + dismissed_comment: *393 + rule: *394 + tool: *395 + most_recent_instance: *396 required: - number - created_at @@ -58443,7 +58483,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &391 + '403': &397 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -58470,9 +58510,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: - - *305 - - *306 - - &392 + - *311 + - *312 + - &398 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58486,7 +58526,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &399 type: object properties: number: *81 @@ -58494,7 +58534,7 @@ paths: updated_at: *88 url: *85 html_url: *86 - instances_url: *385 + instances_url: *391 state: *79 fixed_at: *90 dismissed_by: @@ -58502,8 +58542,8 @@ paths: - type: 'null' - *4 dismissed_at: *89 - dismissed_reason: *386 - dismissed_comment: *387 + dismissed_reason: *392 + dismissed_comment: *393 rule: type: object properties: @@ -58565,8 +58605,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *389 - most_recent_instance: *390 + tool: *395 + most_recent_instance: *396 required: - number - created_at @@ -58655,7 +58695,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -58675,9 +58715,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: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 requestBody: required: true content: @@ -58692,8 +58732,8 @@ paths: enum: - open - dismissed - dismissed_reason: *386 - dismissed_comment: *387 + dismissed_reason: *392 + dismissed_comment: *393 required: - state examples: @@ -58708,7 +58748,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *399 examples: default: value: @@ -58783,7 +58823,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &400 + '403': &406 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -58810,13 +58850,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: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 - *18 - *17 - - *394 - - *395 + - *400 + - *401 responses: '200': description: Response @@ -58824,7 +58864,7 @@ paths: application/json: schema: type: array - items: *390 + items: *396 examples: default: value: @@ -58863,7 +58903,7 @@ paths: end_column: 50 classifications: - source - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -58897,25 +58937,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: - - *305 - - *306 - - *169 - - *170 + - *311 + - *312 + - *175 + - *176 - *18 - *17 - - *395 + - *401 - 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: *383 + schema: *389 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &398 + schema: &404 type: string description: An identifier for the upload. examples: @@ -58937,23 +58977,23 @@ paths: application/json: schema: type: array - items: &399 + items: &405 type: object properties: - ref: *383 - commit_sha: &408 + ref: *389 + commit_sha: &414 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: *396 + analysis_key: *402 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *397 + category: *403 error: type: string examples: @@ -58978,8 +59018,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *398 - tool: *389 + sarif_id: *404 + tool: *395 deletable: type: boolean warning: @@ -59041,7 +59081,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -59077,8 +59117,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: - - *305 - - *306 + - *311 + - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59091,7 +59131,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *405 examples: response: summary: application/json response @@ -59145,7 +59185,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -59227,8 +59267,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: - - *305 - - *306 + - *311 + - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59284,7 +59324,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': *400 + '403': *406 '404': *6 '503': *92 x-github: @@ -59306,8 +59346,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -59315,7 +59355,7 @@ paths: application/json: schema: type: array - items: &401 + items: &407 title: CodeQL Database description: A CodeQL database. type: object @@ -59427,7 +59467,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': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -59456,8 +59496,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: - - *305 - - *306 + - *311 + - *312 - name: language in: path description: The language of the CodeQL database. @@ -59469,7 +59509,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *407 examples: default: value: @@ -59501,9 +59541,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': &432 + '302': &438 description: Found - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -59525,8 +59565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *305 - - *306 + - *311 + - *312 - name: language in: path description: The language of the CodeQL database. @@ -59536,7 +59576,7 @@ paths: responses: '204': description: Response - '403': *400 + '403': *406 '404': *6 '503': *92 x-github: @@ -59564,8 +59604,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -59574,7 +59614,7 @@ paths: type: object additionalProperties: false properties: - language: &402 + language: &408 type: string description: The language targeted by the CodeQL query enum: @@ -59652,7 +59692,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &406 + schema: &412 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59662,7 +59702,7 @@ paths: description: The ID of the variant analysis. controller_repo: *91 actor: *4 - query_language: *402 + query_language: *408 query_pack_url: type: string description: The download url for the query pack. @@ -59710,7 +59750,7 @@ paths: items: type: object properties: - repository: &403 + repository: &409 title: Repository Identifier description: Repository Identifier type: object @@ -59752,7 +59792,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &407 + analysis_status: &413 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59784,7 +59824,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &404 + access_mismatch_repos: &410 type: object properties: repository_count: @@ -59799,7 +59839,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: *403 + items: *409 required: - repository_count - repositories @@ -59822,8 +59862,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *404 - over_limit_repos: *404 + no_codeql_db_repos: *410 + over_limit_repos: *410 required: - access_mismatch_repos - not_found_repos @@ -59839,7 +59879,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &405 + value: &411 summary: Default response value: id: 1 @@ -59991,10 +60031,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *405 + value: *411 repository_lists: summary: Response for a successful variant analysis submission - value: *405 + value: *411 '404': *6 '422': description: Unable to process variant analysis submission @@ -60022,8 +60062,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: - - *305 - - *306 + - *311 + - *312 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60035,9 +60075,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *412 examples: - default: *405 + default: *411 '404': *6 '503': *92 x-github: @@ -60060,7 +60100,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: - - *305 + - *311 - name: repo in: path description: The name of the controller repository. @@ -60095,7 +60135,7 @@ paths: type: object properties: repository: *91 - analysis_status: *407 + analysis_status: *413 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60220,8 +60260,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -60286,7 +60326,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -60307,8 +60347,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -60353,7 +60393,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -60378,7 +60418,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *400 + '403': *406 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -60443,8 +60483,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -60452,7 +60492,7 @@ paths: schema: type: object properties: - commit_sha: *408 + commit_sha: *414 ref: type: string description: |- @@ -60512,7 +60552,7 @@ paths: schema: type: object properties: - id: *398 + id: *404 url: type: string description: The REST API URL for checking the status of the upload. @@ -60526,7 +60566,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': *400 + '403': *406 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -60549,8 +60589,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: - - *305 - - *306 + - *311 + - *312 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60598,7 +60638,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': *391 + '403': *397 '404': description: Not Found if the sarif id does not match any upload '503': *92 @@ -60623,8 +60663,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -60648,7 +60688,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *174 + configuration: *180 examples: default: value: @@ -60677,7 +60717,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': *177 + '204': *183 '304': *35 '403': *27 '404': *6 @@ -60702,8 +60742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *305 - - *306 + - *311 + - *312 - 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 @@ -60831,8 +60871,8 @@ paths: parameters: - *17 - *18 - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -60848,7 +60888,7 @@ paths: type: integer codespaces: type: array - items: *227 + items: *233 examples: default: value: @@ -61146,8 +61186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -61211,17 +61251,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '400': *14 '401': *23 '403': *27 @@ -61250,8 +61290,8 @@ paths: parameters: - *17 - *18 - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -61315,8 +61355,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: - - *305 - - *306 + - *311 + - *312 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -61353,9 +61393,9 @@ paths: type: integer machines: type: array - items: *410 + items: *416 examples: - default: &633 + default: &639 value: total_count: 2 machines: @@ -61395,8 +61435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *305 - - *306 + - *311 + - *312 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -61483,8 +61523,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: - - *305 - - *306 + - *311 + - *312 - 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 @@ -61553,8 +61593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -61572,7 +61612,7 @@ paths: type: integer secrets: type: array - items: &414 + items: &420 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61593,7 +61633,7 @@ paths: - created_at - updated_at examples: - default: *411 + default: *417 headers: Link: *37 x-github: @@ -61616,16 +61656,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *412 + schema: *418 examples: - default: *413 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61645,17 +61685,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '200': description: Response content: application/json: - schema: *414 + schema: *420 examples: - default: *415 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61675,9 +61715,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: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 requestBody: required: true content: @@ -61705,7 +61745,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -61729,9 +61769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '204': description: Response @@ -61759,8 +61799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *305 - - *306 + - *311 + - *312 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61798,7 +61838,7 @@ paths: application/json: schema: type: array - items: &416 + items: &422 title: Collaborator description: Collaborator type: object @@ -61991,9 +62031,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: - - *305 - - *306 - - *168 + - *311 + - *312 + - *174 responses: '204': description: Response if user is a collaborator @@ -62035,9 +62075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *305 - - *306 - - *168 + - *311 + - *312 + - *174 requestBody: required: false content: @@ -62063,7 +62103,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &480 + schema: &486 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62075,7 +62115,7 @@ paths: format: int64 examples: - 42 - repository: *146 + repository: *152 invitee: anyOf: - type: 'null' @@ -62284,9 +62324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *305 - - *306 - - *168 + - *311 + - *312 + - *174 responses: '204': description: No Content when collaborator was removed from the repository. @@ -62315,9 +62355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *305 - - *306 - - *168 + - *311 + - *312 + - *174 responses: '200': description: if user has admin permissions @@ -62337,7 +62377,7 @@ paths: user: anyOf: - type: 'null' - - *416 + - *422 required: - permission - role_name @@ -62391,8 +62431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -62402,7 +62442,7 @@ paths: application/json: schema: type: array - items: &417 + items: &423 title: Commit Comment description: Commit Comment type: object @@ -62460,7 +62500,7 @@ paths: - created_at - updated_at examples: - default: &420 + default: &426 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62519,17 +62559,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: &421 + default: &427 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62586,8 +62626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -62610,7 +62650,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *423 examples: default: value: @@ -62661,8 +62701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '204': @@ -62684,8 +62724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -62712,9 +62752,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 @@ -62735,8 +62775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -62769,16 +62809,16 @@ paths: description: Reaction exists content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Reaction created content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -62800,10 +62840,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *305 - - *306 + - *311 + - *312 - *111 - - *297 + - *303 responses: '204': description: Response @@ -62851,8 +62891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *305 - - *306 + - *311 + - *312 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -62908,9 +62948,9 @@ paths: application/json: schema: type: array - items: *418 + items: *424 examples: - default: &527 + default: &533 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62983,7 +63023,7 @@ paths: '500': *80 '400': *14 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63003,9 +63043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *305 - - *306 - - &419 + - *311 + - *312 + - &425 name: commit_sha description: The SHA of the commit. in: path @@ -63052,7 +63092,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63077,9 +63117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *305 - - *306 - - *419 + - *311 + - *312 + - *425 - *17 - *18 responses: @@ -63089,9 +63129,9 @@ paths: application/json: schema: type: array - items: *417 + items: *423 examples: - default: *420 + default: *426 headers: Link: *37 x-github: @@ -63119,9 +63159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *305 - - *306 - - *419 + - *311 + - *312 + - *425 requestBody: required: true content: @@ -63156,9 +63196,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: *421 + default: *427 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63186,9 +63226,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: - - *305 - - *306 - - *419 + - *311 + - *312 + - *425 - *17 - *18 responses: @@ -63198,7 +63238,7 @@ paths: application/json: schema: type: array - items: &518 + items: &524 title: Pull Request Simple description: Pull Request Simple type: object @@ -63318,7 +63358,7 @@ paths: milestone: anyOf: - type: 'null' - - *422 + - *428 active_lock_reason: type: - string @@ -63373,7 +63413,7 @@ paths: type: - array - 'null' - items: *223 + items: *229 head: type: object properties: @@ -63417,7 +63457,7 @@ paths: _links: type: object properties: - comments: &423 + comments: &429 title: Link description: Hypermedia Link type: object @@ -63426,13 +63466,13 @@ paths: type: string required: - href - commits: *423 - statuses: *423 - html: *423 - issue: *423 - review_comments: *423 - review_comment: *423 - self: *423 + commits: *429 + statuses: *429 + html: *429 + issue: *429 + review_comments: *429 + review_comment: *429 + self: *429 required: - comments - commits @@ -63443,7 +63483,7 @@ paths: - review_comment - self author_association: *99 - auto_merge: &520 + auto_merge: &526 title: Auto merge description: The status of auto merging a pull request. type: @@ -63508,7 +63548,7 @@ paths: - author_association - auto_merge examples: - default: &519 + default: &525 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -63988,7 +64028,7 @@ paths: draft: false headers: Link: *37 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64044,11 +64084,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *305 - - *306 + - *311 + - *312 - *18 - *17 - - &424 + - &430 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)" @@ -64063,9 +64103,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *424 examples: - default: &506 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64152,7 +64192,7 @@ paths: '404': *6 '500': *80 '503': *92 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64177,11 +64217,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: - - *305 - - *306 - - *424 - - *425 - - *426 + - *311 + - *312 + - *430 + - *431 + - *432 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64215,9 +64255,9 @@ paths: type: integer check_runs: type: array - items: *376 + items: *382 examples: - default: *427 + default: *433 headers: Link: *37 x-github: @@ -64242,9 +64282,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: - - *305 - - *306 - - *424 + - *311 + - *312 + - *430 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64252,7 +64292,7 @@ paths: schema: type: integer example: 1 - - *425 + - *431 - *17 - *18 responses: @@ -64270,7 +64310,7 @@ paths: type: integer check_suites: type: array - items: *380 + items: *386 examples: default: value: @@ -64470,9 +64510,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: - - *305 - - *306 - - *424 + - *311 + - *312 + - *430 - *17 - *18 responses: @@ -64543,7 +64583,7 @@ paths: type: string total_count: type: integer - repository: *146 + repository: *152 commit_url: type: string format: uri @@ -64674,9 +64714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *305 - - *306 - - *424 + - *311 + - *312 + - *430 - *17 - *18 responses: @@ -64686,7 +64726,7 @@ paths: application/json: schema: type: array - items: &581 + items: &587 title: Status description: The status of a commit. type: object @@ -64767,7 +64807,7 @@ paths: site_admin: false headers: Link: *37 - '301': *319 + '301': *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64795,8 +64835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -64829,11 +64869,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *428 + - *434 code_of_conduct_file: anyOf: - type: 'null' - - &429 + - &435 title: Community Health File type: object properties: @@ -64853,19 +64893,19 @@ paths: contributing: anyOf: - type: 'null' - - *429 + - *435 readme: anyOf: - type: 'null' - - *429 + - *435 issue_template: anyOf: - type: 'null' - - *429 + - *435 pull_request_template: anyOf: - type: 'null' - - *429 + - *435 required: - code_of_conduct - code_of_conduct_file @@ -64993,8 +65033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *305 - - *306 + - *311 + - *312 - *18 - *17 - name: basehead @@ -65042,8 +65082,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *418 - merge_base_commit: *418 + base_commit: *424 + merge_base_commit: *424 status: type: string enum: @@ -65067,10 +65107,10 @@ paths: - 6 commits: type: array - items: *418 + items: *424 files: type: array - items: *430 + items: *436 required: - url - html_url @@ -65353,8 +65393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *305 - - *306 + - *311 + - *312 - name: path description: path parameter in: path @@ -65505,7 +65545,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &431 + response-if-content-is-a-file: &437 summary: Response if content is a file value: type: file @@ -65642,7 +65682,7 @@ paths: - size - type - url - - &532 + - &538 title: Content File description: Content File type: object @@ -65860,7 +65900,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *431 + response-if-content-is-a-file: *437 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -65929,7 +65969,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *432 + '302': *438 '304': *35 x-github: githubCloudOnly: false @@ -65952,8 +65992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *305 - - *306 + - *311 + - *312 - name: path description: path parameter in: path @@ -66048,7 +66088,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &439 title: File Commit description: File Commit type: object @@ -66199,7 +66239,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *439 examples: example-for-creating-a-file: value: @@ -66252,7 +66292,7 @@ paths: schema: oneOf: - *3 - - &462 + - &468 description: Repository rule violation was detected type: object properties: @@ -66273,7 +66313,7 @@ paths: items: type: object properties: - placeholder_id: &574 + placeholder_id: &580 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66305,8 +66345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *305 - - *306 + - *311 + - *312 - name: path description: path parameter in: path @@ -66367,7 +66407,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *439 examples: default: value: @@ -66400,7 +66440,7 @@ paths: payload: '422': *15 '404': *6 - '409': *133 + '409': *139 '503': *92 x-github: githubCloudOnly: false @@ -66421,8 +66461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *305 - - *306 + - *311 + - *312 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66546,20 +66586,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *305 - - *306 - - *187 - - *188 - - *189 - - *190 + - *311 + - *312 + - *193 + - *194 + - *195 + - *196 - 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 - - *191 - - *192 + - *197 + - *198 - *76 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -66579,8 +66619,8 @@ paths: default: 30 - *74 - *75 - - *193 - - *194 + - *199 + - *200 responses: '200': description: Response @@ -66588,7 +66628,7 @@ paths: application/json: schema: type: array - items: &436 + items: &442 type: object description: A Dependabot alert. properties: @@ -66623,7 +66663,7 @@ paths: - development - runtime - - security_advisory: *434 + security_advisory: *440 security_vulnerability: *84 url: *85 html_url: *86 @@ -66654,7 +66694,7 @@ paths: dismissal. maxLength: 280 fixed_at: *90 - auto_dismissed_at: *435 + auto_dismissed_at: *441 required: - number - state @@ -66881,9 +66921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *305 - - *306 - - &437 + - *311 + - *312 + - &443 name: alert_number in: path description: |- @@ -66898,7 +66938,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *442 examples: default: value: @@ -67008,9 +67048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *305 - - *306 - - *437 + - *311 + - *312 + - *443 requestBody: required: true content: @@ -67055,7 +67095,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *442 examples: default: value: @@ -67161,7 +67201,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *133 + '409': *139 '422': *7 x-github: githubCloudOnly: false @@ -67184,8 +67224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -67203,7 +67243,7 @@ paths: type: integer secrets: type: array - items: &440 + items: &446 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67257,16 +67297,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *438 + schema: *444 examples: - default: *439 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67286,15 +67326,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '200': description: Response content: application/json: - schema: *440 + schema: *446 examples: default: value: @@ -67320,9 +67360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 requestBody: required: true content: @@ -67350,7 +67390,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -67374,9 +67414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '204': description: Response @@ -67398,8 +67438,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: - - *305 - - *306 + - *311 + - *312 - 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 @@ -67573,8 +67613,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -67834,8 +67874,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -67918,7 +67958,7 @@ paths: - version - url additionalProperties: false - metadata: &441 + metadata: &447 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -67957,7 +67997,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *441 + metadata: *447 resolved: type: object description: A collection of resolved package dependencies. @@ -67971,7 +68011,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *441 + metadata: *447 relationship: type: string description: A notation of whether a dependency is requested @@ -68104,8 +68144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *305 - - *306 + - *311 + - *312 - name: sha description: The SHA recorded at creation time. in: query @@ -68146,9 +68186,9 @@ paths: application/json: schema: type: array - items: *442 + items: *448 examples: - default: *443 + default: *449 headers: Link: *37 x-github: @@ -68214,8 +68254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -68297,7 +68337,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *448 examples: simple-example: summary: Simple example @@ -68370,9 +68410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *305 - - *306 - - &444 + - *311 + - *312 + - &450 name: deployment_id description: deployment_id parameter in: path @@ -68384,7 +68424,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *448 examples: default: value: @@ -68449,9 +68489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *305 - - *306 - - *444 + - *311 + - *312 + - *450 responses: '204': description: Response @@ -68473,9 +68513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *305 - - *306 - - *444 + - *311 + - *312 + - *450 - *17 - *18 responses: @@ -68485,7 +68525,7 @@ paths: application/json: schema: type: array - items: &445 + items: &451 title: Deployment Status description: The status of a deployment. type: object @@ -68649,9 +68689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *305 - - *306 - - *444 + - *311 + - *312 + - *450 requestBody: required: true content: @@ -68726,9 +68766,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *451 examples: - default: &446 + default: &452 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68784,9 +68824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *305 - - *306 - - *444 + - *311 + - *312 + - *450 - name: status_id in: path required: true @@ -68797,9 +68837,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *451 examples: - default: *446 + default: *452 '404': *6 x-github: githubCloudOnly: false @@ -68824,8 +68864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -68882,8 +68922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -68901,7 +68941,7 @@ paths: - 5 environments: type: array - items: &448 + items: &454 title: Environment description: Details of a deployment environment type: object @@ -68963,7 +69003,7 @@ paths: type: string examples: - wait_timer - wait_timer: &450 + wait_timer: &456 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -69005,11 +69045,11 @@ paths: items: type: object properties: - type: *447 + type: *453 reviewer: anyOf: - *4 - - *223 + - *229 required: - id - node_id @@ -69032,7 +69072,7 @@ paths: - id - node_id - type - deployment_branch_policy: &451 + deployment_branch_policy: &457 type: - object - 'null' @@ -69149,9 +69189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *305 - - *306 - - &449 + - *311 + - *312 + - &455 name: environment_name in: path required: true @@ -69164,9 +69204,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *454 examples: - default: &452 + default: &458 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69250,9 +69290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 requestBody: required: false content: @@ -69262,7 +69302,7 @@ paths: - object - 'null' properties: - wait_timer: *450 + wait_timer: *456 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -69281,14 +69321,14 @@ paths: items: type: object properties: - type: *447 + type: *453 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *451 + deployment_branch_policy: *457 additionalProperties: false examples: default: @@ -69308,9 +69348,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *454 examples: - default: *452 + default: *458 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69334,9 +69374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 responses: '204': description: Default response @@ -69361,9 +69401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 - *17 - *18 responses: @@ -69382,7 +69422,7 @@ paths: - 2 branch_policies: type: array - items: &453 + items: &459 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69443,9 +69483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 requestBody: required: true content: @@ -69493,9 +69533,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *459 examples: - example-wildcard: &454 + example-wildcard: &460 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69537,10 +69577,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *305 - - *306 - - *449 - - &455 + - *311 + - *312 + - *455 + - &461 name: branch_policy_id in: path required: true @@ -69552,9 +69592,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *459 examples: - default: *454 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69573,10 +69613,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *305 - - *306 - - *449 + - *311 + - *312 - *455 + - *461 requestBody: required: true content: @@ -69605,9 +69645,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *459 examples: - default: *454 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69626,10 +69666,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *305 - - *306 - - *449 + - *311 + - *312 - *455 + - *461 responses: '204': description: Response @@ -69654,9 +69694,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: - - *449 - - *306 - - *305 + - *455 + - *312 + - *311 responses: '200': description: List of deployment protection rules @@ -69673,7 +69713,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &456 + items: &462 title: Deployment protection rule description: Deployment protection rule type: object @@ -69695,7 +69735,7 @@ paths: for the environment. examples: - true - app: &457 + app: &463 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69798,9 +69838,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: - - *449 - - *306 - - *305 + - *455 + - *312 + - *311 requestBody: content: application/json: @@ -69821,9 +69861,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *456 + schema: *462 examples: - default: &458 + default: &464 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69858,9 +69898,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: - - *449 - - *306 - - *305 + - *455 + - *312 + - *311 - *18 - *17 responses: @@ -69880,7 +69920,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *457 + items: *463 examples: default: value: @@ -69915,10 +69955,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: - - *305 - - *306 - - *449 - - &459 + - *311 + - *312 + - *455 + - &465 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -69930,9 +69970,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *462 examples: - default: *458 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69953,10 +69993,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: - - *449 - - *306 - - *305 - - *459 + - *455 + - *312 + - *311 + - *465 responses: '204': description: Response @@ -69982,9 +70022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 - *17 - *18 responses: @@ -70002,9 +70042,9 @@ paths: type: integer secrets: type: array - items: *342 + items: *348 examples: - default: *343 + default: *349 headers: Link: *37 x-github: @@ -70029,17 +70069,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 responses: '200': description: Response content: application/json: - schema: *344 + schema: *350 examples: - default: *345 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70061,18 +70101,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *305 - - *306 - - *449 - - *156 + - *311 + - *312 + - *455 + - *162 responses: '200': description: Response content: application/json: - schema: *342 + schema: *348 examples: - default: *460 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70094,10 +70134,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *305 - - *306 - - *449 - - *156 + - *311 + - *312 + - *455 + - *162 requestBody: required: true content: @@ -70128,7 +70168,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -70154,10 +70194,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *305 - - *306 - - *449 - - *156 + - *311 + - *312 + - *455 + - *162 responses: '204': description: Default response @@ -70182,10 +70222,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *305 - - *306 - - *449 - - *329 + - *311 + - *312 + - *455 + - *335 - *18 responses: '200': @@ -70202,9 +70242,9 @@ paths: type: integer variables: type: array - items: *346 + items: *352 examples: - default: *347 + default: *353 headers: Link: *37 x-github: @@ -70227,9 +70267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 requestBody: required: true content: @@ -70256,7 +70296,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -70281,18 +70321,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *305 - - *306 - - *449 - - *159 + - *311 + - *312 + - *455 + - *165 responses: '200': description: Response content: application/json: - schema: *346 + schema: *352 examples: - default: *461 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70313,10 +70353,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *305 - - *306 - - *159 - - *449 + - *311 + - *312 + - *165 + - *455 requestBody: required: true content: @@ -70358,10 +70398,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *305 - - *306 - - *159 - - *449 + - *311 + - *312 + - *165 + - *455 responses: '204': description: Response @@ -70383,8 +70423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -70461,8 +70501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *305 - - *306 + - *311 + - *312 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70484,7 +70524,7 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: default: value: @@ -70621,8 +70661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -70655,9 +70695,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 + default: *326 '400': *14 '422': *15 '403': *27 @@ -70678,8 +70718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -70730,7 +70770,7 @@ paths: schema: type: string '404': *6 - '409': *133 + '409': *139 '403': *27 '422': description: Validation failed @@ -70738,8 +70778,8 @@ paths: application/json: schema: oneOf: - - *131 - - *462 + - *137 + - *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70764,8 +70804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *305 - - *306 + - *311 + - *312 - name: file_sha in: path required: true @@ -70817,7 +70857,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70864,8 +70904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -70974,7 +71014,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &469 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -71145,7 +71185,7 @@ paths: type: string '422': *15 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71194,15 +71234,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *305 - - *306 - - *419 + - *311 + - *312 + - *425 responses: '200': description: Response content: application/json: - schema: *463 + schema: *469 examples: default: value: @@ -71232,7 +71272,7 @@ paths: signature: payload: '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71257,9 +71297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *305 - - *306 - - &464 + - *311 + - *312 + - &470 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. @@ -71276,7 +71316,7 @@ paths: application/json: schema: type: array - items: &465 + items: &471 title: Git Reference description: Git references within a repository type: object @@ -71331,7 +71371,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *37 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71352,17 +71392,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *305 - - *306 - - *464 + - *311 + - *312 + - *470 responses: '200': description: Response content: application/json: - schema: *465 + schema: *471 examples: - default: &466 + default: &472 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71372,7 +71412,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71391,8 +71431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -71421,16 +71461,16 @@ paths: description: Response content: application/json: - schema: *465 + schema: *471 examples: - default: *466 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71449,9 +71489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *305 - - *306 - - *464 + - *311 + - *312 + - *470 requestBody: required: true content: @@ -71480,11 +71520,11 @@ paths: description: Response content: application/json: - schema: *465 + schema: *471 examples: - default: *466 + default: *472 '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71500,14 +71540,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *305 - - *306 - - *464 + - *311 + - *312 + - *470 responses: '204': description: Response '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71554,8 +71594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -71622,7 +71662,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &474 title: Git Tag description: Metadata for a Git tag type: object @@ -71678,7 +71718,7 @@ paths: - sha - type - url - verification: *467 + verification: *473 required: - sha - url @@ -71688,7 +71728,7 @@ paths: - tag - message examples: - default: &469 + default: &475 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71714,7 +71754,7 @@ paths: schema: type: string '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71759,8 +71799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *305 - - *306 + - *311 + - *312 - name: tag_sha in: path required: true @@ -71771,11 +71811,11 @@ paths: description: Response content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71797,8 +71837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -71872,7 +71912,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &476 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -71967,7 +72007,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71990,8 +72030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *305 - - *306 + - *311 + - *312 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72014,7 +72054,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *476 examples: default-response: summary: Default response @@ -72055,7 +72095,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72073,8 +72113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -72084,7 +72124,7 @@ paths: application/json: schema: type: array - items: &471 + items: &477 title: Webhook description: Webhooks for repositories. type: object @@ -72147,7 +72187,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &707 + last_response: &713 title: Hook Response type: object properties: @@ -72224,8 +72264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -72278,9 +72318,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *477 examples: - default: &472 + default: &478 value: type: Repository id: 12345678 @@ -72328,17 +72368,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '200': description: Response content: application/json: - schema: *471 + schema: *477 examples: - default: *472 + default: *478 '404': *6 x-github: githubCloudOnly: false @@ -72358,9 +72398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 requestBody: required: true content: @@ -72405,9 +72445,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *477 examples: - default: *472 + default: *478 '422': *15 '404': *6 x-github: @@ -72425,9 +72465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '204': description: Response @@ -72451,9 +72491,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: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '200': description: Response @@ -72480,9 +72520,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: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 requestBody: required: false content: @@ -72526,11 +72566,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 - *17 - - *201 + - *207 responses: '200': description: Response @@ -72538,9 +72578,9 @@ paths: application/json: schema: type: array - items: *202 + items: *208 examples: - default: *203 + default: *209 '400': *14 '422': *15 x-github: @@ -72559,18 +72599,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: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *205 + default: *211 '400': *14 '422': *15 x-github: @@ -72589,12 +72629,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 - *16 responses: - '202': *134 + '202': *140 '400': *14 '422': *15 x-github: @@ -72614,9 +72654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '204': description: Response @@ -72641,9 +72681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '204': description: Response @@ -72701,14 +72741,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &473 + schema: &479 title: Import description: A repository import from an external source. type: object @@ -72815,7 +72855,7 @@ paths: - html_url - authors_url examples: - default: &476 + default: &482 value: vcs: subversion use_lfs: true @@ -72831,7 +72871,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': &474 + '503': &480 description: Unavailable due to service under maintenance. content: application/json: @@ -72860,8 +72900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -72909,7 +72949,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *479 examples: default: value: @@ -72934,7 +72974,7 @@ paths: type: string '422': *15 '404': *6 - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72962,8 +73002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -73015,7 +73055,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *479 examples: example-1: summary: Example 1 @@ -73063,7 +73103,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': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73086,12 +73126,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73117,9 +73157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *305 - - *306 - - &656 + - *311 + - *312 + - &662 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73133,7 +73173,7 @@ paths: application/json: schema: type: array - items: &475 + items: &481 title: Porter Author description: Porter Author type: object @@ -73187,7 +73227,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': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73212,8 +73252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *305 - - *306 + - *311 + - *312 - name: author_id in: path required: true @@ -73243,7 +73283,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *481 examples: default: value: @@ -73256,7 +73296,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73280,8 +73320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -73322,7 +73362,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73350,8 +73390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -73378,11 +73418,11 @@ paths: description: Response content: application/json: - schema: *473 + schema: *479 examples: - default: *476 + default: *482 '422': *15 - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73405,8 +73445,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -73414,8 +73454,8 @@ paths: application/json: schema: *20 examples: - default: *477 - '301': *319 + default: *483 + '301': *325 '404': *6 x-github: githubCloudOnly: false @@ -73435,8 +73475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -73444,12 +73484,12 @@ paths: application/json: schema: anyOf: - - *218 + - *224 - type: object properties: {} additionalProperties: false examples: - default: &479 + default: &485 value: limit: collaborators_only origin: repository @@ -73474,13 +73514,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *478 + schema: *484 examples: default: summary: Example request body @@ -73492,9 +73532,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *224 examples: - default: *479 + default: *485 '409': description: Response x-github: @@ -73516,8 +73556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -73540,8 +73580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -73551,9 +73591,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: &649 + default: &655 value: - id: 1 repository: @@ -73684,9 +73724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *305 - - *306 - - *222 + - *311 + - *312 + - *228 requestBody: required: false content: @@ -73715,7 +73755,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *486 examples: default: value: @@ -73846,9 +73886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *305 - - *306 - - *222 + - *311 + - *312 + - *228 responses: '204': description: Response @@ -73879,8 +73919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *305 - - *306 + - *311 + - *312 - 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 @@ -73920,7 +73960,7 @@ paths: required: false schema: type: string - - *224 + - *230 - name: sort description: What to sort results by. in: query @@ -74093,7 +74133,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *319 + '301': *325 '422': *15 '404': *6 x-github: @@ -74122,8 +74162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -74206,7 +74246,7 @@ paths: application/json: schema: *112 examples: - default: &484 + default: &490 value: id: 1 node_id: MDU6SXNzdWUx @@ -74362,7 +74402,7 @@ paths: '422': *15 '503': *92 '404': *6 - '410': *316 + '410': *322 x-github: triggersNotification: true githubCloudOnly: false @@ -74390,8 +74430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *121 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -74412,9 +74452,9 @@ paths: application/json: schema: type: array - items: *481 + items: *487 examples: - default: &486 + default: &492 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74472,17 +74512,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '200': description: Response content: application/json: - schema: *481 + schema: *487 examples: - default: &482 + default: &488 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74536,8 +74576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -74560,9 +74600,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *487 examples: - default: *482 + default: *488 '422': *15 x-github: githubCloudOnly: false @@ -74580,8 +74620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '204': @@ -74602,8 +74642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -74630,9 +74670,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 @@ -74653,8 +74693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -74687,16 +74727,16 @@ paths: description: Reaction exists content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Reaction created content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -74718,10 +74758,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *305 - - *306 + - *311 + - *312 - *111 - - *297 + - *303 responses: '204': description: Response @@ -74741,8 +74781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -74752,7 +74792,7 @@ paths: application/json: schema: type: array - items: &483 + items: &489 title: Issue Event description: Issue Event type: object @@ -74832,7 +74872,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *223 + requested_team: *229 dismissed_review: title: Issue Event Dismissed Review type: object @@ -75091,8 +75131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *305 - - *306 + - *311 + - *312 - name: event_id in: path required: true @@ -75103,7 +75143,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *489 examples: default: value: @@ -75296,7 +75336,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *316 + '410': *322 '403': *27 x-github: githubCloudOnly: false @@ -75330,9 +75370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *305 - - *306 - - &485 + - *311 + - *312 + - &491 name: issue_number description: The number that identifies the issue. in: path @@ -75346,10 +75386,10 @@ paths: application/json: schema: *112 examples: - default: *484 - '301': *319 + default: *490 + '301': *325 '404': *6 - '410': *316 + '410': *322 '304': *35 x-github: githubCloudOnly: false @@ -75374,9 +75414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -75486,13 +75526,13 @@ paths: application/json: schema: *112 examples: - default: *484 + default: *490 '422': *15 '503': *92 '403': *27 - '301': *319 + '301': *325 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75510,9 +75550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -75540,7 +75580,7 @@ paths: application/json: schema: *112 examples: - default: *484 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75556,9 +75596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: content: application/json: @@ -75585,7 +75625,7 @@ paths: application/json: schema: *112 examples: - default: *484 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75607,9 +75647,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: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - name: assignee in: path required: true @@ -75649,9 +75689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - *102 - *17 - *18 @@ -75662,13 +75702,13 @@ paths: application/json: schema: type: array - items: *481 + items: *487 examples: - default: *486 + default: *492 headers: Link: *37 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75697,9 +75737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: true content: @@ -75721,16 +75761,16 @@ paths: description: Response content: application/json: - schema: *481 + schema: *487 examples: - default: *482 + default: *488 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *316 + '410': *322 '422': *15 '404': *6 x-github: @@ -75750,9 +75790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - *17 - *18 responses: @@ -75766,7 +75806,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &489 + - &495 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75815,7 +75855,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &496 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -75943,7 +75983,7 @@ paths: - performed_via_github_app - assignee - assigner - - &491 + - &497 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -75989,7 +76029,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &498 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76035,7 +76075,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &499 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76084,7 +76124,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &500 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76113,7 +76153,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *223 + requested_team: *229 requested_reviewer: *4 required: - review_requester @@ -76126,7 +76166,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &501 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76155,7 +76195,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *223 + requested_team: *229 requested_reviewer: *4 required: - review_requester @@ -76168,7 +76208,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &502 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76224,7 +76264,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &503 title: Locked Issue Event description: Locked Issue Event type: object @@ -76269,7 +76309,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &504 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76330,7 +76370,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &505 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76391,7 +76431,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &500 + - &506 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76452,7 +76492,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &507 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76545,7 +76585,7 @@ paths: color: red headers: Link: *37 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76562,9 +76602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - *17 - *18 responses: @@ -76574,7 +76614,7 @@ paths: application/json: schema: type: array - items: &487 + items: &493 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -76629,7 +76669,7 @@ paths: - color - default examples: - default: &488 + default: &494 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76647,9 +76687,9 @@ paths: default: false headers: Link: *37 - '301': *319 + '301': *325 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76666,9 +76706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -76727,12 +76767,12 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: - default: *488 - '301': *319 + default: *494 + '301': *325 '404': *6 - '410': *316 + '410': *322 '422': *15 x-github: githubCloudOnly: false @@ -76749,9 +76789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -76811,12 +76851,12 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: - default: *488 - '301': *319 + default: *494 + '301': *325 '404': *6 - '410': *316 + '410': *322 '422': *15 x-github: githubCloudOnly: false @@ -76833,15 +76873,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 responses: '204': description: Response - '301': *319 + '301': *325 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76860,9 +76900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - name: name in: path required: true @@ -76875,7 +76915,7 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: default: value: @@ -76886,9 +76926,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *319 + '301': *325 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76908,9 +76948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -76939,7 +76979,7 @@ paths: '204': description: Response '403': *27 - '410': *316 + '410': *322 '404': *6 '422': *15 x-github: @@ -76957,9 +76997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 responses: '204': description: Response @@ -76981,9 +77021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - 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. @@ -77009,13 +77049,13 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: true content: @@ -77067,16 +77107,16 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -77098,10 +77138,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *305 - - *306 - - *485 - - *297 + - *311 + - *312 + - *491 + - *303 responses: '204': description: Response @@ -77121,9 +77161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - *17 - *18 responses: @@ -77138,12 +77178,6 @@ paths: description: Timeline Event type: object anyOf: - - *489 - - *490 - - *491 - - *492 - - *493 - - *494 - *495 - *496 - *497 @@ -77151,6 +77185,12 @@ paths: - *499 - *500 - *501 + - *502 + - *503 + - *504 + - *505 + - *506 + - *507 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -77469,7 +77509,7 @@ paths: type: string comments: type: array - items: &521 + items: &527 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -77707,7 +77747,7 @@ paths: type: string comments: type: array - items: *417 + items: *423 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -77982,7 +78022,7 @@ paths: headers: Link: *37 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77999,8 +78039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -78010,7 +78050,7 @@ paths: application/json: schema: type: array - items: &502 + items: &508 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78077,8 +78117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78114,9 +78154,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *508 examples: - default: &503 + default: &509 value: id: 1 key: ssh-rsa AAA... @@ -78150,9 +78190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *305 - - *306 - - &504 + - *311 + - *312 + - &510 name: key_id description: The unique identifier of the key. in: path @@ -78164,9 +78204,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *508 examples: - default: *503 + default: *509 '404': *6 x-github: githubCloudOnly: false @@ -78184,9 +78224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *305 - - *306 - - *504 + - *311 + - *312 + - *510 responses: '204': description: Response @@ -78206,8 +78246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -78217,9 +78257,9 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: - default: *488 + default: *494 headers: Link: *37 '404': *6 @@ -78240,8 +78280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78277,9 +78317,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *493 examples: - default: &505 + default: &511 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78311,8 +78351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *305 - - *306 + - *311 + - *312 - name: name in: path required: true @@ -78323,9 +78363,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *493 examples: - default: *505 + default: *511 '404': *6 x-github: githubCloudOnly: false @@ -78342,8 +78382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *305 - - *306 + - *311 + - *312 - name: name in: path required: true @@ -78382,7 +78422,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *493 examples: default: value: @@ -78408,8 +78448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *305 - - *306 + - *311 + - *312 - name: name in: path required: true @@ -78435,8 +78475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -78472,10 +78512,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: - '202': *134 + '202': *140 '403': description: |- We will return a 403 with one of the following messages: @@ -78501,8 +78541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -78528,9 +78568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *305 - - *306 - - *394 + - *311 + - *312 + - *400 responses: '200': description: Response @@ -78677,8 +78717,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78743,8 +78783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78778,9 +78818,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *418 + schema: *424 examples: - default: *506 + default: *512 '204': description: Response when already merged '404': @@ -78805,8 +78845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *305 - - *306 + - *311 + - *312 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -78847,7 +78887,7 @@ paths: application/json: schema: type: array - items: *422 + items: *428 examples: default: value: @@ -78903,8 +78943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78944,9 +78984,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: &507 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79005,9 +79045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *305 - - *306 - - &508 + - *311 + - *312 + - &514 name: milestone_number description: The number that identifies the milestone. in: path @@ -79019,9 +79059,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: *507 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -79038,9 +79078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *305 - - *306 - - *508 + - *311 + - *312 + - *514 requestBody: required: false content: @@ -79078,9 +79118,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: *507 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79096,9 +79136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *305 - - *306 - - *508 + - *311 + - *312 + - *514 responses: '204': description: Response @@ -79119,9 +79159,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: - - *305 - - *306 - - *508 + - *311 + - *312 + - *514 - *17 - *18 responses: @@ -79131,9 +79171,9 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: - default: *488 + default: *494 headers: Link: *37 x-github: @@ -79152,12 +79192,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: - - *305 - - *306 - - *509 - - *510 + - *311 + - *312 + - *515 + - *516 - *102 - - *511 + - *517 - *17 - *18 responses: @@ -79169,7 +79209,7 @@ paths: type: array items: *124 examples: - default: *512 + default: *518 headers: Link: *37 x-github: @@ -79193,8 +79233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -79252,14 +79292,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &513 + schema: &519 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -79403,7 +79443,7 @@ paths: - custom_404 - public examples: - default: &514 + default: &520 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -79444,8 +79484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -79500,11 +79540,11 @@ paths: description: Response content: application/json: - schema: *513 + schema: *519 examples: - default: *514 + default: *520 '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79525,8 +79565,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -79613,7 +79653,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79634,14 +79674,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response '422': *15 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79661,8 +79701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -79672,7 +79712,7 @@ paths: application/json: schema: type: array - items: &515 + items: &521 title: Page Build description: Page Build type: object @@ -79764,8 +79804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *305 - - *306 + - *311 + - *312 responses: '201': description: Response @@ -79812,16 +79852,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *515 + schema: *521 examples: - default: &516 + default: &522 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -79869,8 +79909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *305 - - *306 + - *311 + - *312 - name: build_id in: path required: true @@ -79881,9 +79921,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *521 examples: - default: *516 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79903,8 +79943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -80013,9 +80053,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: - - *305 - - *306 - - &517 + - *311 + - *312 + - &523 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80073,11 +80113,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *305 - - *306 - - *517 + - *311 + - *312 + - *523 responses: - '204': *177 + '204': *183 '404': *6 x-github: githubCloudOnly: false @@ -80102,8 +80142,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -80371,7 +80411,7 @@ paths: description: Empty response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -80398,8 +80438,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Private vulnerability reporting status @@ -80436,10 +80476,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: - '204': *177 + '204': *183 '422': *14 x-github: githubCloudOnly: false @@ -80458,10 +80498,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: - '204': *177 + '204': *183 '422': *14 x-github: githubCloudOnly: false @@ -80482,8 +80522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *305 - - *306 + - *311 + - *312 - name: state description: Indicates the state of the projects to return. in: query @@ -80504,7 +80544,7 @@ paths: application/json: schema: type: array - items: *251 + items: *257 examples: default: value: @@ -80544,7 +80584,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *316 + '410': *322 '422': *7 x-github: githubCloudOnly: false @@ -80564,8 +80604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -80591,13 +80631,13 @@ paths: description: Response content: application/json: - schema: *251 + schema: *257 examples: - default: *315 + default: *321 '401': *23 '403': *27 '404': *6 - '410': *316 + '410': *322 '422': *7 x-github: githubCloudOnly: false @@ -80617,8 +80657,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -80626,7 +80666,7 @@ paths: application/json: schema: type: array - items: *256 + items: *262 examples: default: value: @@ -80657,8 +80697,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -80670,7 +80710,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *256 + items: *262 required: - properties examples: @@ -80720,8 +80760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *305 - - *306 + - *311 + - *312 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -80781,9 +80821,9 @@ paths: application/json: schema: type: array - items: *518 + items: *524 examples: - default: *519 + default: *525 headers: Link: *37 '304': *35 @@ -80815,8 +80855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -80883,7 +80923,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &529 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81012,7 +81052,7 @@ paths: milestone: anyOf: - type: 'null' - - *422 + - *428 active_lock_reason: type: - string @@ -81067,7 +81107,7 @@ paths: type: - array - 'null' - items: *236 + items: *242 head: type: object properties: @@ -81105,14 +81145,14 @@ paths: _links: type: object properties: - comments: *423 - commits: *423 - statuses: *423 - html: *423 - issue: *423 - review_comments: *423 - review_comment: *423 - self: *423 + comments: *429 + commits: *429 + statuses: *429 + html: *429 + issue: *429 + review_comments: *429 + review_comment: *429 + self: *429 required: - comments - commits @@ -81123,7 +81163,7 @@ paths: - review_comment - self author_association: *99 - auto_merge: *520 + auto_merge: *526 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -81225,7 +81265,7 @@ paths: - merged_by - review_comments examples: - default: &524 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81752,8 +81792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - name: sort in: query required: false @@ -81782,9 +81822,9 @@ paths: application/json: schema: type: array - items: *521 + items: *527 examples: - default: &526 + default: &532 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81861,17 +81901,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: - - *305 - - *306 + - *311 + - *312 - *111 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: &522 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81946,8 +81986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -81970,9 +82010,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: *522 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81988,8 +82028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '204': @@ -82011,8 +82051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -82039,9 +82079,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 @@ -82062,8 +82102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -82096,16 +82136,16 @@ paths: description: Reaction exists content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Reaction created content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -82127,10 +82167,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *305 - - *306 + - *311 + - *312 - *111 - - *297 + - *303 responses: '204': description: Response @@ -82173,9 +82213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *305 - - *306 - - &525 + - *311 + - *312 + - &531 name: pull_number description: The number that identifies the pull request. in: path @@ -82188,9 +82228,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '304': *35 '404': *6 '406': @@ -82225,9 +82265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -82269,9 +82309,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '422': *15 '403': *27 x-github: @@ -82293,9 +82333,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: true content: @@ -82356,17 +82396,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '401': *23 '403': *27 '404': *6 @@ -82396,9 +82436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *121 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -82419,9 +82459,9 @@ paths: application/json: schema: type: array - items: *521 + items: *527 examples: - default: *526 + default: *532 headers: Link: *37 x-github: @@ -82454,9 +82494,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: true content: @@ -82562,7 +82602,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *527 examples: example-for-a-multi-line-comment: value: @@ -82650,9 +82690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *111 requestBody: required: true @@ -82675,7 +82715,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *527 examples: default: value: @@ -82761,9 +82801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *17 - *18 responses: @@ -82773,9 +82813,9 @@ paths: application/json: schema: type: array - items: *418 + items: *424 examples: - default: *527 + default: *533 headers: Link: *37 x-github: @@ -82805,9 +82845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *17 - *18 responses: @@ -82817,7 +82857,7 @@ paths: application/json: schema: type: array - items: *430 + items: *436 examples: default: value: @@ -82855,9 +82895,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 responses: '204': description: Response if pull request has been merged @@ -82880,9 +82920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -82994,9 +83034,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 responses: '200': description: Response @@ -83012,7 +83052,7 @@ paths: items: *4 teams: type: array - items: *223 + items: *229 required: - users - teams @@ -83071,9 +83111,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -83110,7 +83150,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *524 examples: default: value: @@ -83646,9 +83686,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: true content: @@ -83682,7 +83722,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *524 examples: default: value: @@ -84187,9 +84227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *17 - *18 responses: @@ -84199,7 +84239,7 @@ paths: application/json: schema: type: array - items: &528 + items: &534 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84355,9 +84395,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -84447,9 +84487,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: &530 + default: &536 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84512,10 +84552,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: - - *305 - - *306 - - *525 - - &529 + - *311 + - *312 + - *531 + - &535 name: review_id description: The unique identifier of the review. in: path @@ -84527,9 +84567,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: &531 + default: &537 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84588,10 +84628,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 requestBody: required: true content: @@ -84614,7 +84654,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: default: value: @@ -84676,18 +84716,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 responses: '200': description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *530 + default: *536 '422': *7 '404': *6 x-github: @@ -84714,10 +84754,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 - *17 - *18 responses: @@ -84815,9 +84855,9 @@ paths: _links: type: object properties: - self: *423 - html: *423 - pull_request: *423 + self: *429 + html: *429 + pull_request: *429 required: - self - html @@ -84968,10 +85008,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 requestBody: required: true content: @@ -85000,7 +85040,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: default: value: @@ -85063,10 +85103,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 requestBody: required: true content: @@ -85101,9 +85141,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *531 + default: *537 '404': *6 '422': *7 '403': *27 @@ -85125,9 +85165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -85191,8 +85231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *305 - - *306 + - *311 + - *312 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -85205,9 +85245,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *538 examples: - default: &533 + default: &539 value: type: file encoding: base64 @@ -85249,8 +85289,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: - - *305 - - *306 + - *311 + - *312 - name: dir description: The alternate path to look for a README file in: path @@ -85270,9 +85310,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *538 examples: - default: *533 + default: *539 '404': *6 '422': *15 x-github: @@ -85294,8 +85334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -85305,7 +85345,7 @@ paths: application/json: schema: type: array - items: &534 + items: &540 title: Release description: A release. type: object @@ -85377,7 +85417,7 @@ paths: author: *4 assets: type: array - items: &535 + items: &541 title: Release Asset description: Data related to a release. type: object @@ -85557,8 +85597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -85634,9 +85674,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: &538 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -85739,9 +85779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *305 - - *306 - - &536 + - *311 + - *312 + - &542 name: asset_id description: The unique identifier of the asset. in: path @@ -85753,9 +85793,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *541 examples: - default: &537 + default: &543 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 @@ -85789,7 +85829,7 @@ paths: type: User site_admin: false '404': *6 - '302': *432 + '302': *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85805,9 +85845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *305 - - *306 - - *536 + - *311 + - *312 + - *542 requestBody: required: false content: @@ -85836,9 +85876,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *541 examples: - default: *537 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85854,9 +85894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *305 - - *306 - - *536 + - *311 + - *312 + - *542 responses: '204': description: Response @@ -85880,8 +85920,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -85967,16 +86007,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *538 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85993,8 +86033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *305 - - *306 + - *311 + - *312 - name: tag description: tag parameter in: path @@ -86007,9 +86047,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *538 + default: *544 '404': *6 x-github: githubCloudOnly: false @@ -86031,9 +86071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *305 - - *306 - - &539 + - *311 + - *312 + - &545 name: release_id description: The unique identifier of the release. in: path @@ -86047,9 +86087,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: *534 + schema: *540 examples: - default: *538 + default: *544 '401': description: Unauthorized x-github: @@ -86067,9 +86107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 requestBody: required: false content: @@ -86133,9 +86173,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *538 + default: *544 '404': description: Not Found if the discussion category name is invalid content: @@ -86156,9 +86196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 responses: '204': description: Response @@ -86178,9 +86218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 - *17 - *18 responses: @@ -86190,7 +86230,7 @@ paths: application/json: schema: type: array - items: *535 + items: *541 examples: default: value: @@ -86271,9 +86311,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: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 - name: name in: query required: true @@ -86299,7 +86339,7 @@ paths: description: Response for successful upload content: application/json: - schema: *535 + schema: *541 examples: response-for-successful-upload: value: @@ -86353,9 +86393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 - 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. @@ -86379,9 +86419,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 @@ -86402,9 +86442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 requestBody: required: true content: @@ -86434,16 +86474,16 @@ paths: description: Reaction exists content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Reaction created content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -86465,10 +86505,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *305 - - *306 - - *539 - - *297 + - *311 + - *312 + - *545 + - *303 responses: '204': description: Response @@ -86492,9 +86532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 - *17 - *18 responses: @@ -86510,8 +86550,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *540 - - &542 + - *546 + - &548 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86530,54 +86570,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *541 - - *542 - - allOf: - - *543 - - *542 - - allOf: - - *544 - - *542 - - allOf: - - *545 - - *542 - - allOf: - - *546 - - *542 - allOf: - *547 - - *542 - - allOf: - *548 - - *542 - allOf: - *549 - - *542 + - *548 - allOf: - *550 - - *542 + - *548 - allOf: - *551 - - *542 + - *548 - allOf: - *552 - - *542 + - *548 - allOf: - *553 - - *542 + - *548 - allOf: - *554 - - *542 + - *548 - allOf: - *555 - - *542 + - *548 - allOf: - *556 - - *542 + - *548 - allOf: - *557 - - *542 + - *548 + - allOf: + - *558 + - *548 + - allOf: + - *559 + - *548 + - allOf: + - *560 + - *548 + - allOf: + - *561 + - *548 + - allOf: + - *562 + - *548 + - allOf: + - *563 + - *548 examples: default: value: @@ -86616,8 +86656,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 - name: includes_parents @@ -86628,7 +86668,7 @@ paths: schema: type: boolean default: true - - *558 + - *564 responses: '200': description: Response @@ -86636,7 +86676,7 @@ paths: application/json: schema: type: array - items: *266 + items: *272 examples: default: value: @@ -86683,8 +86723,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 requestBody: description: Request body required: true @@ -86704,16 +86744,16 @@ paths: - tag - push default: branch - enforcement: *262 + enforcement: *268 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *263 - conditions: *260 + items: *269 + conditions: *266 rules: type: array description: An array of rules within the ruleset. - items: *265 + items: *271 required: - name - enforcement @@ -86744,9 +86784,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: &568 + default: &574 value: id: 42 name: super cool ruleset @@ -86793,12 +86833,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *305 - - *306 - - *559 - - *560 - - *561 - - *562 + - *311 + - *312 + - *565 + - *566 + - *567 + - *568 - *17 - *18 responses: @@ -86806,9 +86846,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *569 examples: - default: *564 + default: *570 '404': *6 '500': *80 x-github: @@ -86829,17 +86869,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *305 - - *306 - - *565 + - *311 + - *312 + - *571 responses: '200': description: Response content: application/json: - schema: *566 + schema: *572 examples: - default: *567 + default: *573 '404': *6 '500': *80 x-github: @@ -86867,8 +86907,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86888,9 +86928,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: *568 + default: *574 '404': *6 '500': *80 put: @@ -86908,8 +86948,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86934,16 +86974,16 @@ paths: - branch - tag - push - enforcement: *262 + enforcement: *268 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *263 - conditions: *260 + items: *269 + conditions: *266 rules: description: An array of rules within the ruleset. type: array - items: *265 + items: *271 examples: default: value: @@ -86971,9 +87011,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: *568 + default: *574 '404': *6 '500': *80 delete: @@ -86991,8 +87031,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87020,20 +87060,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *305 - - *306 - - *268 - - *269 - - *270 - - *271 + - *311 + - *312 + - *274 + - *275 + - *276 + - *277 - *76 - *18 - *17 - - *569 - - *570 - - *272 - - *273 - - *274 + - *575 + - *576 + - *278 + - *279 + - *280 responses: '200': description: Response @@ -87041,7 +87081,7 @@ paths: application/json: schema: type: array - items: &573 + items: &579 type: object properties: number: *81 @@ -87057,8 +87097,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *571 - resolution: *572 + state: *577 + resolution: *578 resolved_at: type: - string @@ -87263,15 +87303,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 responses: '200': description: Response content: application/json: - schema: *573 + schema: *579 examples: default: value: @@ -87322,9 +87362,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: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 requestBody: required: true content: @@ -87332,8 +87372,8 @@ paths: schema: type: object properties: - state: *571 - resolution: *572 + state: *577 + resolution: *578 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -87352,7 +87392,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *579 examples: default: value: @@ -87426,9 +87466,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: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 - *18 - *17 responses: @@ -87439,7 +87479,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &728 + items: &734 type: object properties: type: @@ -87818,8 +87858,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -87827,14 +87867,14 @@ paths: schema: type: object properties: - reason: &575 + reason: &581 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *574 + placeholder_id: *580 required: - reason - placeholder_id @@ -87851,7 +87891,7 @@ paths: schema: type: object properties: - reason: *575 + reason: *581 expire_at: type: - string @@ -87897,8 +87937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *305 - - *306 + - *311 + - *312 - *76 - name: sort description: The property to sort the results by. @@ -87942,9 +87982,9 @@ paths: application/json: schema: type: array - items: *576 + items: *582 examples: - default: *577 + default: *583 '400': *14 '404': *6 x-github: @@ -87967,8 +88007,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -88048,7 +88088,7 @@ paths: login: type: string description: The username of the user credited. - type: *277 + type: *283 required: - login - type @@ -88138,9 +88178,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *582 examples: - default: &579 + default: &585 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88373,8 +88413,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -88487,7 +88527,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *582 examples: default: value: @@ -88634,17 +88674,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: - - *305 - - *306 - - *578 + - *311 + - *312 + - *584 responses: '200': description: Response content: application/json: - schema: *576 + schema: *582 examples: - default: *579 + default: *585 '403': *27 '404': *6 x-github: @@ -88668,9 +88708,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: - - *305 - - *306 - - *578 + - *311 + - *312 + - *584 requestBody: required: true content: @@ -88750,7 +88790,7 @@ paths: login: type: string description: The username of the user credited. - type: *277 + type: *283 required: - login - type @@ -88841,17 +88881,17 @@ paths: description: Response content: application/json: - schema: *576 + schema: *582 examples: - default: *579 - add_credit: *579 + default: *585 + add_credit: *585 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *131 + schema: *137 examples: invalid_state_transition: value: @@ -88882,11 +88922,11 @@ 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: - - *305 - - *306 - - *578 + - *311 + - *312 + - *584 responses: - '202': *134 + '202': *140 '400': *14 '403': *27 '404': *6 @@ -88911,17 +88951,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: - - *305 - - *306 - - *578 + - *311 + - *312 + - *584 responses: '202': description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 + default: *326 '400': *14 '422': *15 '403': *27 @@ -88947,8 +88987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -89044,8 +89084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89054,7 +89094,7 @@ paths: application/json: schema: type: array - items: &580 + items: &586 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89066,8 +89106,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *134 - '204': *177 + '202': *140 + '204': *183 '422': description: Repository contains more than 10,000 commits x-github: @@ -89087,8 +89127,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -89138,8 +89178,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *134 - '204': *177 + '202': *140 + '204': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89166,8 +89206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -89238,8 +89278,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *134 - '204': *177 + '202': *140 + '204': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89261,8 +89301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -89416,8 +89456,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -89427,7 +89467,7 @@ paths: application/json: schema: type: array - items: *580 + items: *586 examples: default: value: @@ -89440,7 +89480,7 @@ paths: - - 0 - 2 - 21 - '204': *177 + '204': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89460,8 +89500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *305 - - *306 + - *311 + - *312 - name: sha in: path required: true @@ -89517,7 +89557,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *587 examples: default: value: @@ -89571,8 +89611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -89584,7 +89624,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -89604,14 +89644,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &582 + schema: &588 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89684,8 +89724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -89711,7 +89751,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *588 examples: default: value: @@ -89738,8 +89778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -89759,8 +89799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -89842,8 +89882,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -89851,7 +89891,7 @@ paths: application/json: schema: type: array - items: &583 + items: &589 title: Tag protection description: Tag protection type: object @@ -89908,8 +89948,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -89932,7 +89972,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *589 examples: default: value: @@ -89963,8 +90003,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: - - *305 - - *306 + - *311 + - *312 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90001,8 +90041,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *305 - - *306 + - *311 + - *312 - name: ref in: path required: true @@ -90038,8 +90078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -90049,9 +90089,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 headers: Link: *37 '404': *6 @@ -90071,8 +90111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *305 - - *306 + - *311 + - *312 - *18 - *17 responses: @@ -90080,7 +90120,7 @@ paths: description: Response content: application/json: - schema: &584 + schema: &590 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90092,7 +90132,7 @@ paths: required: - names examples: - default: &585 + default: &591 value: names: - octocat @@ -90115,8 +90155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -90147,9 +90187,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: - default: *585 + default: *591 '404': *6 '422': *7 x-github: @@ -90170,9 +90210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *305 - - *306 - - &586 + - *311 + - *312 + - &592 name: per description: The time frame to display results for. in: query @@ -90203,7 +90243,7 @@ paths: - 128 clones: type: array - items: &587 + items: &593 title: Traffic type: object properties: @@ -90290,8 +90330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -90385,8 +90425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -90449,9 +90489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *305 - - *306 - - *586 + - *311 + - *312 + - *592 responses: '200': description: Response @@ -90472,7 +90512,7 @@ paths: - 3782 views: type: array - items: *587 + items: *593 required: - uniques - count @@ -90549,8 +90589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -90586,7 +90626,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *152 examples: default: value: @@ -90824,8 +90864,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -90848,8 +90888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -90871,8 +90911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -90898,8 +90938,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *305 - - *306 + - *311 + - *312 - name: ref in: path required: true @@ -90991,9 +91031,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 + default: *326 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91034,7 +91074,7 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: default: value: @@ -91120,9 +91160,6 @@ paths: get: summary: List provisioned SCIM groups for an enterprise description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Lists provisioned SCIM groups in an enterprise. You can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response. @@ -91147,7 +91184,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &595 + - &601 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -91157,7 +91194,7 @@ paths: type: string examples: - members - - &600 + - &606 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -91169,7 +91206,7 @@ paths: format: int32 examples: - 1 - - &601 + - &607 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -91213,7 +91250,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &589 + items: &595 allOf: - type: object required: @@ -91295,7 +91332,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: &602 + meta: &608 type: object description: The metadata associated with the creation/updates to the user. @@ -91360,31 +91397,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &590 + '400': &596 description: Bad request content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '401': &591 + schema: *594 + '401': &597 description: Authorization failure - '403': &592 + '403': &598 description: Permission denied - '429': &593 + '429': &599 description: Too many requests content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '500': &594 + schema: *594 + '500': &600 description: Internal server error content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 + schema: *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91393,9 +91430,6 @@ paths: post: summary: Provision a SCIM enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Creates a SCIM group for an enterprise. When members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user. @@ -91411,7 +91445,7 @@ paths: required: true content: application/json: - schema: &598 + schema: &604 type: object required: - schemas @@ -91471,9 +91505,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *589 + schema: *595 examples: - group: &596 + group: &602 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -91492,13 +91526,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': *590 - '401': *591 - '403': *592 - '409': &599 + '400': *596 + '401': *597 + '403': *598 + '409': &605 description: Duplicate record detected - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91507,11 +91541,7 @@ paths: "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": get: summary: Get SCIM provisioning information for an enterprise group - description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - - Gets information about a SCIM group. + description: Gets information about a SCIM group. operationId: enterprise-admin/get-provisioning-information-for-enterprise-group tags: - enterprise-admin @@ -91519,7 +91549,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: - - &597 + - &603 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -91528,22 +91558,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *595 + - *601 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *589 + schema: *595 examples: - default: *596 - '400': *590 - '401': *591 - '403': *592 + default: *602 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91552,9 +91582,6 @@ paths: put: summary: Set SCIM information for a provisioned enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Replaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead. @@ -91565,13 +91592,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: - - *597 + - *603 - *38 requestBody: required: true content: application/json: - schema: *598 + schema: *604 examples: group: summary: Group @@ -91597,17 +91624,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *589 + schema: *595 examples: - group: *596 - groupWithMembers: *596 - '400': *590 - '401': *591 - '403': *592 + group: *602 + groupWithMembers: *602 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '409': *599 - '429': *593 - '500': *594 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91616,9 +91643,6 @@ paths: patch: summary: Update an attribute for a SCIM enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Update a provisioned group’s individual attributes. To modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships. @@ -91634,13 +91658,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: - - *597 + - *603 - *38 requestBody: required: true content: application/json: - schema: &609 + schema: &615 type: object required: - Operations @@ -91700,17 +91724,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *589 + schema: *595 examples: - updateGroup: *596 - addMembers: *596 - '400': *590 - '401': *591 - '403': *592 + updateGroup: *602 + addMembers: *602 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '409': *599 - '429': *593 - '500': *594 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91718,11 +91742,7 @@ paths: subcategory: scim delete: summary: Delete a SCIM group from an enterprise - description: |- - > [!NOTE] - > SCIM provisioning using the REST API is in public preview and subject to change. - - Deletes a SCIM group from an enterprise. + description: Deletes a SCIM group from an enterprise. operationId: enterprise-admin/delete-scim-group-from-enterprise tags: - enterprise-admin @@ -91730,17 +91750,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: - - *597 + - *603 - *38 responses: '204': description: Group was deleted, no content - '400': *590 - '401': *591 - '403': *592 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91750,9 +91770,6 @@ paths: get: summary: List SCIM provisioned identities for an enterprise description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Lists provisioned SCIM enterprise members. When you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list. @@ -91777,8 +91794,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *600 - - *601 + - *606 + - *607 - *38 responses: '200': @@ -91812,7 +91829,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &604 + items: &610 allOf: - type: object required: @@ -91904,7 +91921,7 @@ paths: address. examples: - true - roles: &603 + roles: &609 type: array description: The roles assigned to the user. items: @@ -91963,7 +91980,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *602 + meta: *608 startIndex: type: integer description: A starting index for the returned page @@ -92002,11 +92019,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *590 - '401': *591 - '403': *592 - '429': *593 - '500': *594 + '400': *596 + '401': *597 + '403': *598 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92015,9 +92032,6 @@ paths: post: summary: Provision a SCIM enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Creates an external identity for a new SCIM enterprise user. SCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML. @@ -92033,7 +92047,7 @@ paths: required: true content: application/json: - schema: &607 + schema: &613 type: object required: - schemas @@ -92126,9 +92140,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *603 + roles: *609 examples: - user: &608 + user: &614 summary: User value: schemas: @@ -92175,9 +92189,9 @@ paths: description: User has been created content: application/scim+json: - schema: *604 + schema: *610 examples: - user: &605 + user: &611 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92203,13 +92217,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: *605 - '400': *590 - '401': *591 - '403': *592 - '409': *599 - '429': *593 - '500': *594 + enterpriseOwner: *611 + '400': *596 + '401': *597 + '403': *598 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92218,11 +92232,7 @@ paths: "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": get: summary: Get SCIM provisioning information for an enterprise user - description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - - Gets information about a SCIM user. + description: Gets information about a SCIM user. operationId: enterprise-admin/get-provisioning-information-for-enterprise-user tags: - enterprise-admin @@ -92230,7 +92240,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: - - &606 + - &612 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -92243,15 +92253,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *604 + schema: *610 examples: - default: *605 - '400': *590 - '401': *591 - '403': *592 + default: *611 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92260,9 +92270,6 @@ paths: put: summary: Set SCIM information for a provisioned enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Replaces an existing provisioned user's information. You must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint. @@ -92276,30 +92283,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: - - *606 + - *612 - *38 requestBody: required: true content: application/json: - schema: *607 + schema: *613 examples: - user: *608 + user: *614 responses: '200': description: User was updated content: application/scim+json: - schema: *604 + schema: *610 examples: - user: *605 - '400': *590 - '401': *591 - '403': *592 + user: *611 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '409': *599 - '429': *593 - '500': *594 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92308,9 +92315,6 @@ paths: patch: summary: Update an attribute for a SCIM enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Update a provisioned user's individual attributes. To modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). @@ -92337,13 +92341,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: - - *606 + - *612 - *38 requestBody: required: true content: application/json: - schema: *609 + schema: *615 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -92383,18 +92387,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *604 - examples: - userMultiValuedProperties: *605 - userSingleValuedProperties: *605 - disableUser: *605 - '400': *590 - '401': *591 - '403': *592 + schema: *610 + examples: + userMultiValuedProperties: *611 + userSingleValuedProperties: *611 + disableUser: *611 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '409': *599 - '429': *593 - '500': *594 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92402,11 +92406,11 @@ paths: subcategory: scim delete: summary: Delete a SCIM user from an enterprise - description: |- - > [!NOTE] - > SCIM provisioning using the REST API is in public preview and subject to change. - - Suspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible. + description: 'Suspends a SCIM user permanently from an enterprise. This action + will: remove all the user''s data, anonymize their login, email, and display + name, erase all external identity SCIM attributes, delete the user''s emails, + avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. + This action is irreversible.' operationId: enterprise-admin/delete-user-from-enterprise tags: - enterprise-admin @@ -92414,17 +92418,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: - - *606 + - *612 - *38 responses: '204': description: User was deleted, no content - '400': *590 - '401': *591 - '403': *592 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92457,7 +92461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *128 + - *134 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -92515,7 +92519,7 @@ paths: - 1 Resources: type: array - items: &610 + items: &616 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -92762,22 +92766,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': &611 + '404': &617 description: Resource not found content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '403': &612 + schema: *594 + '403': &618 description: Forbidden content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '400': *590 - '429': *593 + schema: *594 + '400': *596 + '429': *599 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -92797,15 +92801,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *128 + - *134 responses: '201': description: Response content: application/scim+json: - schema: *610 + schema: *616 examples: - default: &613 + default: &619 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92828,17 +92832,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': *611 - '403': *612 - '500': *594 + '404': *617 + '403': *618 + '500': *600 '409': description: Conflict content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '400': *590 + schema: *594 + '400': *596 requestBody: required: true content: @@ -92932,18 +92936,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *128 - - *606 + - *134 + - *612 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *616 examples: - default: *613 - '404': *611 - '403': *612 + default: *619 + '404': *617 + '403': *618 '304': *35 x-github: githubCloudOnly: true @@ -92966,19 +92970,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *128 - - *606 + - *134 + - *612 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *616 examples: - default: *613 + default: *619 '304': *35 - '404': *611 - '403': *612 + '404': *617 + '403': *618 requestBody: required: true content: @@ -93088,20 +93092,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *128 - - *606 + - *134 + - *612 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *616 examples: - default: *613 + default: *619 '304': *35 - '404': *611 - '403': *612 - '400': *590 + '404': *617 + '403': *618 + '400': *596 '429': description: Response content: @@ -93196,13 +93200,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *128 - - *606 + - *134 + - *612 responses: '204': description: Response - '404': *611 - '403': *612 + '404': *617 + '403': *618 '304': *35 x-github: githubCloudOnly: true @@ -93317,7 +93321,7 @@ paths: html_url: type: string format: uri - repository: *146 + repository: *152 score: type: number file_size: @@ -93336,7 +93340,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &614 + text_matches: &620 title: Search Result Text Matches type: array items: @@ -93500,7 +93504,7 @@ paths: enum: - author-date - committer-date - - &615 + - &621 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 @@ -93569,7 +93573,7 @@ paths: committer: anyOf: - type: 'null' - - *362 + - *368 comment_count: type: integer message: @@ -93588,7 +93592,7 @@ paths: url: type: string format: uri - verification: *467 + verification: *473 required: - author - committer @@ -93603,7 +93607,7 @@ paths: committer: anyOf: - type: 'null' - - *362 + - *368 parents: type: array items: @@ -93615,12 +93619,12 @@ paths: type: string sha: type: string - repository: *146 + repository: *152 score: type: number node_id: type: string - text_matches: *614 + text_matches: *620 required: - sha - node_id @@ -93813,7 +93817,7 @@ paths: - interactions - created - updated - - *615 + - *621 - *17 - *18 responses: @@ -93915,7 +93919,7 @@ paths: milestone: anyOf: - type: 'null' - - *422 + - *428 comments: type: integer created_at: @@ -93929,7 +93933,7 @@ paths: - string - 'null' format: date-time - text_matches: *614 + text_matches: *620 pull_request: type: object properties: @@ -94151,7 +94155,7 @@ paths: enum: - created - updated - - *615 + - *621 - *17 - *18 responses: @@ -94196,7 +94200,7 @@ paths: - 'null' score: type: number - text_matches: *614 + text_matches: *620 required: - id - node_id @@ -94282,7 +94286,7 @@ paths: - forks - help-wanted-issues - updated - - *615 + - *621 - *17 - *18 responses: @@ -94519,7 +94523,7 @@ paths: - admin - pull - push - text_matches: *614 + text_matches: *620 temp_clone_token: type: string allow_merge_commit: @@ -94828,7 +94832,7 @@ paths: - string - 'null' format: uri - text_matches: *614 + text_matches: *620 related: type: - array @@ -95023,7 +95027,7 @@ paths: - followers - repositories - joined - - *615 + - *621 - *17 - *18 responses: @@ -95133,7 +95137,7 @@ paths: type: - boolean - 'null' - text_matches: *614 + text_matches: *620 blog: type: - string @@ -95215,7 +95219,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &616 + - &622 name: team_id description: The unique identifier of the team. in: path @@ -95227,9 +95231,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -95256,7 +95260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *616 + - *622 requestBody: required: true content: @@ -95320,16 +95324,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '201': description: Response content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '404': *6 '422': *15 '403': *27 @@ -95357,7 +95361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *616 + - *622 responses: '204': description: Response @@ -95388,7 +95392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *616 + - *622 - *76 - *17 - *18 @@ -95399,9 +95403,9 @@ paths: application/json: schema: type: array - items: *288 + items: *294 examples: - default: *617 + default: *623 headers: Link: *37 x-github: @@ -95430,7 +95434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *616 + - *622 requestBody: required: true content: @@ -95464,9 +95468,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: *289 + default: *295 x-github: triggersNotification: true githubCloudOnly: false @@ -95493,16 +95497,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *616 - - *290 + - *622 + - *296 responses: '200': description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: *289 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95527,8 +95531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *616 - - *290 + - *622 + - *296 requestBody: required: false content: @@ -95551,9 +95555,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: *618 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95578,8 +95582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *616 - - *290 + - *622 + - *296 responses: '204': description: Response @@ -95608,8 +95612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *616 - - *290 + - *622 + - *296 - *76 - *17 - *18 @@ -95620,9 +95624,9 @@ paths: application/json: schema: type: array - items: *291 + items: *297 examples: - default: *619 + default: *625 headers: Link: *37 x-github: @@ -95651,8 +95655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *616 - - *290 + - *622 + - *296 requestBody: required: true content: @@ -95674,9 +95678,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: triggersNotification: true githubCloudOnly: false @@ -95703,17 +95707,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 responses: '200': description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95738,9 +95742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 requestBody: required: true content: @@ -95762,9 +95766,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *620 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95789,9 +95793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 responses: '204': description: Response @@ -95820,9 +95824,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: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 - 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. @@ -95848,9 +95852,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 x-github: @@ -95879,9 +95883,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: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 requestBody: required: true content: @@ -95913,9 +95917,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95941,8 +95945,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: - - *616 - - *290 + - *622 + - *296 - 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. @@ -95968,9 +95972,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 x-github: @@ -95999,8 +96003,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: - - *616 - - *290 + - *622 + - *296 requestBody: required: true content: @@ -96032,9 +96036,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96058,7 +96062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *616 + - *622 - *17 - *18 responses: @@ -96068,9 +96072,9 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: - default: *221 + default: *227 headers: Link: *37 x-github: @@ -96096,7 +96100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *616 + - *622 - name: role description: Filters members returned by their role in the team. in: query @@ -96119,7 +96123,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '404': *6 @@ -96147,8 +96151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *616 - - *168 + - *622 + - *174 responses: '204': description: if user is a member @@ -96184,8 +96188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *616 - - *168 + - *622 + - *174 responses: '204': description: Response @@ -96224,8 +96228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *616 - - *168 + - *622 + - *174 responses: '204': description: Response @@ -96261,16 +96265,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: - - *616 - - *168 + - *622 + - *174 responses: '200': description: Response content: application/json: - schema: *302 + schema: *308 examples: - response-if-user-is-a-team-maintainer: *621 + response-if-user-is-a-team-maintainer: *627 '404': *6 x-github: githubCloudOnly: false @@ -96303,8 +96307,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: - - *616 - - *168 + - *622 + - *174 requestBody: required: false content: @@ -96329,9 +96333,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: *622 + response-if-users-membership-with-team-is-now-pending: *628 '403': description: Forbidden if team synchronization is set up '422': @@ -96365,8 +96369,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: - - *616 - - *168 + - *622 + - *174 responses: '204': description: Response @@ -96395,7 +96399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *616 + - *622 - *17 - *18 responses: @@ -96405,9 +96409,9 @@ paths: application/json: schema: type: array - items: *303 + items: *309 examples: - default: *623 + default: *629 headers: Link: *37 '404': *6 @@ -96434,16 +96438,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: - - *616 - - *304 + - *622 + - *310 responses: '200': description: Response content: application/json: - schema: *303 + schema: *309 examples: - default: *624 + default: *630 '404': description: Not Found if project is not managed by this team x-github: @@ -96468,8 +96472,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: - - *616 - - *304 + - *622 + - *310 requestBody: required: false content: @@ -96537,8 +96541,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: - - *616 - - *304 + - *622 + - *310 responses: '204': description: Response @@ -96565,7 +96569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *616 + - *622 - *17 - *18 responses: @@ -96575,9 +96579,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 '404': *6 @@ -96607,15 +96611,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: - - *616 - - *305 - - *306 + - *622 + - *311 + - *312 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *625 + schema: *631 examples: alternative-response-with-extra-repository-information: value: @@ -96766,9 +96770,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: - - *616 - - *305 - - *306 + - *622 + - *311 + - *312 requestBody: required: false content: @@ -96818,9 +96822,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: - - *616 - - *305 - - *306 + - *622 + - *311 + - *312 responses: '204': description: Response @@ -96849,15 +96853,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: - - *616 + - *622 responses: '200': description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '403': *27 '404': *6 x-github: @@ -96884,7 +96888,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: - - *616 + - *622 requestBody: required: true content: @@ -96945,7 +96949,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: default: value: @@ -96976,7 +96980,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *616 + - *622 - *17 - *18 responses: @@ -96986,9 +96990,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - response-if-child-teams-exist: *626 + response-if-child-teams-exist: *632 headers: Link: *37 '404': *6 @@ -97021,7 +97025,7 @@ paths: application/json: schema: oneOf: - - &628 + - &634 title: Private User description: Private User type: object @@ -97271,7 +97275,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *627 + - *633 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97431,7 +97435,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: default: value: @@ -97510,7 +97514,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '304': *35 '404': *6 '403': *27 @@ -97533,7 +97537,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: - - *168 + - *174 responses: '204': description: If the user is blocked @@ -97561,7 +97565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *168 + - *174 responses: '204': description: Response @@ -97585,7 +97589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *168 + - *174 responses: '204': description: Response @@ -97634,9 +97638,9 @@ paths: type: integer codespaces: type: array - items: *227 + items: *233 examples: - default: *228 + default: *234 '304': *35 '500': *80 '401': *23 @@ -97775,17 +97779,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '401': *23 '403': *27 '404': *6 @@ -97829,7 +97833,7 @@ paths: type: integer secrets: type: array - items: &629 + items: &635 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97871,7 +97875,7 @@ paths: - visibility - selected_repositories_url examples: - default: *411 + default: *417 headers: Link: *37 x-github: @@ -97943,13 +97947,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: - - *156 + - *162 responses: '200': description: Response content: application/json: - schema: *629 + schema: *635 examples: default: value: @@ -97979,7 +97983,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: - - *156 + - *162 requestBody: required: true content: @@ -98024,7 +98028,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -98052,7 +98056,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: - - *156 + - *162 responses: '204': description: Response @@ -98077,7 +98081,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: - - *156 + - *162 responses: '200': description: Response @@ -98093,9 +98097,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: *630 + default: *636 '401': *23 '403': *27 '404': *6 @@ -98120,7 +98124,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: - - *156 + - *162 requestBody: required: true content: @@ -98174,7 +98178,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: - - *156 + - *162 - name: repository_id in: path required: true @@ -98207,7 +98211,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: - - *156 + - *162 - name: repository_id in: path required: true @@ -98239,15 +98243,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: - - *229 + - *235 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '304': *35 '500': *80 '401': *23 @@ -98273,7 +98277,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: - - *229 + - *235 requestBody: required: false content: @@ -98303,9 +98307,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '401': *23 '403': *27 '404': *6 @@ -98327,9 +98331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *229 + - *235 responses: - '202': *134 + '202': *140 '304': *35 '500': *80 '401': *23 @@ -98356,13 +98360,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: - - *229 + - *235 responses: '202': description: Response content: application/json: - schema: &631 + schema: &637 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98415,7 +98419,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &632 + default: &638 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98447,7 +98451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *229 + - *235 - name: export_id in: path required: true @@ -98460,9 +98464,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *637 examples: - default: *632 + default: *638 '404': *6 x-github: githubCloudOnly: false @@ -98483,7 +98487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *229 + - *235 responses: '200': description: Response @@ -98499,9 +98503,9 @@ paths: type: integer machines: type: array - items: *410 + items: *416 examples: - default: *633 + default: *639 '304': *35 '500': *80 '401': *23 @@ -98530,7 +98534,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: - - *229 + - *235 requestBody: required: true content: @@ -98586,11 +98590,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *318 + repository: *324 machine: anyOf: - type: 'null' - - *410 + - *416 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99387,15 +99391,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: - - *229 + - *235 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '304': *35 '500': *80 '400': *14 @@ -99407,7 +99411,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99427,15 +99431,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: - - *229 + - *235 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '500': *80 '401': *23 '403': *27 @@ -99465,9 +99469,9 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: &646 + default: &652 value: - id: 197 name: hello_docker @@ -99568,7 +99572,7 @@ paths: application/json: schema: type: array - items: &634 + items: &640 title: Email description: Email type: object @@ -99638,9 +99642,9 @@ paths: application/json: schema: type: array - items: *634 + items: *640 examples: - default: &648 + default: &654 value: - email: octocat@github.com verified: true @@ -99717,7 +99721,7 @@ paths: application/json: schema: type: array - items: *634 + items: *640 examples: default: value: @@ -99829,7 +99833,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '304': *35 @@ -99862,7 +99866,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '304': *35 @@ -99884,7 +99888,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: - - *168 + - *174 responses: '204': description: if the person is followed by the authenticated user @@ -99914,7 +99918,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *168 + - *174 responses: '204': description: Response @@ -99939,7 +99943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *168 + - *174 responses: '204': description: Response @@ -99975,7 +99979,7 @@ paths: application/json: schema: type: array - items: &635 + items: &641 title: GPG Key description: A unique encryption key type: object @@ -100120,7 +100124,7 @@ paths: - subkeys - revoked examples: - default: &659 + default: &665 value: - id: 3 name: Octocat's GPG Key @@ -100205,9 +100209,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *641 examples: - default: &636 + default: &642 value: id: 3 name: Octocat's GPG Key @@ -100264,7 +100268,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: - - &637 + - &643 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100276,9 +100280,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *641 examples: - default: *636 + default: *642 '404': *6 '304': *35 '403': *27 @@ -100301,7 +100305,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: - - *637 + - *643 responses: '204': description: Response @@ -100492,7 +100496,7 @@ paths: type: array items: *55 examples: - default: *638 + default: *644 headers: Link: *37 '404': *6 @@ -100517,7 +100521,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *141 + - *147 responses: '204': description: Response @@ -100543,7 +100547,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *141 + - *147 responses: '204': description: Response @@ -100577,12 +100581,12 @@ paths: application/json: schema: anyOf: - - *218 + - *224 - type: object properties: {} additionalProperties: false examples: - default: *219 + default: *225 '204': description: Response when there are no restrictions x-github: @@ -100606,7 +100610,7 @@ paths: required: true content: application/json: - schema: *478 + schema: *484 examples: default: value: @@ -100617,7 +100621,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *224 examples: default: value: @@ -100698,7 +100702,7 @@ paths: - closed - all default: open - - *224 + - *230 - name: sort description: What to sort results by. in: query @@ -100723,7 +100727,7 @@ paths: type: array items: *112 examples: - default: *225 + default: *231 headers: Link: *37 '404': *6 @@ -100756,7 +100760,7 @@ paths: application/json: schema: type: array - items: &639 + items: &645 title: Key description: Key type: object @@ -100854,9 +100858,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *645 examples: - default: &640 + default: &646 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100889,15 +100893,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: - - *504 + - *510 responses: '200': description: Response content: application/json: - schema: *639 + schema: *645 examples: - default: *640 + default: *646 '404': *6 '304': *35 '403': *27 @@ -100920,7 +100924,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: - - *504 + - *510 responses: '204': description: Response @@ -100953,7 +100957,7 @@ paths: application/json: schema: type: array - items: &641 + items: &647 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -101032,7 +101036,7 @@ paths: - account - plan examples: - default: &642 + default: &648 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -101094,9 +101098,9 @@ paths: application/json: schema: type: array - items: *641 + items: *647 examples: - default: *642 + default: *648 headers: Link: *37 '304': *35 @@ -101136,7 +101140,7 @@ paths: application/json: schema: type: array - items: *230 + items: *236 examples: default: value: @@ -101238,13 +101242,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *230 + schema: *236 examples: default: value: @@ -101302,7 +101306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *128 + - *134 requestBody: required: true content: @@ -101327,7 +101331,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *236 examples: default: value: @@ -101395,7 +101399,7 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: default: value: @@ -101657,7 +101661,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -101837,7 +101841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *233 + - *239 - name: exclude in: query required: false @@ -101850,7 +101854,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -102044,7 +102048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *233 + - *239 responses: '302': description: Response @@ -102070,7 +102074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *233 + - *239 responses: '204': description: Response @@ -102099,8 +102103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *233 - - *643 + - *239 + - *649 responses: '204': description: Response @@ -102124,7 +102128,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *233 + - *239 - *17 - *18 responses: @@ -102134,9 +102138,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 '404': *6 @@ -102173,7 +102177,7 @@ paths: type: array items: *50 examples: - default: *644 + default: *650 headers: Link: *37 '304': *35 @@ -102215,7 +102219,7 @@ paths: - docker - nuget - container - - *645 + - *651 - *18 - *17 responses: @@ -102225,10 +102229,10 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: *646 - '400': *647 + default: *652 + '400': *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102248,16 +102252,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: - - *240 - - *241 + - *246 + - *247 responses: '200': description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: &660 + default: &666 value: id: 40201 name: octo-name @@ -102370,8 +102374,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: - - *240 - - *241 + - *246 + - *247 responses: '204': description: Response @@ -102401,8 +102405,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: - - *240 - - *241 + - *246 + - *247 - name: token description: package token schema: @@ -102434,8 +102438,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: - - *240 - - *241 + - *246 + - *247 - *18 - *17 - name: state @@ -102455,7 +102459,7 @@ paths: application/json: schema: type: array - items: *242 + items: *248 examples: default: value: @@ -102504,15 +102508,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: - - *240 - - *241 - - *243 + - *246 + - *247 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: default: value: @@ -102548,9 +102552,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: - - *240 - - *241 - - *243 + - *246 + - *247 + - *249 responses: '204': description: Response @@ -102580,9 +102584,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: - - *240 - - *241 - - *243 + - *246 + - *247 + - *249 responses: '204': description: Response @@ -102640,7 +102644,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *257 examples: default: value: @@ -102709,9 +102713,9 @@ paths: application/json: schema: type: array - items: *634 + items: *640 examples: - default: *648 + default: *654 headers: Link: *37 '304': *35 @@ -102824,7 +102828,7 @@ paths: type: array items: *55 examples: - default: &655 + default: &661 summary: Default response value: - id: 1296269 @@ -103140,9 +103144,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 + default: *326 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103180,9 +103184,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *649 + default: *655 headers: Link: *37 '304': *35 @@ -103205,12 +103209,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *222 + - *228 responses: '204': description: Response '403': *27 - '409': *133 + '409': *139 '404': *6 '304': *35 x-github: @@ -103228,11 +103232,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *222 + - *228 responses: '204': description: Response - '409': *133 + '409': *139 '304': *35 '404': *6 '403': *27 @@ -103261,7 +103265,7 @@ paths: application/json: schema: type: array - items: &650 + items: &656 title: Social account description: Social media account type: object @@ -103278,7 +103282,7 @@ paths: - provider - url examples: - default: &651 + default: &657 value: - provider: twitter url: https://twitter.com/github @@ -103341,9 +103345,9 @@ paths: application/json: schema: type: array - items: *650 + items: *656 examples: - default: *651 + default: *657 '422': *15 '304': *35 '404': *6 @@ -103431,7 +103435,7 @@ paths: application/json: schema: type: array - items: &652 + items: &658 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103451,7 +103455,7 @@ paths: - title - created_at examples: - default: &661 + default: &667 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103518,9 +103522,9 @@ paths: description: Response content: application/json: - schema: *652 + schema: *658 examples: - default: &653 + default: &659 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103551,7 +103555,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: - - &654 + - &660 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103563,9 +103567,9 @@ paths: description: Response content: application/json: - schema: *652 + schema: *658 examples: - default: *653 + default: *659 '404': *6 '304': *35 '403': *27 @@ -103588,7 +103592,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: - - *654 + - *660 responses: '204': description: Response @@ -103617,7 +103621,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: - - &662 + - &668 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 @@ -103642,11 +103646,11 @@ paths: type: array items: *55 examples: - default-response: *655 + default-response: *661 application/vnd.github.v3.star+json: schema: type: array - items: &663 + items: &669 title: Starred Repository description: Starred Repository type: object @@ -103802,8 +103806,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response if this repository is starred by you @@ -103831,8 +103835,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -103856,8 +103860,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -103890,9 +103894,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 '304': *35 @@ -103929,7 +103933,7 @@ paths: application/json: schema: type: array - items: *286 + items: *292 examples: default: value: @@ -104013,10 +104017,10 @@ paths: application/json: schema: oneOf: - - *628 - - *627 + - *634 + - *633 examples: - default-response: &657 + default-response: &663 summary: Default response value: login: octocat @@ -104051,7 +104055,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &658 + response-with-git-hub-plan-information: &664 summary: Response with GitHub plan information value: login: octocat @@ -104111,7 +104115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *656 + - *662 - *17 responses: '200': @@ -104122,7 +104126,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: example: ; rel="next" @@ -104150,7 +104154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *168 + - *174 responses: '200': description: Response @@ -104158,11 +104162,11 @@ paths: application/json: schema: oneOf: - - *628 - - *627 + - *634 + - *633 examples: - default-response: *657 - response-with-git-hub-plan-information: *658 + default-response: *663 + response-with-git-hub-plan-information: *664 '404': *6 x-github: githubCloudOnly: false @@ -104188,7 +104192,7 @@ paths: - *17 - *74 - *75 - - *168 + - *174 - name: subject_digest description: Subject Digest in: path @@ -104290,7 +104294,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -104316,7 +104320,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: - - *168 + - *174 responses: '200': description: Response @@ -104324,9 +104328,9 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: *646 + default: *652 '403': *27 '401': *23 x-github: @@ -104349,7 +104353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104430,8 +104434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *168 - - *128 + - *174 + - *134 - *17 - *18 responses: @@ -104520,7 +104524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104597,7 +104601,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104609,7 +104613,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -104628,7 +104632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104640,7 +104644,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -104659,7 +104663,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: - - *168 + - *174 - name: target_user in: path required: true @@ -104686,7 +104690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *168 + - *174 - *102 - *17 - *18 @@ -104720,7 +104724,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: - - *168 + - *174 - *17 - *18 responses: @@ -104730,9 +104734,9 @@ paths: application/json: schema: type: array - items: *635 + items: *641 examples: - default: *659 + default: *665 headers: Link: *37 x-github: @@ -104756,7 +104760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *168 + - *174 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104828,7 +104832,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: - - *168 + - *174 responses: '200': description: Response @@ -104836,7 +104840,7 @@ paths: application/json: schema: *20 examples: - default: *477 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104854,7 +104858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104902,7 +104906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104914,7 +104918,7 @@ paths: type: array items: *50 examples: - default: *644 + default: *650 headers: Link: *37 x-github: @@ -104953,8 +104957,8 @@ paths: - docker - nuget - container - - *645 - - *168 + - *651 + - *174 - *18 - *17 responses: @@ -104964,12 +104968,12 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: *646 + default: *652 '403': *27 '401': *23 - '400': *647 + '400': *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104989,17 +104993,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *240 - - *241 - - *168 + - *246 + - *247 + - *174 responses: '200': description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: *660 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105020,9 +105024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *240 - - *241 - - *168 + - *246 + - *247 + - *174 responses: '204': description: Response @@ -105054,9 +105058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *240 - - *241 - - *168 + - *246 + - *247 + - *174 - name: token description: package token schema: @@ -105088,9 +105092,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: - - *240 - - *241 - - *168 + - *246 + - *247 + - *174 responses: '200': description: Response @@ -105098,7 +105102,7 @@ paths: application/json: schema: type: array - items: *242 + items: *248 examples: default: value: @@ -105156,16 +105160,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: - - *240 - - *241 - - *243 - - *168 + - *246 + - *247 + - *249 + - *174 responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: default: value: @@ -105200,10 +105204,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *240 - - *241 - - *168 - - *243 + - *246 + - *247 + - *174 + - *249 responses: '204': description: Response @@ -105235,10 +105239,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *240 - - *241 - - *168 - - *243 + - *246 + - *247 + - *174 + - *249 responses: '204': description: Response @@ -105261,7 +105265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *168 + - *174 - name: state description: Indicates the state of the projects to return. in: query @@ -105282,7 +105286,7 @@ paths: application/json: schema: type: array - items: *251 + items: *257 examples: default: value: @@ -105341,7 +105345,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: - - *168 + - *174 - *17 - *18 responses: @@ -105430,7 +105434,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: - - *168 + - *174 - *17 - *18 responses: @@ -105517,7 +105521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *168 + - *174 - name: type description: Limit results to repositories of the specified type. in: query @@ -105560,9 +105564,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -105586,15 +105590,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: - - *168 + - *174 responses: '200': description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *279 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105616,15 +105620,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *168 + - *174 responses: '200': description: Response content: application/json: - schema: *282 + schema: *288 examples: - default: *283 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105646,15 +105650,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: - - *168 + - *174 responses: '200': description: Response content: application/json: - schema: *284 + schema: *290 examples: - default: *285 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105672,7 +105676,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: - - *168 + - *174 - *17 - *18 responses: @@ -105682,9 +105686,9 @@ paths: application/json: schema: type: array - items: *650 + items: *656 examples: - default: *651 + default: *657 headers: Link: *37 x-github: @@ -105704,7 +105708,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: - - *168 + - *174 - *17 - *18 responses: @@ -105714,9 +105718,9 @@ paths: application/json: schema: type: array - items: *652 + items: *658 examples: - default: *661 + default: *667 headers: Link: *37 x-github: @@ -105740,8 +105744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *168 - - *662 + - *174 + - *668 - *76 - *17 - *18 @@ -105753,11 +105757,11 @@ paths: schema: anyOf: - type: array - items: *663 + items: *669 - type: array items: *55 examples: - default-response: *655 + default-response: *661 headers: Link: *37 x-github: @@ -105776,7 +105780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -105786,9 +105790,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -105917,7 +105921,7 @@ webhooks: type: string enum: - disabled - enterprise: &664 + enterprise: &670 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -105986,7 +105990,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &665 + installation: &671 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106007,7 +106011,7 @@ webhooks: required: - id - node_id - organization: &666 + organization: &672 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106080,7 +106084,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &667 + repository: &673 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -106993,10 +106997,10 @@ webhooks: type: string enum: - enabled - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -107072,11 +107076,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - rule: &668 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + rule: &674 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) @@ -107299,11 +107303,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - rule: *668 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + rule: *674 sender: *4 required: - action @@ -107491,11 +107495,11 @@ webhooks: - everyone required: - from - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - rule: *668 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + rule: *674 sender: *4 required: - action @@ -107568,7 +107572,7 @@ webhooks: required: true content: application/json: - schema: &671 + schema: &677 title: Exemption request cancellation event type: object properties: @@ -107576,11 +107580,11 @@ webhooks: type: string enum: - cancelled - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: &669 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: &675 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -107734,7 +107738,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &670 + items: &676 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -107840,7 +107844,7 @@ webhooks: required: true content: application/json: - schema: &672 + schema: &678 title: Exemption request completed event type: object properties: @@ -107848,11 +107852,11 @@ webhooks: type: string enum: - completed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: *669 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: *675 sender: *4 required: - action @@ -107924,7 +107928,7 @@ webhooks: required: true content: application/json: - schema: &673 + schema: &679 title: Exemption request created event type: object properties: @@ -107932,11 +107936,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: *669 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: *675 sender: *4 required: - action @@ -108008,7 +108012,7 @@ webhooks: required: true content: application/json: - schema: &674 + schema: &680 title: Exemption response dismissed event type: object properties: @@ -108016,12 +108020,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: *669 - exemption_response: *670 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: *675 + exemption_response: *676 sender: *4 required: - action @@ -108095,7 +108099,7 @@ webhooks: required: true content: application/json: - schema: &675 + schema: &681 title: Exemption response submitted event type: object properties: @@ -108103,12 +108107,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: *669 - exemption_response: *670 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: *675 + exemption_response: *676 sender: *4 required: - action @@ -108181,7 +108185,7 @@ webhooks: required: true content: application/json: - schema: *671 + schema: *677 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108248,7 +108252,7 @@ webhooks: required: true content: application/json: - schema: *672 + schema: *678 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108315,7 +108319,7 @@ webhooks: required: true content: application/json: - schema: *673 + schema: *679 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108382,7 +108386,7 @@ webhooks: required: true content: application/json: - schema: *674 + schema: *680 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108450,7 +108454,7 @@ webhooks: required: true content: application/json: - schema: *675 + schema: *681 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108528,7 +108532,7 @@ webhooks: type: string enum: - completed - check_run: &677 + check_run: &683 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108596,8 +108600,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *375 - repository: *146 + items: *381 + repository: *152 status: type: string enum: @@ -108641,7 +108645,7 @@ webhooks: - examples: - neutral - deployment: *676 + deployment: *682 details_url: type: string examples: @@ -108701,7 +108705,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *375 + items: *381 started_at: type: string format: date-time @@ -108739,9 +108743,9 @@ webhooks: - output - app - pull_requests - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - check_run @@ -109134,10 +109138,10 @@ webhooks: type: string enum: - created - check_run: *677 - installation: *665 - organization: *666 - repository: *667 + check_run: *683 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - check_run @@ -109533,10 +109537,10 @@ webhooks: type: string enum: - requested_action - check_run: *677 - installation: *665 - organization: *666 - repository: *667 + check_run: *683 + installation: *671 + organization: *672 + repository: *673 requested_action: description: The action requested by the user. type: object @@ -109941,10 +109945,10 @@ webhooks: type: string enum: - rerequested - check_run: *677 - installation: *665 - organization: *666 - repository: *667 + check_run: *683 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - check_run @@ -110936,10 +110940,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -111624,10 +111628,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -112306,10 +112310,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -112616,20 +112620,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &678 + commit_oid: &684 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: *664 - installation: *665 - organization: *666 - ref: &679 + enterprise: *670 + installation: *671 + organization: *672 + ref: &685 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: *667 + repository: *673 sender: *4 required: - action @@ -112957,12 +112961,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *678 - enterprise: *664 - installation: *665 - organization: *666 - ref: *679 - repository: *667 + commit_oid: *684 + enterprise: *670 + installation: *671 + organization: *672 + ref: *685 + repository: *673 sender: *4 required: - action @@ -113060,7 +113064,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *387 + dismissed_comment: *393 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113235,12 +113239,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *678 - enterprise: *664 - installation: *665 - organization: *666 - ref: *679 - repository: *667 + commit_oid: *684 + enterprise: *670 + installation: *671 + organization: *672 + ref: *685 + repository: *673 sender: *4 required: - action @@ -113572,12 +113576,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *678 - enterprise: *664 - installation: *665 - organization: *666 - ref: *679 - repository: *667 + commit_oid: *684 + enterprise: *670 + installation: *671 + organization: *672 + ref: *685 + repository: *673 sender: *4 required: - action @@ -113846,9 +113850,9 @@ webhooks: type: - string - 'null' - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -113856,7 +113860,7 @@ webhooks: type: - string - 'null' - repository: *667 + repository: *673 sender: *4 required: - action @@ -114088,12 +114092,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *678 - enterprise: *664 - installation: *665 - organization: *666 - ref: *679 - repository: *667 + commit_oid: *684 + enterprise: *670 + installation: *671 + organization: *672 + ref: *685 + repository: *673 sender: *4 required: - action @@ -114355,10 +114359,10 @@ webhooks: - updated_at - author_association - body - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -114439,18 +114443,18 @@ webhooks: type: - string - 'null' - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *666 - pusher_type: &680 + organization: *672 + pusher_type: &686 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &681 + ref: &687 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -114460,7 +114464,7 @@ webhooks: enum: - tag - branch - repository: *667 + repository: *673 sender: *4 required: - ref @@ -114542,10 +114546,10 @@ webhooks: type: string enum: - created - definition: *252 - enterprise: *664 - installation: *665 - organization: *666 + definition: *258 + enterprise: *670 + installation: *671 + organization: *672 sender: *4 required: - action @@ -114630,9 +114634,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 sender: *4 required: - action @@ -114709,10 +114713,10 @@ webhooks: type: string enum: - updated - definition: *252 - enterprise: *664 - installation: *665 - organization: *666 + definition: *258 + enterprise: *670 + installation: *671 + organization: *672 sender: *4 required: - action @@ -114789,19 +114793,19 @@ webhooks: type: string enum: - updated - enterprise: *664 - installation: *665 - repository: *667 - organization: *666 + enterprise: *670 + installation: *671 + repository: *673 + organization: *672 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *256 + items: *262 old_property_values: type: array description: The old custom property values for the repository. - items: *256 + items: *262 required: - action - repository @@ -114877,18 +114881,18 @@ webhooks: title: delete event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 - pusher_type: *680 - ref: *681 + enterprise: *670 + installation: *671 + organization: *672 + pusher_type: *686 + ref: *687 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *667 + repository: *673 sender: *4 required: - ref @@ -114972,11 +114976,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115060,11 +115064,11 @@ webhooks: type: string enum: - auto_reopened - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115148,11 +115152,11 @@ webhooks: type: string enum: - created - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115234,11 +115238,11 @@ webhooks: type: string enum: - dismissed - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115320,11 +115324,11 @@ webhooks: type: string enum: - fixed - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115407,11 +115411,11 @@ webhooks: type: string enum: - reintroduced - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115493,11 +115497,11 @@ webhooks: type: string enum: - reopened - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115574,9 +115578,9 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - key: &682 + enterprise: *670 + installation: *671 + key: &688 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115614,8 +115618,8 @@ webhooks: - verified - created_at - read_only - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -115692,11 +115696,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - key: *682 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + key: *688 + organization: *672 + repository: *673 sender: *4 required: - action @@ -116268,12 +116272,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: &686 + workflow: &692 title: Workflow type: - object @@ -117011,13 +117015,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *442 + deployment: *448 pull_requests: type: array - items: *523 - repository: *667 - organization: *666 - installation: *665 + items: *529 + repository: *673 + organization: *672 + installation: *671 sender: *4 responses: '200': @@ -117088,7 +117092,7 @@ webhooks: type: string enum: - approved - approver: &683 + approver: &689 type: object properties: avatar_url: @@ -117131,11 +117135,11 @@ webhooks: type: string comment: type: string - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - reviewers: &684 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + reviewers: &690 type: array items: type: object @@ -117216,7 +117220,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &685 + workflow_job_run: &691 type: object properties: conclusion: @@ -117962,18 +117966,18 @@ webhooks: type: string enum: - rejected - approver: *683 + approver: *689 comment: type: string - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - reviewers: *684 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + reviewers: *690 sender: *4 since: type: string - workflow_job_run: *685 + workflow_job_run: *691 workflow_job_runs: type: array items: @@ -118690,13 +118694,13 @@ webhooks: type: string enum: - requested - enterprise: *664 + enterprise: *670 environment: type: string - installation: *665 - organization: *666 - repository: *667 - requestor: &691 + installation: *671 + organization: *672 + repository: *673 + requestor: &697 title: User type: - object @@ -120639,12 +120643,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: *686 + workflow: *692 workflow_run: title: Deployment Workflow Run type: @@ -121335,7 +121339,7 @@ webhooks: type: string enum: - answered - answer: &689 + answer: &695 type: object properties: author_association: @@ -121495,7 +121499,7 @@ webhooks: - created_at - updated_at - body - discussion: &687 + discussion: &693 title: Discussion description: A Discussion in a repository. type: object @@ -121791,7 +121795,7 @@ webhooks: - id labels: type: array - items: *487 + items: *493 required: - repository_url - category @@ -121813,10 +121817,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -121943,11 +121947,11 @@ webhooks: - from required: - category - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122030,11 +122034,11 @@ webhooks: type: string enum: - closed - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122116,7 +122120,7 @@ webhooks: type: string enum: - created - comment: &688 + comment: &694 type: object properties: author_association: @@ -122276,11 +122280,11 @@ webhooks: - updated_at - body - reactions - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122363,12 +122367,12 @@ webhooks: type: string enum: - deleted - comment: *688 - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + comment: *694 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122463,12 +122467,12 @@ webhooks: - from required: - body - comment: *688 - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + comment: *694 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122552,11 +122556,11 @@ webhooks: type: string enum: - created - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122638,11 +122642,11 @@ webhooks: type: string enum: - deleted - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122742,11 +122746,11 @@ webhooks: type: string required: - from - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122828,10 +122832,10 @@ webhooks: type: string enum: - labeled - discussion: *687 - enterprise: *664 - installation: *665 - label: &690 + discussion: *693 + enterprise: *670 + installation: *671 + label: &696 title: Label type: object properties: @@ -122864,8 +122868,8 @@ webhooks: - color - default - description - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122948,11 +122952,11 @@ webhooks: type: string enum: - locked - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123034,11 +123038,11 @@ webhooks: type: string enum: - pinned - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123120,11 +123124,11 @@ webhooks: type: string enum: - reopened - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123209,16 +123213,16 @@ webhooks: changes: type: object properties: - new_discussion: *687 - new_repository: *667 + new_discussion: *693 + new_repository: *673 required: - new_discussion - new_repository - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123301,10 +123305,10 @@ webhooks: type: string enum: - unanswered - discussion: *687 - old_answer: *689 - organization: *666 - repository: *667 + discussion: *693 + old_answer: *695 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123386,12 +123390,12 @@ webhooks: type: string enum: - unlabeled - discussion: *687 - enterprise: *664 - installation: *665 - label: *690 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123474,11 +123478,11 @@ webhooks: type: string enum: - unlocked - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123560,11 +123564,11 @@ webhooks: type: string enum: - unpinned - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123637,7 +123641,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *664 + enterprise: *670 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -124315,9 +124319,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - forkee @@ -124463,9 +124467,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pages: description: The pages that were updated. type: array @@ -124503,7 +124507,7 @@ webhooks: - action - sha - html_url - repository: *667 + repository: *673 sender: *4 required: - pages @@ -124579,10 +124583,10 @@ webhooks: type: string enum: - created - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: &692 + organization: *672 + repositories: &698 description: An array of repository objects that the installation can access. type: array @@ -124608,8 +124612,8 @@ webhooks: - name - full_name - private - repository: *667 - requester: *691 + repository: *673 + requester: *697 sender: *4 required: - action @@ -124684,11 +124688,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: *692 - repository: *667 + organization: *672 + repositories: *698 + repository: *673 requester: type: - 'null' @@ -124765,11 +124769,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: *692 - repository: *667 + organization: *672 + repositories: *698 + repository: *673 requester: type: - 'null' @@ -124846,10 +124850,10 @@ webhooks: type: string enum: - added - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories_added: &693 + organization: *672 + repositories_added: &699 description: An array of repository objects, which were added to the installation. type: array @@ -124895,15 +124899,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *667 - repository_selection: &694 + repository: *673 + repository_selection: &700 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *691 + requester: *697 sender: *4 required: - action @@ -124982,10 +124986,10 @@ webhooks: type: string enum: - removed - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories_added: *693 + organization: *672 + repositories_added: *699 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -125012,9 +125016,9 @@ webhooks: - name - full_name - private - repository: *667 - repository_selection: *694 - requester: *691 + repository: *673 + repository_selection: *700 + requester: *697 sender: *4 required: - action @@ -125093,11 +125097,11 @@ webhooks: type: string enum: - suspend - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: *692 - repository: *667 + organization: *672 + repositories: *698 + repository: *673 requester: type: - 'null' @@ -125280,10 +125284,10 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 target_type: type: string @@ -125362,11 +125366,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: *692 - repository: *667 + organization: *672 + repositories: *698 + repository: *673 requester: type: - 'null' @@ -125614,8 +125618,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126791,8 +126795,8 @@ webhooks: - state - locked - assignee - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -126872,7 +126876,7 @@ webhooks: type: string enum: - deleted - comment: &695 + comment: &701 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -127039,8 +127043,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128214,8 +128218,8 @@ webhooks: - state - locked - assignee - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -128295,7 +128299,7 @@ webhooks: type: string enum: - edited - changes: &720 + changes: &726 description: The changes to the comment. type: object properties: @@ -128307,9 +128311,9 @@ webhooks: type: string required: - from - comment: *695 - enterprise: *664 - installation: *665 + comment: *701 + enterprise: *670 + installation: *671 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129484,8 +129488,8 @@ webhooks: - state - locked - assignee - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -129567,10 +129571,10 @@ webhooks: type: string enum: - assigned - assignee: *691 - enterprise: *664 - installation: *665 - issue: &698 + assignee: *697 + enterprise: *670 + installation: *671 + issue: &704 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130500,8 +130504,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -130581,8 +130585,8 @@ webhooks: type: string enum: - closed - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -131660,8 +131664,8 @@ webhooks: required: - state - closed_at - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -131740,8 +131744,8 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132664,8 +132668,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -132744,8 +132748,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133672,7 +133676,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &696 + milestone: &702 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133815,8 +133819,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -133915,8 +133919,8 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134846,9 +134850,9 @@ webhooks: - active_lock_reason - body - reactions - label: *690 - organization: *666 - repository: *667 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -134928,8 +134932,8 @@ webhooks: type: string enum: - labeled - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135858,9 +135862,9 @@ webhooks: - active_lock_reason - body - reactions - label: *690 - organization: *666 - repository: *667 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -135940,8 +135944,8 @@ webhooks: type: string enum: - locked - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136872,8 +136876,8 @@ webhooks: format: uri user_view_type: type: string - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -136952,8 +136956,8 @@ webhooks: type: string enum: - milestoned - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137878,9 +137882,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *696 - organization: *666 - repository: *667 + milestone: *702 + organization: *672 + repository: *673 sender: *4 required: - action @@ -139366,8 +139370,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140296,8 +140300,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -140377,9 +140381,9 @@ webhooks: type: string enum: - pinned - enterprise: *664 - installation: *665 - issue: &697 + enterprise: *670 + installation: *671 + issue: &703 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -141302,8 +141306,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -141382,8 +141386,8 @@ webhooks: type: string enum: - reopened - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142313,8 +142317,8 @@ webhooks: format: uri user_view_type: type: string - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -143800,11 +143804,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *664 - installation: *665 - issue: *697 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + issue: *703 + organization: *672 + repository: *673 sender: *4 required: - action @@ -143885,7 +143889,7 @@ webhooks: type: string enum: - unassigned - assignee: &723 + assignee: &729 title: User type: - object @@ -143957,11 +143961,11 @@ webhooks: required: - login - id - enterprise: *664 - installation: *665 - issue: *698 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + issue: *704 + organization: *672 + repository: *673 sender: *4 required: - action @@ -144040,12 +144044,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *664 - installation: *665 - issue: *698 - label: *690 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + issue: *704 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -144125,8 +144129,8 @@ webhooks: type: string enum: - unlocked - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145055,8 +145059,8 @@ webhooks: format: uri user_view_type: type: string - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145136,11 +145140,11 @@ webhooks: type: string enum: - unpinned - enterprise: *664 - installation: *665 - issue: *697 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + issue: *703 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145219,11 +145223,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - label: *690 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145301,11 +145305,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - label: *690 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145415,11 +145419,11 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - label: *690 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145501,9 +145505,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *664 - installation: *665 - marketplace_purchase: &699 + enterprise: *670 + installation: *671 + marketplace_purchase: &705 title: Marketplace Purchase type: object required: @@ -145591,8 +145595,8 @@ webhooks: type: integer unit_count: type: integer - organization: *666 - previous_marketplace_purchase: &700 + organization: *672 + previous_marketplace_purchase: &706 title: Marketplace Purchase type: object properties: @@ -145676,7 +145680,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *667 + repository: *673 sender: *4 required: - action @@ -145756,10 +145760,10 @@ webhooks: - changed effective_date: type: string - enterprise: *664 - installation: *665 - marketplace_purchase: *699 - organization: *666 + enterprise: *670 + installation: *671 + marketplace_purchase: *705 + organization: *672 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145847,7 +145851,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *667 + repository: *673 sender: *4 required: - action @@ -145929,10 +145933,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *664 - installation: *665 - marketplace_purchase: *699 - organization: *666 + enterprise: *670 + installation: *671 + marketplace_purchase: *705 + organization: *672 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146018,7 +146022,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *667 + repository: *673 sender: *4 required: - action @@ -146099,8 +146103,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 marketplace_purchase: title: Marketplace Purchase type: object @@ -146186,9 +146190,9 @@ webhooks: type: integer unit_count: type: integer - organization: *666 - previous_marketplace_purchase: *700 - repository: *667 + organization: *672 + previous_marketplace_purchase: *706 + repository: *673 sender: *4 required: - action @@ -146268,12 +146272,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *664 - installation: *665 - marketplace_purchase: *699 - organization: *666 - previous_marketplace_purchase: *700 - repository: *667 + enterprise: *670 + installation: *671 + marketplace_purchase: *705 + organization: *672 + previous_marketplace_purchase: *706 + repository: *673 sender: *4 required: - action @@ -146375,11 +146379,11 @@ webhooks: type: string required: - to - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 sender: *4 required: - action @@ -146481,11 +146485,11 @@ webhooks: type: - string - 'null' - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 sender: *4 required: - action @@ -146564,11 +146568,11 @@ webhooks: type: string enum: - removed - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 sender: *4 required: - action @@ -146646,11 +146650,11 @@ webhooks: type: string enum: - added - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146728,7 +146732,7 @@ webhooks: required: - login - id - team: &701 + team: &707 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146921,11 +146925,11 @@ webhooks: type: string enum: - removed - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147004,7 +147008,7 @@ webhooks: required: - login - id - team: *701 + team: *707 required: - action - scope @@ -147086,8 +147090,8 @@ webhooks: type: string enum: - checks_requested - installation: *665 - merge_group: &702 + installation: *671 + merge_group: &708 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -147106,15 +147110,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *379 + head_commit: *385 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147200,10 +147204,10 @@ webhooks: - merged - invalidated - dequeued - installation: *665 - merge_group: *702 - organization: *666 - repository: *667 + installation: *671 + merge_group: *708 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147276,7 +147280,7 @@ webhooks: type: string enum: - deleted - enterprise: *664 + enterprise: *670 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -147384,12 +147388,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *665 - organization: *666 + installation: *671 + organization: *672 repository: anyOf: - type: 'null' - - *667 + - *673 sender: *4 required: - action @@ -147469,11 +147473,11 @@ webhooks: type: string enum: - closed - enterprise: *664 - installation: *665 - milestone: *696 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + milestone: *702 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147552,9 +147556,9 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - milestone: &703 + enterprise: *670 + installation: *671 + milestone: &709 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147696,8 +147700,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147776,11 +147780,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - milestone: *696 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + milestone: *702 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147890,11 +147894,11 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - milestone: *696 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + milestone: *702 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147974,11 +147978,11 @@ webhooks: type: string enum: - opened - enterprise: *664 - installation: *665 - milestone: *703 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + milestone: *709 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148057,11 +148061,11 @@ webhooks: type: string enum: - blocked - blocked_user: *691 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + blocked_user: *697 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148140,11 +148144,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *691 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + blocked_user: *697 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148223,9 +148227,9 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - membership: &704 + enterprise: *670 + installation: *671 + membership: &710 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148319,8 +148323,8 @@ webhooks: - role - organization_url - user - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148398,11 +148402,11 @@ webhooks: type: string enum: - member_added - enterprise: *664 - installation: *665 - membership: *704 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + membership: *710 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148481,8 +148485,8 @@ webhooks: type: string enum: - member_invited - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148604,10 +148608,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 - user: *691 + user: *697 required: - action - invitation @@ -148685,11 +148689,11 @@ webhooks: type: string enum: - member_removed - enterprise: *664 - installation: *665 - membership: *704 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + membership: *710 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148776,11 +148780,11 @@ webhooks: properties: from: type: string - enterprise: *664 - installation: *665 - membership: *704 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + membership: *710 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148856,9 +148860,9 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 package: description: Information about the package. type: object @@ -149381,7 +149385,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &705 + items: &711 title: Ruby Gems metadata type: object properties: @@ -149478,7 +149482,7 @@ webhooks: - owner - package_version - registry - repository: *667 + repository: *673 sender: *4 required: - action @@ -149554,9 +149558,9 @@ webhooks: type: string enum: - updated - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 package: description: Information about the package. type: object @@ -149918,7 +149922,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *705 + items: *711 source_url: type: string format: uri @@ -149989,7 +149993,7 @@ webhooks: - owner - package_version - registry - repository: *667 + repository: *673 sender: *4 required: - action @@ -150170,12 +150174,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *664 + enterprise: *670 id: type: integer - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - id @@ -150255,7 +150259,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &706 + personal_access_token_request: &712 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -150405,10 +150409,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *664 - organization: *666 + enterprise: *670 + organization: *672 sender: *4 - installation: *665 + installation: *671 required: - action - personal_access_token_request @@ -150487,11 +150491,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *706 - enterprise: *664 - organization: *666 + personal_access_token_request: *712 + enterprise: *670 + organization: *672 sender: *4 - installation: *665 + installation: *671 required: - action - personal_access_token_request @@ -150569,11 +150573,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *706 - enterprise: *664 - organization: *666 + personal_access_token_request: *712 + enterprise: *670 + organization: *672 sender: *4 - installation: *665 + installation: *671 required: - action - personal_access_token_request @@ -150650,11 +150654,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *706 - organization: *666 - enterprise: *664 + personal_access_token_request: *712 + organization: *672 + enterprise: *670 sender: *4 - installation: *665 + installation: *671 required: - action - personal_access_token_request @@ -150758,7 +150762,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *707 + last_response: *713 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150790,8 +150794,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 zen: description: Random string of GitHub zen. @@ -151036,10 +151040,10 @@ webhooks: - from required: - note - enterprise: *664 - installation: *665 - organization: *666 - project_card: &708 + enterprise: *670 + installation: *671 + organization: *672 + project_card: &714 title: Project Card type: object properties: @@ -151162,7 +151166,7 @@ webhooks: - creator - created_at - updated_at - repository: *667 + repository: *673 sender: *4 required: - action @@ -151243,11 +151247,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - project_card: *708 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project_card: *714 + repository: *673 sender: *4 required: - action @@ -151327,9 +151331,9 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 project_card: title: Project Card type: object @@ -151459,7 +151463,7 @@ webhooks: repository: anyOf: - type: 'null' - - *667 + - *673 sender: *4 required: - action @@ -151553,11 +151557,11 @@ webhooks: - from required: - note - enterprise: *664 - installation: *665 - organization: *666 - project_card: *708 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project_card: *714 + repository: *673 sender: *4 required: - action @@ -151651,9 +151655,9 @@ webhooks: - from required: - column_id - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 project_card: allOf: - title: Project Card @@ -151850,7 +151854,7 @@ webhooks: type: string required: - after_id - repository: *667 + repository: *673 sender: *4 required: - action @@ -151930,10 +151934,10 @@ webhooks: type: string enum: - closed - enterprise: *664 - installation: *665 - organization: *666 - project: &710 + enterprise: *670 + installation: *671 + organization: *672 + project: &716 title: Project type: object properties: @@ -152060,7 +152064,7 @@ webhooks: - creator - created_at - updated_at - repository: *667 + repository: *673 sender: *4 required: - action @@ -152140,10 +152144,10 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - project_column: &709 + enterprise: *670 + installation: *671 + organization: *672 + project_column: &715 title: Project Column type: object properties: @@ -152183,7 +152187,7 @@ webhooks: - name - created_at - updated_at - repository: *667 + repository: *673 sender: *4 required: - action @@ -152262,14 +152266,14 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - project_column: *709 + enterprise: *670 + installation: *671 + organization: *672 + project_column: *715 repository: anyOf: - type: 'null' - - *667 + - *673 sender: *4 required: - action @@ -152358,11 +152362,11 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 - project_column: *709 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project_column: *715 + repository: *673 sender: *4 required: - action @@ -152442,11 +152446,11 @@ webhooks: type: string enum: - moved - enterprise: *664 - installation: *665 - organization: *666 - project_column: *709 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project_column: *715 + repository: *673 sender: *4 required: - action @@ -152526,11 +152530,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - project: *710 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project: *716 + repository: *673 sender: *4 required: - action @@ -152610,14 +152614,14 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - project: *710 + enterprise: *670 + installation: *671 + organization: *672 + project: *716 repository: anyOf: - type: 'null' - - *667 + - *673 sender: *4 required: - action @@ -152718,11 +152722,11 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 - project: *710 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project: *716 + repository: *673 sender: *4 required: - action @@ -152801,11 +152805,11 @@ webhooks: type: string enum: - reopened - enterprise: *664 - installation: *665 - organization: *666 - project: *710 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project: *716 + repository: *673 sender: *4 required: - action @@ -152886,9 +152890,9 @@ webhooks: type: string enum: - closed - installation: *665 - organization: *666 - projects_v2: &711 + installation: *671 + organization: *672 + projects_v2: &717 title: Projects v2 Project description: A projects v2 project type: object @@ -153036,9 +153040,9 @@ webhooks: type: string enum: - created - installation: *665 - organization: *666 - projects_v2: *711 + installation: *671 + organization: *672 + projects_v2: *717 sender: *4 required: - action @@ -153119,9 +153123,9 @@ webhooks: type: string enum: - deleted - installation: *665 - organization: *666 - projects_v2: *711 + installation: *671 + organization: *672 + projects_v2: *717 sender: *4 required: - action @@ -153242,9 +153246,9 @@ webhooks: type: string to: type: string - installation: *665 - organization: *666 - projects_v2: *711 + installation: *671 + organization: *672 + projects_v2: *717 sender: *4 required: - action @@ -153327,7 +153331,7 @@ webhooks: type: string enum: - archived - changes: &715 + changes: &721 type: object properties: archived_at: @@ -153343,9 +153347,9 @@ webhooks: - string - 'null' format: date-time - installation: *665 - organization: *666 - projects_v2_item: &712 + installation: *671 + organization: *672 + projects_v2_item: &718 title: Projects v2 Item description: An item belonging to a project type: object @@ -153484,9 +153488,9 @@ webhooks: - 'null' to: type: string - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -153568,9 +153572,9 @@ webhooks: type: string enum: - created - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -153651,9 +153655,9 @@ webhooks: type: string enum: - deleted - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -153758,7 +153762,7 @@ webhooks: oneOf: - type: string - type: integer - - &713 + - &719 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153778,7 +153782,7 @@ webhooks: required: - id - name - - &714 + - &720 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153807,8 +153811,8 @@ webhooks: oneOf: - type: string - type: integer - - *713 - - *714 + - *719 + - *720 type: - 'null' - string @@ -153831,9 +153835,9 @@ webhooks: - 'null' required: - body - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -153930,9 +153934,9 @@ webhooks: type: - string - 'null' - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -154015,10 +154019,10 @@ webhooks: type: string enum: - restored - changes: *715 - installation: *665 - organization: *666 - projects_v2_item: *712 + changes: *721 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -154100,9 +154104,9 @@ webhooks: type: string enum: - reopened - installation: *665 - organization: *666 - projects_v2: *711 + installation: *671 + organization: *672 + projects_v2: *717 sender: *4 required: - action @@ -154183,9 +154187,9 @@ webhooks: type: string enum: - created - installation: *665 - organization: *666 - projects_v2_status_update: &716 + installation: *671 + organization: *672 + projects_v2_status_update: &722 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -154320,9 +154324,9 @@ webhooks: type: string enum: - deleted - installation: *665 - organization: *666 - projects_v2_status_update: *716 + installation: *671 + organization: *672 + projects_v2_status_update: *722 sender: *4 required: - action @@ -154468,9 +154472,9 @@ webhooks: - string - 'null' format: date - installation: *665 - organization: *666 - projects_v2_status_update: *716 + installation: *671 + organization: *672 + projects_v2_status_update: *722 sender: *4 required: - action @@ -154541,10 +154545,10 @@ webhooks: title: public event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - repository @@ -154621,13 +154625,13 @@ webhooks: type: string enum: - assigned - assignee: *691 - enterprise: *664 - installation: *665 - number: &717 + assignee: *697 + enterprise: *670 + installation: *671 + number: &723 description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -156976,7 +156980,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -157058,11 +157062,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -159404,7 +159408,7 @@ webhooks: - draft reason: type: string - repository: *667 + repository: *673 sender: *4 required: - action @@ -159486,11 +159490,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -161832,7 +161836,7 @@ webhooks: - draft reason: type: string - repository: *667 + repository: *673 sender: *4 required: - action @@ -161914,13 +161918,13 @@ webhooks: type: string enum: - closed - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: &718 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: &724 allOf: - - *523 + - *529 - type: object properties: allow_auto_merge: @@ -161982,7 +161986,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *667 + repository: *673 sender: *4 required: - action @@ -162063,12 +162067,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -162148,11 +162152,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *664 - milestone: *422 - number: *717 - organization: *666 - pull_request: &719 + enterprise: *670 + milestone: *428 + number: *723 + organization: *672 + pull_request: &725 title: Pull Request type: object properties: @@ -164479,7 +164483,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -164558,11 +164562,11 @@ webhooks: type: string enum: - dequeued - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -166908,7 +166912,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *667 + repository: *673 sender: *4 required: - action @@ -167032,12 +167036,12 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -167117,11 +167121,11 @@ webhooks: type: string enum: - enqueued - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -169452,7 +169456,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -169532,11 +169536,11 @@ webhooks: type: string enum: - labeled - enterprise: *664 - installation: *665 - label: *690 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + label: *696 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -171884,7 +171888,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -171965,10 +171969,10 @@ webhooks: type: string enum: - locked - enterprise: *664 - installation: *665 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -174314,7 +174318,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -174394,12 +174398,12 @@ webhooks: type: string enum: - milestoned - enterprise: *664 - milestone: *422 - number: *717 - organization: *666 - pull_request: *719 - repository: *667 + enterprise: *670 + milestone: *428 + number: *723 + organization: *672 + pull_request: *725 + repository: *673 sender: *4 required: - action @@ -174478,12 +174482,12 @@ webhooks: type: string enum: - opened - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -174564,12 +174568,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -174649,12 +174653,12 @@ webhooks: type: string enum: - reopened - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -175029,9 +175033,9 @@ webhooks: - start_side - side - reactions - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: type: object properties: @@ -177261,7 +177265,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *667 + repository: *673 sender: *4 required: - action @@ -177341,7 +177345,7 @@ webhooks: type: string enum: - deleted - comment: &721 + comment: &727 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. @@ -177634,9 +177638,9 @@ webhooks: - start_side - side - reactions - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: type: object properties: @@ -179854,7 +179858,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *667 + repository: *673 sender: *4 required: - action @@ -179934,11 +179938,11 @@ webhooks: type: string enum: - edited - changes: *720 - comment: *721 - enterprise: *664 - installation: *665 - organization: *666 + changes: *726 + comment: *727 + enterprise: *670 + installation: *671 + organization: *672 pull_request: type: object properties: @@ -182159,7 +182163,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *667 + repository: *673 sender: *4 required: - action @@ -182240,9 +182244,9 @@ webhooks: type: string enum: - dismissed - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -184475,7 +184479,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 + repository: *673 review: description: The review that was affected. type: object @@ -184721,9 +184725,9 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -186837,8 +186841,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 - review: &722 + repository: *673 + review: &728 description: The review that was affected. type: object properties: @@ -187071,12 +187075,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -189423,7 +189427,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 requested_reviewer: title: User type: @@ -189509,12 +189513,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -191868,7 +191872,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192063,12 +192067,12 @@ webhooks: type: string enum: - review_requested - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -194417,7 +194421,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 requested_reviewer: title: User type: @@ -194504,12 +194508,12 @@ webhooks: type: string enum: - review_requested - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -196849,7 +196853,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197033,9 +197037,9 @@ webhooks: type: string enum: - submitted - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -199271,8 +199275,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 - review: *722 + repository: *673 + review: *728 sender: *4 required: - action @@ -199352,9 +199356,9 @@ webhooks: type: string enum: - resolved - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -201485,7 +201489,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 + repository: *673 sender: *4 thread: type: object @@ -201877,9 +201881,9 @@ webhooks: type: string enum: - unresolved - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -203993,7 +203997,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 + repository: *673 sender: *4 thread: type: object @@ -204387,10 +204391,10 @@ webhooks: type: string before: type: string - enterprise: *664 - installation: *665 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -206725,7 +206729,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -206807,11 +206811,11 @@ webhooks: type: string enum: - unassigned - assignee: *723 - enterprise: *664 - installation: *665 - number: *717 - organization: *666 + assignee: *729 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -209161,7 +209165,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -209240,11 +209244,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *664 - installation: *665 - label: *690 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + label: *696 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -211583,7 +211587,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -211664,10 +211668,10 @@ webhooks: type: string enum: - unlocked - enterprise: *664 - installation: *665 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -213996,7 +214000,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -214199,7 +214203,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *664 + enterprise: *670 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214294,8 +214298,8 @@ webhooks: - url - author - committer - installation: *665 - organization: *666 + installation: *671 + organization: *672 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -214883,9 +214887,9 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 registry_package: type: object properties: @@ -215362,7 +215366,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *705 + items: *711 summary: type: string tag_name: @@ -215418,7 +215422,7 @@ webhooks: - owner - package_version - registry - repository: *667 + repository: *673 sender: *4 required: - action @@ -215496,9 +215500,9 @@ webhooks: type: string enum: - updated - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 registry_package: type: object properties: @@ -215810,7 +215814,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *705 + items: *711 summary: type: string tag_name: @@ -215860,7 +215864,7 @@ webhooks: - owner - package_version - registry - repository: *667 + repository: *673 sender: *4 required: - action @@ -215937,10 +215941,10 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - release: &724 + enterprise: *670 + installation: *671 + organization: *672 + release: &730 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216256,7 +216260,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *667 + repository: *673 sender: *4 required: - action @@ -216333,11 +216337,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - release: *724 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + release: *730 + repository: *673 sender: *4 required: - action @@ -216445,11 +216449,11 @@ webhooks: type: boolean required: - to - enterprise: *664 - installation: *665 - organization: *666 - release: *724 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + release: *730 + repository: *673 sender: *4 required: - action @@ -216527,9 +216531,9 @@ webhooks: type: string enum: - prereleased - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -216850,7 +216854,7 @@ webhooks: - string - 'null' format: uri - repository: *667 + repository: *673 sender: *4 required: - action @@ -216926,10 +216930,10 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 - release: &725 + enterprise: *670 + installation: *671 + organization: *672 + release: &731 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -217247,7 +217251,7 @@ webhooks: - string - 'null' format: uri - repository: *667 + repository: *673 sender: *4 required: - action @@ -217323,11 +217327,11 @@ webhooks: type: string enum: - released - enterprise: *664 - installation: *665 - organization: *666 - release: *724 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + release: *730 + repository: *673 sender: *4 required: - action @@ -217403,11 +217407,11 @@ webhooks: type: string enum: - unpublished - enterprise: *664 - installation: *665 - organization: *666 - release: *725 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + release: *731 + repository: *673 sender: *4 required: - action @@ -217483,11 +217487,11 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_advisory: *576 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_advisory: *582 sender: *4 required: - action @@ -217563,11 +217567,11 @@ webhooks: type: string enum: - reported - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_advisory: *576 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_advisory: *582 sender: *4 required: - action @@ -217643,10 +217647,10 @@ webhooks: type: string enum: - archived - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -217723,10 +217727,10 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -217804,10 +217808,10 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -217892,10 +217896,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218010,10 +218014,10 @@ webhooks: - 'null' items: type: string - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218085,10 +218089,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 status: type: string @@ -218169,10 +218173,10 @@ webhooks: type: string enum: - privatized - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218249,10 +218253,10 @@ webhooks: type: string enum: - publicized - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218346,10 +218350,10 @@ webhooks: - name required: - repository - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218429,11 +218433,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_ruleset: *266 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_ruleset: *272 sender: *4 required: - action @@ -218511,11 +218515,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_ruleset: *266 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_ruleset: *272 sender: *4 required: - action @@ -218593,11 +218597,11 @@ webhooks: type: string enum: - edited - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_ruleset: *266 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_ruleset: *272 changes: type: object properties: @@ -218616,16 +218620,16 @@ webhooks: properties: added: type: array - items: *260 + items: *266 deleted: type: array - items: *260 + items: *266 updated: type: array items: type: object properties: - condition: *260 + condition: *266 changes: type: object properties: @@ -218658,16 +218662,16 @@ webhooks: properties: added: type: array - items: *265 + items: *271 deleted: type: array - items: *265 + items: *271 updated: type: array items: type: object properties: - rule: *265 + rule: *271 changes: type: object properties: @@ -218904,10 +218908,10 @@ webhooks: - from required: - owner - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218985,10 +218989,10 @@ webhooks: type: string enum: - unarchived - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219066,7 +219070,7 @@ webhooks: type: string enum: - create - alert: &726 + alert: &732 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219190,10 +219194,10 @@ webhooks: type: string enum: - open - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219403,10 +219407,10 @@ webhooks: type: string enum: - dismissed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219484,11 +219488,11 @@ webhooks: type: string enum: - reopen - alert: *726 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *732 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219690,10 +219694,10 @@ webhooks: enum: - fixed - open - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219771,7 +219775,7 @@ webhooks: type: string enum: - created - alert: &727 + alert: &733 type: object properties: number: *81 @@ -219875,10 +219879,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219959,11 +219963,11 @@ webhooks: type: string enum: - created - alert: *727 - installation: *665 - location: *728 - organization: *666 - repository: *667 + alert: *733 + installation: *671 + location: *734 + organization: *672 + repository: *673 sender: *4 required: - location @@ -220201,11 +220205,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *727 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *733 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -220283,11 +220287,11 @@ webhooks: type: string enum: - reopened - alert: *727 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *733 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -220365,11 +220369,11 @@ webhooks: type: string enum: - resolved - alert: *727 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *733 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -220447,11 +220451,11 @@ webhooks: type: string enum: - validated - alert: *727 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *733 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -220527,11 +220531,11 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - security_advisory: &729 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + security_advisory: &735 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220717,11 +220721,11 @@ webhooks: type: string enum: - updated - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - security_advisory: *729 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + security_advisory: *735 sender: *4 required: - action @@ -220794,10 +220798,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -220983,11 +220987,11 @@ webhooks: from: type: object properties: - security_and_analysis: *257 - enterprise: *664 - installation: *665 - organization: *666 - repository: *318 + security_and_analysis: *263 + enterprise: *670 + installation: *671 + organization: *672 + repository: *324 sender: *4 required: - changes @@ -221065,12 +221069,12 @@ webhooks: type: string enum: - cancelled - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: &730 + sponsorship: &736 type: object properties: created_at: @@ -221375,12 +221379,12 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - sponsorship @@ -221468,12 +221472,12 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - changes @@ -221550,17 +221554,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &731 + effective_date: &737 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: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - sponsorship @@ -221634,7 +221638,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &732 + changes: &738 type: object properties: tier: @@ -221678,13 +221682,13 @@ webhooks: - from required: - tier - effective_date: *731 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + effective_date: *737 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - changes @@ -221761,13 +221765,13 @@ webhooks: type: string enum: - tier_changed - changes: *732 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + changes: *738 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - changes @@ -221841,10 +221845,10 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221928,10 +221932,10 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222360,15 +222364,15 @@ webhooks: type: - string - 'null' - enterprise: *664 + enterprise: *670 id: description: The unique identifier of the status. type: integer - installation: *665 + installation: *671 name: type: string - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 sha: description: The Commit SHA. @@ -222484,9 +222488,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *112 - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -222576,9 +222580,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *112 - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -222668,9 +222672,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *112 - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -222760,9 +222764,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *112 - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -222839,12 +222843,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - team: &733 + team: &739 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223037,9 +223041,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -223509,7 +223513,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - team @@ -223585,9 +223589,9 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -224057,7 +224061,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - team @@ -224134,9 +224138,9 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -224606,7 +224610,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - team @@ -224750,9 +224754,9 @@ webhooks: - from required: - permissions - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -225222,7 +225226,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - changes @@ -225300,9 +225304,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -225772,7 +225776,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - team @@ -225848,10 +225852,10 @@ webhooks: type: string enum: - started - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -225924,17 +225928,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *664 + enterprise: *670 inputs: type: - object - 'null' additionalProperties: true - installation: *665 - organization: *666 + installation: *671 + organization: *672 ref: type: string - repository: *667 + repository: *673 sender: *4 workflow: type: string @@ -226016,10 +226020,10 @@ webhooks: type: string enum: - completed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 workflow_job: allOf: @@ -226275,7 +226279,7 @@ webhooks: type: string required: - conclusion - deployment: *442 + deployment: *448 required: - action - repository @@ -226354,10 +226358,10 @@ webhooks: type: string enum: - in_progress - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 workflow_job: allOf: @@ -226639,7 +226643,7 @@ webhooks: required: - status - steps - deployment: *442 + deployment: *448 required: - action - repository @@ -226718,10 +226722,10 @@ webhooks: type: string enum: - queued - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 workflow_job: type: object @@ -226867,7 +226871,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *442 + deployment: *448 required: - action - repository @@ -226946,10 +226950,10 @@ webhooks: type: string enum: - waiting - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 workflow_job: type: object @@ -227096,7 +227100,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *442 + deployment: *448 required: - action - repository @@ -227176,12 +227180,12 @@ webhooks: type: string enum: - completed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: *686 + workflow: *692 workflow_run: title: Workflow Run type: object @@ -228200,12 +228204,12 @@ webhooks: type: string enum: - in_progress - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: *686 + workflow: *692 workflow_run: title: Workflow Run type: object @@ -229209,12 +229213,12 @@ webhooks: type: string enum: - requested - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: *686 + workflow: *692 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 a3d789779..eaa4210d8 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -68128,6 +68128,313 @@ "deprecated": true } }, + "/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.\n\n**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/enterprise-cloud@latest//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/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-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, `2024`. 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`.", + "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`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + }, + { + "name": "hour", + "description": "If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`.", + "in": "query", + "required": false, + "schema": { + "type": "integer" + } + } + ], + "responses": { + "200": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "usageItems": { + "type": "array", + "items": { + "type": "object", + "properties": { + "date": { + "type": "string", + "description": "Date of the usage line item." + }, + "product": { + "type": "string", + "description": "Product name." + }, + "sku": { + "type": "string", + "description": "SKU name." + }, + "quantity": { + "type": "integer", + "description": "Quantity of the usage line item." + }, + "unitType": { + "type": "string", + "description": "Unit type of the usage line item." + }, + "pricePerUnit": { + "type": "number", + "description": "Price per unit of the usage line item." + }, + "grossAmount": { + "type": "number", + "description": "Gross amount of the usage line item." + }, + "discountAmount": { + "type": "number", + "description": "Discount amount of the usage line item." + }, + "netAmount": { + "type": "number", + "description": "Net amount of the usage line item." + }, + "organizationName": { + "type": "string", + "description": "Name of the organization." + }, + "repositoryName": { + "type": "string", + "description": "Name of the repository." + } + }, + "required": [ + "date", + "product", + "sku", + "quantity", + "unitType", + "pricePerUnit", + "grossAmount", + "discountAmount", + "netAmount", + "organizationName" + ] + } + } + } + }, + "examples": { + "default": { + "value": { + "usageItems": [ + { + "date": "2023-08-01", + "product": "Actions", + "sku": "Actions Linux", + "quantity": 100, + "unitType": "minutes", + "pricePerUnit": 0.008, + "grossAmount": 0.8, + "discountAmount": 0, + "netAmount": 0.8, + "organizationName": "GitHub", + "repositoryName": "github/example" + } + ] + } + } + } + } + } + }, + "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" + } + } + } + } + } + }, + "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" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -510559,7 +510866,7 @@ "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", + "description": "Lists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", "operationId": "enterprise-admin/list-provisioned-groups-enterprise", "tags": [ "enterprise-admin", @@ -511174,7 +511481,7 @@ }, "post": { "summary": "Provision a SCIM enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nCreates a SCIM group for an enterprise.\n\nWhen members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user.", + "description": "Creates a SCIM group for an enterprise.\n\nWhen members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user.", "operationId": "enterprise-admin/provision-enterprise-group", "tags": [ "enterprise-admin" @@ -511759,7 +512066,7 @@ "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nGets information about a SCIM group.", + "description": "Gets information about a SCIM group.", "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-group", "tags": [ "enterprise-admin" @@ -512306,7 +512613,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nReplaces an existing provisioned group’s information.\n\nYou must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.", + "description": "Replaces an existing provisioned group’s information.\n\nYou must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-group", "tags": [ "enterprise-admin" @@ -512976,7 +513283,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nUpdate a provisioned group’s individual attributes.\n\nTo modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships.\n\nYou can submit group memberships individually or in batches for improved efficiency.\n\n> [!NOTE]\n> Memberships are referenced via a local user id. Ensure users are created before referencing them here.", + "description": "Update a provisioned group’s individual attributes.\n\nTo modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships.\n\nYou can submit group memberships individually or in batches for improved efficiency.\n\n> [!NOTE]\n> Memberships are referenced via a local user id. Ensure users are created before referencing them here.", "operationId": "enterprise-admin/update-attribute-for-enterprise-group", "tags": [ "enterprise-admin" @@ -513636,7 +513943,7 @@ }, "delete": { "summary": "Delete a SCIM group from an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning using the REST API is in public preview and subject to change.\n\nDeletes a SCIM group from an enterprise.", + "description": "Deletes a SCIM group from an enterprise.", "operationId": "enterprise-admin/delete-scim-group-from-enterprise", "tags": [ "enterprise-admin" @@ -513983,7 +514290,7 @@ "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", + "description": "Lists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", "operationId": "enterprise-admin/list-provisioned-identities-enterprise", "tags": [ "enterprise-admin" @@ -514675,7 +514982,7 @@ }, "post": { "summary": "Provision a SCIM enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nCreates an external identity for a new SCIM enterprise user.\n\nSCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML.", + "description": "Creates an external identity for a new SCIM enterprise user.\n\nSCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML.", "operationId": "enterprise-admin/provision-enterprise-user", "tags": [ "enterprise-admin" @@ -515551,7 +515858,7 @@ "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nGets information about a SCIM user.", + "description": "Gets information about a SCIM user.", "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-user", "tags": [ "enterprise-admin" @@ -516179,7 +516486,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nReplaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", + "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-user", "tags": [ "enterprise-admin" @@ -517020,7 +517327,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nUpdate a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", + "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", "operationId": "enterprise-admin/update-attribute-for-enterprise-user", "tags": [ "enterprise-admin" @@ -517834,7 +518141,7 @@ }, "delete": { "summary": "Delete a SCIM user from an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning using the REST API is in public preview and subject to change.\n\nSuspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible.", + "description": "Suspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible.", "operationId": "enterprise-admin/delete-user-from-enterprise", "tags": [ "enterprise-admin" diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 098c96d76..17be690e6 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &277 + type: &283 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &132 + schema: &138 title: Validation Error Simple description: Validation Error Simple type: object @@ -1062,7 +1062,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: - - &578 + - &584 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1593,7 +1593,7 @@ paths: schema: type: integer default: 30 - - &201 + - &207 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 @@ -1609,7 +1609,7 @@ paths: application/json: schema: type: array - items: &202 + items: &208 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1702,7 +1702,7 @@ paths: - installation_id - repository_id examples: - default: &203 + default: &209 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &588 + schema: &594 title: Scim Error description: Scim Error type: object @@ -1765,7 +1765,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &131 + schema: &137 title: Validation Error description: Validation Error type: object @@ -1837,7 +1837,7 @@ paths: description: Response content: application/json: - schema: &204 + schema: &210 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1972,7 +1972,7 @@ paths: - request - response examples: - default: &205 + default: &211 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2032,7 +2032,7 @@ paths: parameters: - *16 responses: - '202': &134 + '202': &140 description: Accepted content: application/json: @@ -7598,7 +7598,7 @@ paths: description: Response content: application/json: - schema: &135 + schema: &141 type: object properties: total_active_caches_count: @@ -7613,7 +7613,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &136 + default: &142 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7708,7 +7708,7 @@ paths: - all - local_only - selected - selected_actions_url: &139 + selected_actions_url: &145 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` @@ -8089,7 +8089,7 @@ paths: description: Success response content: application/json: - schema: &142 + schema: &148 type: object properties: default_workflow_permissions: &44 @@ -8137,7 +8137,7 @@ paths: required: true content: application/json: - schema: &143 + schema: &149 type: object properties: default_workflow_permissions: *44 @@ -8966,7 +8966,7 @@ paths: application/json: schema: type: array - items: &147 + items: &153 title: Runner Application description: Runner Application type: object @@ -8991,7 +8991,7 @@ paths: - download_url - filename examples: - default: &148 + default: &154 value: - os: osx architecture: x64 @@ -9075,7 +9075,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &149 + '201': &155 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: - token - expires_at examples: - default: &150 + default: &156 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9229,7 +9229,7 @@ paths: application/json: schema: *56 examples: - default: &151 + default: &157 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9261,7 +9261,7 @@ paths: application/json: schema: *53 examples: - default: &152 + default: &158 value: id: 23 name: MBP @@ -9475,7 +9475,7 @@ paths: - *38 - *52 responses: - '200': &153 + '200': &159 description: Response content: application/json: @@ -9531,7 +9531,7 @@ paths: parameters: - *38 - *52 - - &154 + - &160 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9628,7 +9628,7 @@ paths: required: true content: application/json: - schema: &161 + schema: &167 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9699,7 +9699,7 @@ paths: required: false schema: type: string - - &162 + - &168 name: include description: |- The event types to include: @@ -9717,7 +9717,7 @@ paths: - web - git - all - - &163 + - &169 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. @@ -9725,7 +9725,7 @@ paths: required: false schema: type: string - - &164 + - &170 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. @@ -9733,7 +9733,7 @@ paths: required: false schema: type: string - - &165 + - &171 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9755,7 +9755,7 @@ paths: application/json: schema: type: array - items: &166 + items: &172 type: object properties: "@timestamp": @@ -9877,7 +9877,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &167 + default: &173 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10441,7 +10441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &169 + - &175 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`, @@ -10451,7 +10451,7 @@ paths: schema: &77 type: string description: The name of the tool used to generate the code scanning analysis. - - &170 + - &176 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 @@ -10475,7 +10475,7 @@ paths: be returned. in: query required: false - schema: &171 + schema: &177 type: string description: State of a code scanning alert. enum: @@ -10500,7 +10500,7 @@ paths: application/json: schema: type: array - items: &172 + items: &178 type: object properties: number: &81 @@ -10529,7 +10529,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &385 + instances_url: &391 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10565,7 +10565,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &386 + dismissed_reason: &392 type: - string - 'null' @@ -10576,14 +10576,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &387 + dismissed_comment: &393 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &388 + rule: &394 type: object properties: id: @@ -10644,7 +10644,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &389 + tool: &395 type: object properties: name: *77 @@ -10655,15 +10655,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *78 - most_recent_instance: &390 + most_recent_instance: &396 type: object properties: - ref: &383 + ref: &389 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &396 + analysis_key: &402 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10674,7 +10674,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &397 + category: &403 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11058,7 +11058,7 @@ paths: - most_recent_instance - repository examples: - default: &173 + default: &179 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11716,7 +11716,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &179 + items: &185 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11731,7 +11731,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &223 + - &229 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11790,7 +11790,7 @@ paths: parent: anyOf: - type: 'null' - - &236 + - &242 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -11984,7 +11984,7 @@ paths: - created_at additionalProperties: false examples: - default: &180 + default: &186 value: total_seats: 2 seats: @@ -12787,7 +12787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &187 + - &193 name: state in: query description: |- @@ -12796,7 +12796,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &188 + - &194 name: severity in: query description: |- @@ -12805,7 +12805,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &189 + - &195 name: ecosystem in: query description: |- @@ -12814,14 +12814,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &190 + - &196 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 - - &191 + - &197 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12831,7 +12831,7 @@ paths: enum: - development - runtime - - &192 + - &198 name: sort in: query description: |- @@ -12847,7 +12847,7 @@ paths: - *76 - *74 - *75 - - &193 + - &199 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12860,7 +12860,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &194 + - &200 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12880,7 +12880,7 @@ paths: application/json: schema: type: array - items: &195 + items: &201 type: object description: A Dependabot alert. properties: @@ -12932,7 +12932,7 @@ paths: - development - runtime - - security_advisory: &434 + security_advisory: &440 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -13167,7 +13167,7 @@ paths: dismissal. maxLength: 280 fixed_at: *90 - auto_dismissed_at: &435 + auto_dismissed_at: &441 type: - string - 'null' @@ -13194,7 +13194,7 @@ paths: - repository additionalProperties: false examples: - default: &196 + default: &202 value: - number: 2 state: dismissed @@ -13600,7 +13600,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &268 + - &274 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13611,7 +13611,7 @@ paths: enum: - open - resolved - - &269 + - &275 name: secret_type in: query description: |- @@ -13621,7 +13621,7 @@ paths: required: false schema: type: string - - &270 + - &276 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13630,7 +13630,7 @@ paths: required: false schema: type: string - - &271 + - &277 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. @@ -13646,7 +13646,7 @@ paths: - *17 - *74 - *75 - - &272 + - &278 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13655,7 +13655,7 @@ paths: required: false schema: type: string - - &273 + - &279 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13664,7 +13664,7 @@ paths: schema: type: boolean default: false - - &274 + - &280 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13680,7 +13680,7 @@ paths: application/json: schema: type: array - items: &275 + items: &281 type: object properties: number: *81 @@ -13696,14 +13696,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &571 + state: &577 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: &572 + resolution: &578 type: - string - 'null' @@ -13796,7 +13796,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &276 + default: &282 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -14057,7 +14057,7 @@ paths: description: Response content: application/json: - schema: &278 + schema: &284 type: object properties: total_minutes_used: @@ -14127,7 +14127,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &279 + default: &285 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -14165,7 +14165,7 @@ paths: description: Success content: application/json: - schema: &280 + schema: &286 type: object properties: total_advanced_security_committers: @@ -14228,7 +14228,7 @@ paths: required: - repositories examples: - default: &281 + default: &287 value: total_advanced_security_committers: 2 total_count: 2 @@ -14379,7 +14379,7 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': &133 + '409': &139 description: Conflict content: application/json: @@ -14471,7 +14471,7 @@ paths: description: Response content: application/json: - schema: &282 + schema: &288 type: object properties: total_gigabytes_bandwidth_used: @@ -14489,7 +14489,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &283 + default: &289 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14521,7 +14521,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &290 type: object properties: days_left_in_billing_cycle: @@ -14539,7 +14539,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &285 + default: &291 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14564,7 +14564,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *38 - - name: year + - &128 + 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, `2024`. Default value is the current year. @@ -14572,21 +14573,24 @@ paths: required: false schema: type: integer - - name: month + - &129 + name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. in: query required: false schema: type: integer - - name: day + - &130 + name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. in: query required: false schema: type: integer - - name: hour + - &131 + name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. in: query @@ -14605,7 +14609,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: + schema: &132 type: object properties: usageItems: @@ -14658,7 +14662,7 @@ paths: - netAmount - organizationName examples: - default: + default: &133 value: usageItems: - date: '2023-08-01' @@ -14784,7 +14788,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &235 + - &241 name: team_slug description: The slug of the team name. in: path @@ -14824,7 +14828,7 @@ paths: type: array items: *97 examples: - default: &181 + default: &187 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -15158,7 +15162,7 @@ paths: milestone: anyOf: - type: 'null' - - &422 + - &428 title: Milestone description: A collection of related issues and pull requests. @@ -15408,7 +15412,7 @@ paths: - author_association - created_at - updated_at - comment: &481 + comment: &487 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15981,7 +15985,7 @@ paths: url: type: string format: uri - user: &627 + user: &633 title: Public User description: Public User type: object @@ -17871,7 +17875,7 @@ paths: - closed - all default: open - - &224 + - &230 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17922,7 +17926,7 @@ paths: type: array items: *112 examples: - default: &225 + default: &231 value: - id: 1 node_id: MDU6SXNzdWUx @@ -19318,14 +19322,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: - - &305 + - &311 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &306 + - &312 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19396,7 +19400,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &319 + '301': &325 description: Moved permanently content: application/json: @@ -19418,7 +19422,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &509 + - &515 name: all description: If `true`, show notifications marked as read. in: query @@ -19426,7 +19430,7 @@ paths: schema: type: boolean default: false - - &510 + - &516 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19436,7 +19440,7 @@ paths: type: boolean default: false - *102 - - &511 + - &517 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: @@ -19468,7 +19472,7 @@ paths: properties: id: type: string - repository: &146 + repository: &152 title: Minimal Repository description: Minimal Repository type: object @@ -19807,7 +19811,7 @@ paths: type: boolean examples: - false - security_and_analysis: &257 + security_and_analysis: &263 type: - object - 'null' @@ -19962,7 +19966,7 @@ paths: - url - subscription_url examples: - default: &512 + default: &518 value: - id: '1' repository: @@ -20515,7 +20519,7 @@ paths: type: array items: *50 examples: - default: &644 + default: &650 value: - login: github id: 1 @@ -20580,7 +20584,7 @@ paths: - 3 custom_roles: type: array - items: &182 + items: &188 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20629,7 +20633,7 @@ paths: - created_at - updated_at examples: - default: &183 + default: &189 value: id: 8030 name: Security Engineer @@ -20661,6 +20665,48 @@ paths: category: orgs subcategory: custom-roles deprecated: true + "/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/enterprise-cloud@latest//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/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + parameters: + - &134 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + - *128 + - *129 + - *130 + - *131 + responses: + '200': + description: Billing usage report response for an organization + content: + application/json: + schema: *132 + examples: + default: *133 + '400': *14 + '403': *27 + '500': *80 + '503': *92 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -20681,19 +20727,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - &128 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *134 responses: '200': description: Response content: application/json: - schema: &129 + schema: &135 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -21063,7 +21103,7 @@ paths: - updated_at - archived_at examples: - default-response: &130 + default-response: &136 value: login: github id: 1 @@ -21156,7 +21196,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *128 + - *134 requestBody: required: false content: @@ -21380,18 +21420,18 @@ paths: description: Response content: application/json: - schema: *129 + schema: *135 examples: - default: *130 + default: *136 '422': description: Validation failed content: application/json: schema: oneOf: - - *131 - - *132 - '409': *133 + - *137 + - *138 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21414,9 +21454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *128 + - *134 responses: - '202': *134 + '202': *140 '404': *6 '403': *27 x-github: @@ -21439,15 +21479,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *135 + schema: *141 examples: - default: *136 + default: *142 headers: Link: *37 x-github: @@ -21470,7 +21510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -21488,7 +21528,7 @@ paths: type: integer repository_cache_usages: type: array - items: &324 + items: &330 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21546,13 +21586,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *128 + - *134 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &137 + schema: &143 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -21566,7 +21606,7 @@ paths: required: - include_claim_keys examples: - default: &138 + default: &144 value: include_claim_keys: - repo @@ -21588,20 +21628,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: application/json: - schema: *137 + schema: *143 examples: - default: *138 + default: *144 responses: '201': description: Empty response content: application/json: - schema: &157 + schema: &163 title: Empty Object description: An object without any properties. type: object @@ -21631,7 +21671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -21640,7 +21680,7 @@ paths: schema: type: object properties: - enabled_repositories: &140 + enabled_repositories: &146 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21654,7 +21694,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *40 - selected_actions_url: *139 + selected_actions_url: *145 required: - enabled_repositories examples: @@ -21683,7 +21723,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -21694,7 +21734,7 @@ paths: schema: type: object properties: - enabled_repositories: *140 + enabled_repositories: *146 allowed_actions: *40 required: - enabled_repositories @@ -21722,7 +21762,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -21742,7 +21782,7 @@ paths: type: array items: *55 examples: - default: &638 + default: &644 value: total_count: 1 repositories: @@ -21882,7 +21922,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -21926,8 +21966,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *128 - - &141 + - *134 + - &147 name: repository_id description: The unique identifier of the repository. in: path @@ -21955,8 +21995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *128 - - *141 + - *134 + - *147 responses: '204': description: Response @@ -21979,7 +22019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -22010,7 +22050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -22042,13 +22082,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *142 + schema: *148 examples: default: *46 x-github: @@ -22071,7 +22111,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *128 + - *134 responses: '204': description: Success response @@ -22082,7 +22122,7 @@ paths: required: false content: application/json: - schema: *143 + schema: *149 examples: default: *46 x-github: @@ -22104,7 +22144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *128 + - *134 - *17 - *18 - name: visible_to_repository @@ -22129,7 +22169,7 @@ paths: type: number runner_groups: type: array - items: &144 + items: &150 type: object properties: id: @@ -22242,7 +22282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: @@ -22312,9 +22352,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *150 examples: - default: &145 + default: &151 value: id: 2 name: octo-runner-group @@ -22349,14 +22389,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *128 + - *134 - *49 responses: '200': description: Response content: application/json: - schema: *144 + schema: *150 examples: default: value: @@ -22392,7 +22432,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *128 + - *134 - *49 requestBody: required: true @@ -22444,9 +22484,9 @@ paths: description: Response content: application/json: - schema: *144 + schema: *150 examples: - default: *145 + default: *151 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22465,7 +22505,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *128 + - *134 - *49 responses: '204': @@ -22489,7 +22529,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *128 + - *134 - *49 - *18 - *17 @@ -22508,9 +22548,9 @@ paths: type: number repositories: type: array - items: *146 + items: *152 examples: - default: &630 + default: &636 value: total_count: 1 repositories: @@ -22762,7 +22802,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *128 + - *134 - *49 requestBody: required: true @@ -22807,9 +22847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *128 + - *134 - *49 - - *141 + - *147 responses: '204': description: Response @@ -22831,9 +22871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *128 + - *134 - *49 - - *141 + - *147 responses: '204': description: Response @@ -22856,7 +22896,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *128 + - *134 - *49 - *17 - *18 @@ -22898,7 +22938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *128 + - *134 - *49 requestBody: required: true @@ -22943,7 +22983,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *128 + - *134 - *49 - *52 responses: @@ -22967,7 +23007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *128 + - *134 - *49 - *52 responses: @@ -22999,7 +23039,7 @@ paths: in: query schema: type: string - - *128 + - *134 - *17 - *18 responses: @@ -23043,7 +23083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -23051,9 +23091,9 @@ paths: application/json: schema: type: array - items: *147 + items: *153 examples: - default: *148 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23075,7 +23115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: @@ -23118,7 +23158,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *149 + '201': *155 '404': *6 '422': *7 x-github: @@ -23148,7 +23188,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *128 + - *134 responses: '201': description: Response @@ -23156,7 +23196,7 @@ paths: application/json: schema: *56 examples: - default: *150 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23184,7 +23224,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *128 + - *134 responses: '201': description: Response @@ -23192,7 +23232,7 @@ paths: application/json: schema: *56 examples: - default: *151 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23214,7 +23254,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 responses: '200': @@ -23223,7 +23263,7 @@ paths: application/json: schema: *53 examples: - default: *152 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23244,7 +23284,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *128 + - *134 - *52 responses: '204': @@ -23270,7 +23310,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 responses: '200': *58 @@ -23295,7 +23335,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 requestBody: required: true @@ -23344,7 +23384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 requestBody: required: true @@ -23394,10 +23434,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 responses: - '200': *153 + '200': *159 '404': *6 x-github: githubCloudOnly: false @@ -23424,9 +23464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *128 + - *134 - *52 - - *154 + - *160 responses: '200': *58 '404': *6 @@ -23453,7 +23493,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *128 + - *134 - *17 - *18 responses: @@ -23471,7 +23511,7 @@ paths: type: integer secrets: type: array - items: &155 + items: &161 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23546,13 +23586,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: &344 + schema: &350 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23587,7 +23627,7 @@ paths: - key_id - key examples: - default: &345 + default: &351 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23612,8 +23652,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *128 - - &156 + - *134 + - &162 name: secret_name description: The name of the secret. in: path @@ -23625,7 +23665,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *161 examples: default: value: @@ -23655,8 +23695,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -23711,7 +23751,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -23737,8 +23777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '204': description: Response @@ -23764,8 +23804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - *18 - *17 responses: @@ -23783,9 +23823,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: &160 + default: &166 value: total_count: 1 repositories: @@ -23877,8 +23917,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -23930,8 +23970,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -23964,8 +24004,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -23997,8 +24037,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *128 - - &329 + - *134 + - &335 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)." @@ -24022,7 +24062,7 @@ paths: type: integer variables: type: array - items: &158 + items: &164 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24112,7 +24152,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *128 + - *134 requestBody: required: true content: @@ -24160,7 +24200,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -24185,8 +24225,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *128 - - &159 + - *134 + - &165 name: name description: The name of the variable. in: path @@ -24198,7 +24238,7 @@ paths: description: Response content: application/json: - schema: *158 + schema: *164 examples: default: value: @@ -24228,8 +24268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 requestBody: required: true content: @@ -24291,8 +24331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 responses: '204': description: Response @@ -24318,8 +24358,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 - *18 - *17 responses: @@ -24337,9 +24377,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: *160 + default: *166 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24365,8 +24405,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 requestBody: required: true content: @@ -24415,8 +24455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 - name: repository_id in: path required: true @@ -24450,8 +24490,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *128 - - *159 + - *134 + - *165 - name: repository_id in: path required: true @@ -24482,7 +24522,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -24509,11 +24549,11 @@ paths: required: true content: application/json: - schema: *161 + schema: *167 examples: default: *61 parameters: - - *128 + - *134 responses: '200': description: Response @@ -24537,7 +24577,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -24565,7 +24605,7 @@ paths: - *17 - *74 - *75 - - *128 + - *134 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24606,7 +24646,7 @@ paths: repository_id: type: integer examples: - default: &358 + default: &364 value: attestations: - bundle: @@ -24724,7 +24764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *128 + - *134 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -24732,10 +24772,10 @@ paths: required: false schema: type: string - - *162 - - *163 - - *164 - - *165 + - *168 + - *169 + - *170 + - *171 - *17 responses: '200': @@ -24744,9 +24784,9 @@ paths: application/json: schema: type: array - items: *166 + items: *172 examples: - default: *167 + default: *173 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24763,7 +24803,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -24775,7 +24815,7 @@ paths: type: array items: *4 examples: - default: &226 + default: &232 value: - login: octocat id: 1 @@ -24813,8 +24853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *128 - - &168 + - *134 + - &174 name: username description: The handle for the GitHub user account. in: path @@ -24845,8 +24885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -24866,8 +24906,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -24892,9 +24932,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *128 - - *169 - - *170 + - *134 + - *175 + - *176 - *74 - *75 - *18 @@ -24905,7 +24945,7 @@ paths: be returned. in: query required: false - schema: *171 + schema: *177 - name: sort description: The property by which to sort the results. in: query @@ -24921,7 +24961,7 @@ paths: be returned. in: query required: false - schema: &384 + schema: &390 type: string description: Severity of a code scanning alert. enum: @@ -24939,9 +24979,9 @@ paths: application/json: schema: type: array - items: *172 + items: *178 examples: - default: *173 + default: *179 headers: Link: *37 '404': *6 @@ -24967,7 +25007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *128 + - *134 - name: target_type in: query description: The target type of the code security configuration @@ -24995,7 +25035,7 @@ paths: application/json: schema: type: array - items: &174 + items: &180 type: object description: A code security configuration properties: @@ -25234,7 +25274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *128 + - *134 requestBody: required: true content: @@ -25406,9 +25446,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *174 + schema: *180 examples: - default: &175 + default: &181 value: id: 1325 target_type: organization @@ -25454,7 +25494,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *128 + - *134 responses: '200': description: Response @@ -25474,7 +25514,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *174 + configuration: *180 examples: default: value: @@ -25558,7 +25598,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *128 + - *134 requestBody: required: true content: @@ -25581,12 +25621,12 @@ paths: - 32 - 91 responses: - '204': &177 + '204': &183 description: A header with no content is returned. '400': *14 '403': *27 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25608,8 +25648,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *128 - - &176 + - *134 + - &182 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -25621,9 +25661,9 @@ paths: description: Response content: application/json: - schema: *174 + schema: *180 examples: - default: *175 + default: *181 '304': *35 '403': *27 '404': *6 @@ -25647,8 +25687,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *128 - - *176 + - *134 + - *182 requestBody: required: true content: @@ -25800,7 +25840,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *174 + schema: *180 examples: default: value: @@ -25851,14 +25891,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *128 - - *176 + - *134 + - *182 responses: - '204': *177 + '204': *183 '400': *14 '403': *27 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25882,8 +25922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *128 - - *176 + - *134 + - *182 requestBody: required: true content: @@ -25922,7 +25962,7 @@ paths: - 32 - 91 responses: - '202': *134 + '202': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25946,8 +25986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *128 - - *176 + - *134 + - *182 requestBody: required: true content: @@ -25987,12 +26027,12 @@ paths: - none - private_and_internal - public - configuration: *174 + configuration: *180 examples: default: value: default_for_new_repos: all - configuration: *175 + configuration: *181 '403': *27 '404': *6 x-github: @@ -26016,8 +26056,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *128 - - *176 + - *134 + - *182 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -26160,7 +26200,7 @@ paths: parameters: - *17 - *18 - - *128 + - *134 responses: '200': description: Response @@ -26176,7 +26216,7 @@ paths: type: integer codespaces: type: array - items: &227 + items: &233 type: object title: Codespace description: A codespace. @@ -26207,11 +26247,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *146 + repository: *152 machine: anyOf: - type: 'null' - - &410 + - &416 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26498,7 +26538,7 @@ paths: - pulls_url - recent_folders examples: - default: &228 + default: &234 value: total_count: 3 codespaces: @@ -26930,7 +26970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *128 + - *134 deprecated: true requestBody: required: true @@ -26997,7 +27037,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *128 + - *134 deprecated: true requestBody: required: true @@ -27052,7 +27092,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *128 + - *134 requestBody: required: true content: @@ -27104,7 +27144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *128 + - *134 - *17 - *18 responses: @@ -27122,7 +27162,7 @@ paths: type: integer secrets: type: array - items: &178 + items: &184 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27163,7 +27203,7 @@ paths: - updated_at - visibility examples: - default: &411 + default: &417 value: total_count: 2 secrets: @@ -27195,13 +27235,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: &412 + schema: &418 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27236,7 +27276,7 @@ paths: - key_id - key examples: - default: &413 + default: &419 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27259,16 +27299,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '200': description: Response content: application/json: - schema: *178 + schema: *184 examples: - default: &415 + default: &421 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27295,8 +27335,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -27351,7 +27391,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -27377,8 +27417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '204': description: Response @@ -27403,8 +27443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - *18 - *17 responses: @@ -27422,9 +27462,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: *160 + default: *166 '404': *6 x-github: githubCloudOnly: false @@ -27446,8 +27486,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -27497,8 +27537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -27531,8 +27571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -27571,7 +27611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *128 + - *134 responses: '200': description: OK @@ -27714,7 +27754,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *128 + - *134 - *18 - name: per_page description: The number of results per page (max 100). For more information, @@ -27737,9 +27777,9 @@ paths: currently being billed. seats: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 headers: Link: *37 '500': *80 @@ -27777,7 +27817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *128 + - *134 requestBody: content: application/json: @@ -27858,7 +27898,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *128 + - *134 requestBody: content: application/json: @@ -27940,7 +27980,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *128 + - *134 requestBody: content: application/json: @@ -28020,7 +28060,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *128 + - *134 requestBody: content: application/json: @@ -28101,7 +28141,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *128 + - *134 - 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`). @@ -28170,7 +28210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *128 + - *134 - 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`). @@ -28204,7 +28244,7 @@ paths: type: array items: *97 examples: - default: *181 + default: *187 '500': *80 '401': *23 '403': *27 @@ -28230,7 +28270,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *128 + - *134 - *17 - name: page description: Page token @@ -28389,7 +28429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *128 + - *134 - name: credential_id in: path required: true @@ -28420,7 +28460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *128 + - *134 responses: '200': description: Response - list of custom role names @@ -28436,7 +28476,7 @@ paths: - 3 custom_roles: type: array - items: *182 + items: *188 examples: default: value: @@ -28523,12 +28563,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *128 + - *134 requestBody: required: true content: application/json: - schema: &185 + schema: &191 type: object properties: name: @@ -28570,9 +28610,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '422': *15 '404': *6 x-github: @@ -28596,8 +28636,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *128 - - &184 + - *134 + - &190 name: role_id description: The unique identifier of the role. in: path @@ -28609,9 +28649,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '404': *6 x-github: githubCloudOnly: true @@ -28633,13 +28673,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *128 - - *184 + - *134 + - *190 requestBody: required: true content: application/json: - schema: &186 + schema: &192 type: object properties: name: @@ -28678,9 +28718,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '422': *15 '404': *6 x-github: @@ -28704,8 +28744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '204': description: Response @@ -28733,12 +28773,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *128 + - *134 requestBody: required: true content: application/json: - schema: *185 + schema: *191 examples: default: value: @@ -28752,9 +28792,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '422': *15 '404': *6 x-github: @@ -28784,16 +28824,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '200': description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '404': *6 x-github: githubCloudOnly: true @@ -28821,13 +28861,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *128 - - *184 + - *134 + - *190 requestBody: required: true content: application/json: - schema: *186 + schema: *192 examples: default: value: @@ -28842,9 +28882,9 @@ paths: description: Response content: application/json: - schema: *182 + schema: *188 examples: - default: *183 + default: *189 '422': *15 '404': *6 x-github: @@ -28874,8 +28914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '204': description: Response @@ -28903,18 +28943,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *128 - - *187 - - *188 - - *189 - - *190 - - *191 - - *192 + - *134 + - *193 + - *194 + - *195 + - *196 + - *197 + - *198 - *76 - *74 - *75 - - *193 - - *194 + - *199 + - *200 - *17 responses: '200': @@ -28923,9 +28963,9 @@ paths: application/json: schema: type: array - items: *195 + items: *201 examples: - default: *196 + default: *202 '304': *35 '400': *14 '403': *27 @@ -28951,7 +28991,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *128 + - *134 - *17 - *18 responses: @@ -28969,7 +29009,7 @@ paths: type: integer secrets: type: array - items: &197 + items: &203 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29042,13 +29082,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: &438 + schema: &444 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29067,7 +29107,7 @@ paths: - key_id - key examples: - default: &439 + default: &445 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29090,14 +29130,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '200': description: Response content: application/json: - schema: *197 + schema: *203 examples: default: value: @@ -29125,8 +29165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -29181,7 +29221,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -29205,8 +29245,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 responses: '204': description: Response @@ -29230,8 +29270,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - *18 - *17 responses: @@ -29249,9 +29289,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: *160 + default: *166 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29272,8 +29312,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 requestBody: required: true content: @@ -29323,8 +29363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -29355,8 +29395,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *128 - - *156 + - *134 + - *162 - name: repository_id in: path required: true @@ -29386,7 +29426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -29394,7 +29434,7 @@ paths: application/json: schema: type: array - items: &238 + items: &244 title: Package description: A software package type: object @@ -29447,7 +29487,7 @@ paths: repository: anyOf: - type: 'null' - - *146 + - *152 created_at: type: string format: date-time @@ -29465,7 +29505,7 @@ paths: - created_at - updated_at examples: - default: &239 + default: &245 value: - id: 197 name: hello_docker @@ -29543,7 +29583,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *128 + - *134 - *17 - *18 responses: @@ -29623,7 +29663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *128 + - *134 - name: group_id description: The unique identifier of the group. in: path @@ -29649,7 +29689,7 @@ paths: description: Response content: application/json: - schema: &300 + schema: &306 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29739,7 +29779,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &301 + default: &307 value: group_id: '123' group_name: Octocat admins @@ -29777,7 +29817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *128 + - *134 - *17 - name: page description: Page token @@ -29794,7 +29834,7 @@ paths: description: Response content: application/json: - schema: &298 + schema: &304 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29834,7 +29874,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &299 + default: &305 value: groups: - group_id: '123' @@ -29868,7 +29908,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *128 + - *134 - *17 - *18 responses: @@ -29878,7 +29918,7 @@ paths: application/json: schema: type: array - items: &220 + items: &226 title: Organization Invitation description: Organization Invitation type: object @@ -29932,7 +29972,7 @@ paths: - invitation_teams_url - node_id examples: - default: &221 + default: &227 value: - id: 1 login: monalisa @@ -29991,7 +30031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -29999,7 +30039,7 @@ paths: application/json: schema: type: array - items: &258 + items: &264 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -30013,7 +30053,7 @@ paths: - name - description examples: - default: &259 + default: &265 value: - name: add_assignee description: Assign or remove a user @@ -30044,7 +30084,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *128 + - *134 - *17 - *18 responses: @@ -30054,7 +30094,7 @@ paths: application/json: schema: type: array - items: &198 + items: &204 title: Org Hook description: Org Hook type: object @@ -30175,7 +30215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *128 + - *134 requestBody: required: true content: @@ -30237,9 +30277,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *204 examples: - default: &199 + default: &205 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30283,8 +30323,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *128 - - &200 + - *134 + - &206 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. @@ -30297,9 +30337,9 @@ paths: description: Response content: application/json: - schema: *198 + schema: *204 examples: - default: *199 + default: *205 '404': *6 x-github: githubCloudOnly: false @@ -30320,8 +30360,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 requestBody: required: false content: @@ -30367,7 +30407,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *204 examples: default: value: @@ -30406,8 +30446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 responses: '204': description: Response @@ -30432,8 +30472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *128 - - *200 + - *134 + - *206 responses: '200': description: Response @@ -30461,8 +30501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *128 - - *200 + - *134 + - *206 requestBody: required: false content: @@ -30510,10 +30550,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 - *17 - - *201 + - *207 responses: '200': description: Response @@ -30521,9 +30561,9 @@ paths: application/json: schema: type: array - items: *202 + items: *208 examples: - default: *203 + default: *209 '400': *14 '422': *15 x-github: @@ -30546,17 +30586,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *205 + default: *211 '400': *14 '422': *15 x-github: @@ -30579,11 +30619,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 - *16 responses: - '202': *134 + '202': *140 '400': *14 '422': *15 x-github: @@ -30606,8 +30646,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *128 - - *200 + - *134 + - *206 responses: '204': description: Response @@ -30629,8 +30669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *128 - - &210 + - *134 + - &216 name: actor_type in: path description: The type of the actor @@ -30643,14 +30683,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &211 + - &217 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &206 + - &212 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`.' @@ -30658,7 +30698,7 @@ paths: required: true schema: type: string - - &207 + - &213 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) @@ -30745,13 +30785,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *128 - - *206 - - *207 + - *134 + - *212 + - *213 - *18 - *17 - *76 - - &216 + - &222 name: sort description: The property to sort the results by. in: query @@ -30823,15 +30863,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *128 - - *206 - - *207 + - *134 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: &208 + schema: &214 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30847,7 +30887,7 @@ paths: type: integer format: int64 examples: - default: &209 + default: &215 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30867,24 +30907,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *128 - - &212 + - *134 + - &218 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *206 - - *207 + - *212 + - *213 responses: '200': description: Response content: application/json: - schema: *208 + schema: *214 examples: - default: *209 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -30902,19 +30942,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *128 - - *206 - - *207 - - *210 - - *211 + - *134 + - *212 + - *213 + - *216 + - *217 responses: '200': description: Response content: application/json: - schema: *208 + schema: *214 examples: - default: *209 + default: *215 x-github: enabledForGitHubApps: true category: orgs @@ -30931,10 +30971,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *128 - - *206 - - *207 - - &213 + - *134 + - *212 + - *213 + - &219 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30947,7 +30987,7 @@ paths: description: Response content: application/json: - schema: &214 + schema: &220 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30963,7 +31003,7 @@ paths: type: integer format: int64 examples: - default: &215 + default: &221 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30999,19 +31039,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *128 + - *134 + - *218 - *212 - - *206 - - *207 - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -31028,20 +31068,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *128 - - *210 - - *211 - - *206 - - *207 + - *134 + - *216 + - *217 + - *212 - *213 + - *219 responses: '200': description: Response content: application/json: - schema: *214 + schema: *220 examples: - default: *215 + default: *221 x-github: enabledForGitHubApps: true category: orgs @@ -31058,14 +31098,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *128 + - *134 + - *218 - *212 - - *206 - - *207 + - *213 - *18 - *17 - *76 - - *216 + - *222 responses: '200': description: Response @@ -31134,7 +31174,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *128 + - *134 responses: '200': description: Response @@ -31142,7 +31182,7 @@ paths: application/json: schema: *20 examples: - default: &477 + default: &483 value: id: 1 account: @@ -31211,7 +31251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -31300,7 +31340,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -31308,12 +31348,12 @@ paths: application/json: schema: anyOf: - - &218 + - &224 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &217 + limit: &223 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31341,7 +31381,7 @@ paths: properties: {} additionalProperties: false examples: - default: &219 + default: &225 value: limit: collaborators_only origin: organization @@ -31365,18 +31405,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: application/json: - schema: &478 + schema: &484 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *217 + limit: *223 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31401,9 +31441,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *224 examples: - default: *219 + default: *225 '422': *15 x-github: githubCloudOnly: false @@ -31421,7 +31461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *128 + - *134 responses: '204': description: Response @@ -31447,7 +31487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *128 + - *134 - *17 - *18 - name: role @@ -31481,9 +31521,9 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: - default: *221 + default: *227 headers: Link: *37 '404': *6 @@ -31507,7 +31547,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *128 + - *134 requestBody: required: false content: @@ -31561,7 +31601,7 @@ paths: description: Response content: application/json: - schema: *220 + schema: *226 examples: default: value: @@ -31617,8 +31657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *128 - - &222 + - *134 + - &228 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31651,8 +31691,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *128 - - *222 + - *134 + - *228 - *17 - *18 responses: @@ -31662,9 +31702,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: &237 + default: &243 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31709,7 +31749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *128 + - *134 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31739,7 +31779,7 @@ paths: - closed - all default: open - - *224 + - *230 - name: sort description: What to sort results by. in: query @@ -31764,7 +31804,7 @@ paths: type: array items: *112 examples: - default: *225 + default: *231 headers: Link: *37 '404': *6 @@ -31786,7 +31826,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *128 + - *134 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31822,7 +31862,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '422': *15 @@ -31842,8 +31882,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response if requester is an organization member and user is @@ -31874,8 +31914,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -31901,8 +31941,8 @@ paths: parameters: - *17 - *18 - - *128 - - *168 + - *134 + - *174 responses: '200': description: Response @@ -31918,9 +31958,9 @@ paths: type: integer codespaces: type: array - items: *227 + items: *233 examples: - default: *228 + default: *234 '304': *35 '500': *80 '401': *23 @@ -31945,9 +31985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *128 - - *168 - - &229 + - *134 + - *174 + - &235 name: codespace_name in: path required: true @@ -31955,7 +31995,7 @@ paths: schema: type: string responses: - '202': *134 + '202': *140 '304': *35 '500': *80 '401': *23 @@ -31980,17 +32020,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *128 - - *168 - - *229 + - *134 + - *174 + - *235 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: &409 + default: &415 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32163,14 +32203,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *179 + schema: *185 examples: default: value: @@ -32238,14 +32278,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '200': description: Response content: application/json: - schema: &230 + schema: &236 title: Org Membership description: Org Membership type: object @@ -32298,7 +32338,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &231 + response-if-user-has-an-active-admin-membership-with-organization: &237 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32366,8 +32406,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 requestBody: required: false content: @@ -32395,9 +32435,9 @@ paths: description: Response content: application/json: - schema: *230 + schema: *236 examples: - response-if-user-already-had-membership-with-organization: *231 + response-if-user-already-had-membership-with-organization: *237 '422': *15 '403': *27 x-github: @@ -32418,8 +32458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -32444,7 +32484,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *128 + - *134 - *17 - *18 - name: exclude @@ -32466,7 +32506,7 @@ paths: application/json: schema: type: array - items: &232 + items: &238 title: Migration description: A migration. type: object @@ -32723,7 +32763,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *128 + - *134 requestBody: required: true content: @@ -32804,7 +32844,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -32982,8 +33022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *128 - - &233 + - *134 + - &239 name: migration_id description: The unique identifier of the migration. in: path @@ -33011,7 +33051,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -33180,8 +33220,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *128 - - *233 + - *134 + - *239 responses: '302': description: Response @@ -33202,8 +33242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *128 - - *233 + - *134 + - *239 responses: '204': description: Response @@ -33226,9 +33266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *128 - - *233 - - &643 + - *134 + - *239 + - &649 name: repo_name description: repo_name parameter in: path @@ -33255,8 +33295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *128 - - *233 + - *134 + - *239 - *17 - *18 responses: @@ -33266,9 +33306,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: &244 + default: &250 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33407,7 +33447,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -33461,7 +33501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response - list of organization roles @@ -33477,7 +33517,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &234 + items: &240 title: Organization Role description: Organization roles type: object @@ -33639,7 +33679,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *128 + - *134 requestBody: required: true content: @@ -33686,7 +33726,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *240 examples: default: value: @@ -33715,7 +33755,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33737,8 +33777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -33763,9 +33803,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *128 - - *235 - - *184 + - *134 + - *241 + - *190 responses: '204': description: Response @@ -33794,9 +33834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *128 - - *235 - - *184 + - *134 + - *241 + - *190 responses: '204': description: Response @@ -33821,8 +33861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -33847,9 +33887,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *128 - - *168 - - *184 + - *134 + - *174 + - *190 responses: '204': description: Response @@ -33879,9 +33919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *128 - - *168 - - *184 + - *134 + - *174 + - *190 responses: '204': description: Response @@ -33909,14 +33949,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '200': description: Response content: application/json: - schema: *234 + schema: *240 examples: default: value: @@ -33973,8 +34013,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *128 - - *184 + - *134 + - *190 requestBody: required: true content: @@ -34013,7 +34053,7 @@ paths: description: Response content: application/json: - schema: *234 + schema: *240 examples: default: value: @@ -34041,7 +34081,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *133 + '409': *139 '404': *6 x-github: githubCloudOnly: true @@ -34066,8 +34106,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *128 - - *184 + - *134 + - *190 responses: '204': description: Response @@ -34092,8 +34132,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *128 - - *184 + - *134 + - *190 - *17 - *18 responses: @@ -34172,7 +34212,7 @@ paths: parent: anyOf: - type: 'null' - - *236 + - *242 required: - id - node_id @@ -34186,7 +34226,7 @@ paths: - slug - parent examples: - default: *237 + default: *243 headers: Link: *37 '404': @@ -34215,8 +34255,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *128 - - *184 + - *134 + - *190 - *17 - *18 responses: @@ -34245,7 +34285,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *236 + items: *242 name: type: - string @@ -34362,7 +34402,7 @@ paths: - type - url examples: - default: *226 + default: *232 headers: Link: *37 '404': @@ -34386,7 +34426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *128 + - *134 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34410,7 +34450,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -34435,8 +34475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *128 - - *168 + - *134 + - *174 requestBody: required: false content: @@ -34493,8 +34533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -34551,8 +34591,8 @@ paths: - docker - nuget - container - - *128 - - &645 + - *134 + - &651 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34588,12 +34628,12 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: *239 + default: *245 '403': *27 '401': *23 - '400': &647 + '400': &653 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34615,7 +34655,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &240 + - &246 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 @@ -34633,20 +34673,20 @@ paths: - docker - nuget - container - - &241 + - &247 name: package_name description: The name of the package. in: path required: true schema: type: string - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *238 + schema: *244 examples: default: value: @@ -34698,9 +34738,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *240 - - *241 - - *128 + - *246 + - *247 + - *134 responses: '204': description: Response @@ -34732,9 +34772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *240 - - *241 - - *128 + - *246 + - *247 + - *134 - name: token description: package token schema: @@ -34766,9 +34806,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *240 - - *241 - - *128 + - *246 + - *247 + - *134 - *18 - *17 - name: state @@ -34788,7 +34828,7 @@ paths: application/json: schema: type: array - items: &242 + items: &248 title: Package Version description: A version of a software package type: object @@ -34923,10 +34963,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: - - *240 - - *241 - - *128 - - &243 + - *246 + - *247 + - *134 + - &249 name: package_version_id description: Unique identifier of the package version. in: path @@ -34938,7 +34978,7 @@ paths: description: Response content: application/json: - schema: *242 + schema: *248 examples: default: value: @@ -34974,10 +35014,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *240 - - *241 - - *128 - - *243 + - *246 + - *247 + - *134 + - *249 responses: '204': description: Response @@ -35009,10 +35049,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *240 - - *241 - - *128 - - *243 + - *246 + - *247 + - *134 + - *249 responses: '204': description: Response @@ -35039,10 +35079,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *128 + - *134 - *17 - *18 - - &245 + - &251 name: sort description: The property by which to sort the results. in: query @@ -35053,7 +35093,7 @@ paths: - created_at default: created_at - *76 - - &246 + - &252 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35065,7 +35105,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &247 + - &253 name: repository description: The name of the repository to use to filter the results. in: query @@ -35074,7 +35114,7 @@ paths: type: string examples: - Hello-World - - &248 + - &254 name: permission description: The permission to use to filter the results. in: query @@ -35083,7 +35123,7 @@ paths: type: string examples: - issues_read - - &249 + - &255 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) @@ -35093,7 +35133,7 @@ paths: schema: type: string format: date-time - - &250 + - &256 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) @@ -35259,7 +35299,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *128 + - *134 requestBody: required: true content: @@ -35305,7 +35345,7 @@ paths: '422': *15 '404': *6 '403': *27 - '202': *134 + '202': *140 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35326,7 +35366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *128 + - *134 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35367,7 +35407,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *177 + '204': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35388,7 +35428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *128 + - *134 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35408,9 +35448,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -35433,16 +35473,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *128 + - *134 - *17 - *18 - - *245 + - *251 - *76 - - *246 - - *247 - - *248 - - *249 - - *250 + - *252 + - *253 + - *254 + - *255 + - *256 responses: '500': *80 '422': *15 @@ -35593,7 +35633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *128 + - *134 requestBody: required: true content: @@ -35630,7 +35670,7 @@ paths: responses: '500': *80 '404': *6 - '202': *134 + '202': *140 '403': *27 '422': *15 x-github: @@ -35653,7 +35693,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *128 + - *134 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35683,7 +35723,7 @@ paths: responses: '500': *80 '404': *6 - '204': *177 + '204': *183 '403': *27 '422': *15 x-github: @@ -35705,7 +35745,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *128 + - *134 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35724,9 +35764,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -35748,7 +35788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *128 + - *134 - name: state description: Indicates the state of the projects to return. in: query @@ -35769,7 +35809,7 @@ paths: application/json: schema: type: array - items: &251 + items: &257 title: Project description: Projects are a way to organize columns and cards of work. @@ -35922,7 +35962,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *128 + - *134 requestBody: required: true content: @@ -35948,7 +35988,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *257 examples: default: value: @@ -35986,7 +36026,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &316 + '410': &322 description: Gone content: application/json: @@ -36010,7 +36050,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -36018,7 +36058,7 @@ paths: application/json: schema: type: array - items: &252 + items: &258 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -36094,7 +36134,7 @@ paths: - property_name - value_type examples: - default: &253 + default: &259 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36138,7 +36178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *128 + - *134 requestBody: required: true content: @@ -36149,7 +36189,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *252 + items: *258 minItems: 1 maxItems: 100 required: @@ -36179,9 +36219,9 @@ paths: application/json: schema: type: array - items: *252 + items: *258 examples: - default: *253 + default: *259 '403': *27 '404': *6 x-github: @@ -36202,8 +36242,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *128 - - &254 + - *134 + - &260 name: custom_property_name description: The custom property name in: path @@ -36215,9 +36255,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *258 examples: - default: &255 + default: &261 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -36251,8 +36291,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *128 - - *254 + - *134 + - *260 requestBody: required: true content: @@ -36317,9 +36357,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *258 examples: - default: *255 + default: *261 '403': *27 '404': *6 x-github: @@ -36342,10 +36382,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *128 - - *254 + - *134 + - *260 responses: - '204': *177 + '204': *183 '403': *27 '404': *6 x-github: @@ -36366,7 +36406,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *128 + - *134 - *17 - *18 - name: repository_query @@ -36407,7 +36447,7 @@ paths: - octocat/Hello-World properties: type: array - items: &256 + items: &262 title: Custom Property Value description: Custom property name and associated value type: object @@ -36477,7 +36517,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *128 + - *134 requestBody: required: true content: @@ -36497,7 +36537,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *256 + items: *262 required: - repository_names - properties @@ -36538,7 +36578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *128 + - *134 - *17 - *18 responses: @@ -36550,7 +36590,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -36569,8 +36609,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response if user is a public member @@ -36594,8 +36634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -36616,8 +36656,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *128 - - *168 + - *134 + - *174 responses: '204': description: Response @@ -36641,7 +36681,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *128 + - *134 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -36688,9 +36728,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -36711,7 +36751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *128 + - *134 requestBody: required: true content: @@ -36894,7 +36934,7 @@ paths: description: Response content: application/json: - schema: &318 + schema: &324 title: Full Repository description: Full Repository type: object @@ -37359,7 +37399,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &428 + code_of_conduct: &434 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -37389,7 +37429,7 @@ paths: - key - name - html_url - security_and_analysis: *257 + security_and_analysis: *263 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -37473,7 +37513,7 @@ paths: - network_count - subscribers_count examples: - default: &320 + default: &326 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37991,7 +38031,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response @@ -37999,9 +38039,9 @@ paths: application/json: schema: type: array - items: *258 + items: *264 examples: - default: *259 + default: *265 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38023,10 +38063,10 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 - *17 - *18 - - &558 + - &564 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38045,7 +38085,7 @@ paths: application/json: schema: type: array - items: &266 + items: &272 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38078,7 +38118,7 @@ paths: source: type: string description: The name of the source - enforcement: &262 + enforcement: &268 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38090,7 +38130,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &263 + items: &269 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -38158,7 +38198,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &260 + - &266 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -38182,7 +38222,7 @@ paths: match. items: type: string - - &264 + - &270 title: Organization ruleset conditions type: object description: |- @@ -38195,7 +38235,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *260 + - *266 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -38229,7 +38269,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *260 + - *266 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -38251,7 +38291,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *260 + - *266 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -38264,7 +38304,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &261 + items: &267 title: Repository ruleset property targeting definition type: object @@ -38297,7 +38337,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *261 + items: *267 required: - repository_property type: @@ -38305,12 +38345,12 @@ paths: - object rules: type: array - items: &265 + items: &271 title: Repository Rule type: object description: A repository rule. oneOf: - - &540 + - &546 title: creation description: Only allow users with bypass permission to create matching refs. @@ -38322,7 +38362,7 @@ paths: type: string enum: - creation - - &541 + - &547 title: update description: Only allow users with bypass permission to update matching refs. @@ -38343,7 +38383,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &543 + - &549 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -38355,7 +38395,7 @@ paths: type: string enum: - deletion - - &544 + - &550 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -38367,7 +38407,7 @@ paths: type: string enum: - required_linear_history - - &545 + - &551 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38445,7 +38485,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &546 + - &552 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -38469,7 +38509,7 @@ paths: type: string required: - required_deployment_environments - - &547 + - &553 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -38481,7 +38521,7 @@ paths: type: string enum: - required_signatures - - &548 + - &554 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38527,7 +38567,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &549 + - &555 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38575,7 +38615,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &550 + - &556 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38587,7 +38627,7 @@ paths: type: string enum: - non_fast_forward - - &551 + - &557 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38623,7 +38663,7 @@ paths: required: - operator - pattern - - &552 + - &558 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38659,7 +38699,7 @@ paths: required: - operator - pattern - - &553 + - &559 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38695,7 +38735,7 @@ paths: required: - operator - pattern - - &554 + - &560 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38731,7 +38771,7 @@ paths: required: - operator - pattern - - &555 + - &561 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38857,7 +38897,7 @@ paths: maximum: 100 required: - max_file_size - - &556 + - &562 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -38907,7 +38947,7 @@ paths: - repository_id required: - workflows - - &557 + - &563 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39020,7 +39060,7 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 requestBody: description: Request body required: true @@ -39040,16 +39080,16 @@ paths: - tag - push default: branch - enforcement: *262 + enforcement: *268 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *263 - conditions: *264 + items: *269 + conditions: *270 rules: type: array description: An array of rules within the ruleset. - items: *265 + items: *271 required: - name - enforcement @@ -39087,9 +39127,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: &267 + default: &273 value: id: 21 name: super cool ruleset @@ -39143,8 +39183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *128 - - &559 + - *134 + - &565 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 @@ -39160,7 +39200,7 @@ paths: in: query schema: type: integer - - &560 + - &566 name: time_period description: |- The time period to filter by. @@ -39176,14 +39216,14 @@ paths: - week - month default: day - - &561 + - &567 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 - - &562 + - &568 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -39203,7 +39243,7 @@ paths: description: Response content: application/json: - schema: &563 + schema: &569 title: Rule Suites description: Response type: array @@ -39259,7 +39299,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &564 + default: &570 value: - id: 21 actor_id: 12 @@ -39302,8 +39342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *128 - - &565 + - *134 + - &571 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -39319,7 +39359,7 @@ paths: description: Response content: application/json: - schema: &566 + schema: &572 title: Rule Suite description: Response type: object @@ -39426,7 +39466,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &567 + default: &573 value: id: 21 actor_id: 12 @@ -39487,7 +39527,7 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39499,9 +39539,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: *267 + default: *273 '404': *6 '500': *80 put: @@ -39519,7 +39559,7 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39544,16 +39584,16 @@ paths: - branch - tag - push - enforcement: *262 + enforcement: *268 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *263 - conditions: *264 + items: *269 + conditions: *270 rules: description: An array of rules within the ruleset. type: array - items: *265 + items: *271 examples: default: value: @@ -39588,9 +39628,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: *267 + default: *273 '404': *6 '500': *80 delete: @@ -39608,7 +39648,7 @@ paths: category: orgs subcategory: rules parameters: - - *128 + - *134 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39636,15 +39676,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *128 - - *268 - - *269 - - *270 - - *271 + - *134 + - *274 + - *275 + - *276 + - *277 - *76 - *18 - *17 - - &569 + - &575 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 @@ -39654,7 +39694,7 @@ paths: required: false schema: type: string - - &570 + - &576 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 @@ -39664,9 +39704,9 @@ paths: required: false schema: type: string - - *272 - - *273 - - *274 + - *278 + - *279 + - *280 responses: '200': description: Response @@ -39674,9 +39714,9 @@ paths: application/json: schema: type: array - items: *275 + items: *281 examples: - default: *276 + default: *282 headers: Link: *37 '404': *6 @@ -39702,7 +39742,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *128 + - *134 - *76 - name: sort description: The property to sort the results by. @@ -39746,7 +39786,7 @@ paths: application/json: schema: type: array - items: &576 + items: &582 description: A repository security advisory. type: object properties: @@ -39990,7 +40030,7 @@ paths: login: type: string description: The username of the user credited. - type: *277 + type: *283 credits_detailed: type: - array @@ -40001,7 +40041,7 @@ paths: type: object properties: user: *4 - type: *277 + type: *283 state: type: string description: The state of the user's acceptance of the @@ -40027,7 +40067,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *223 + items: *229 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -40065,7 +40105,7 @@ paths: - private_fork additionalProperties: false examples: - default: &577 + default: &583 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -40447,7 +40487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *128 + - *134 responses: '200': description: Response @@ -40455,9 +40495,9 @@ paths: application/json: schema: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40480,8 +40520,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -40506,8 +40546,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -40533,15 +40573,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *279 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40565,7 +40605,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *128 + - *134 - *17 - *18 responses: @@ -40573,9 +40613,9 @@ paths: description: Success content: application/json: - schema: *280 + schema: *286 examples: - default: *281 + default: *287 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40597,15 +40637,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *282 + schema: *288 examples: - default: *283 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40627,15 +40667,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *284 + schema: *290 examples: - default: *285 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40652,7 +40692,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *128 + - *134 - *17 - name: page description: Page token @@ -40671,7 +40711,7 @@ paths: description: Response content: application/json: - schema: &307 + schema: &313 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -40723,7 +40763,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &308 + default: &314 value: groups: - group_id: '123' @@ -40768,8 +40808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *128 - - *235 + - *134 + - *241 - 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`). @@ -40841,8 +40881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *128 - - *235 + - *134 + - *241 - 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`). @@ -40876,7 +40916,7 @@ paths: type: array items: *97 examples: - default: *181 + default: *187 '500': *80 '401': *23 '403': *27 @@ -40898,7 +40938,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *128 + - *134 - *17 - *18 responses: @@ -40908,9 +40948,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 headers: Link: *37 '403': *27 @@ -40932,7 +40972,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *128 + - *134 requestBody: required: true content: @@ -41004,7 +41044,7 @@ paths: description: Response content: application/json: - schema: &286 + schema: &292 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -41078,7 +41118,7 @@ paths: parent: anyOf: - type: 'null' - - *236 + - *242 members_count: type: integer examples: @@ -41384,7 +41424,7 @@ paths: - repos_count - organization examples: - default: &287 + default: &293 value: id: 1 node_id: MDQ6VGVhbTE= @@ -41454,16 +41494,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *128 - - *235 + - *134 + - *241 responses: '200': description: Response content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -41484,8 +41524,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *128 - - *235 + - *134 + - *241 requestBody: required: false content: @@ -41548,16 +41588,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '201': description: Response content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '404': *6 '422': *15 '403': *27 @@ -41582,8 +41622,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -41609,8 +41649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *128 - - *235 + - *134 + - *241 - *76 - *17 - *18 @@ -41627,7 +41667,7 @@ paths: application/json: schema: type: array - items: &288 + items: &294 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -41738,7 +41778,7 @@ paths: - updated_at - url examples: - default: &617 + default: &623 value: - author: login: octocat @@ -41812,8 +41852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *128 - - *235 + - *134 + - *241 requestBody: required: true content: @@ -41847,9 +41887,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: &289 + default: &295 value: author: login: octocat @@ -41921,9 +41961,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *128 - - *235 - - &290 + - *134 + - *241 + - &296 name: discussion_number description: The number that identifies the discussion. in: path @@ -41935,9 +41975,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: *289 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41959,9 +41999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 requestBody: required: false content: @@ -41984,9 +42024,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: &618 + default: &624 value: author: login: octocat @@ -42056,9 +42096,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 responses: '204': description: Response @@ -42084,9 +42124,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 - *76 - *17 - *18 @@ -42097,7 +42137,7 @@ paths: application/json: schema: type: array - items: &291 + items: &297 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -42177,7 +42217,7 @@ paths: - updated_at - url examples: - default: &619 + default: &625 value: - author: login: octocat @@ -42245,9 +42285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 requestBody: required: true content: @@ -42269,9 +42309,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: &292 + default: &298 value: author: login: octocat @@ -42337,10 +42377,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *128 - - *235 - - *290 - - &293 + - *134 + - *241 + - *296 + - &299 name: comment_number description: The number that identifies the comment. in: path @@ -42352,9 +42392,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42376,10 +42416,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *128 - - *235 - - *290 - - *293 + - *134 + - *241 + - *296 + - *299 requestBody: required: true content: @@ -42401,9 +42441,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: &620 + default: &626 value: author: login: octocat @@ -42467,10 +42507,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *128 - - *235 - - *290 - - *293 + - *134 + - *241 + - *296 + - *299 responses: '204': description: Response @@ -42496,10 +42536,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *128 - - *235 - - *290 - - *293 + - *134 + - *241 + - *296 + - *299 - 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. @@ -42525,7 +42565,7 @@ paths: application/json: schema: type: array - items: &294 + items: &300 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -42569,7 +42609,7 @@ paths: - content - created_at examples: - default: &296 + default: &302 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42619,10 +42659,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *128 - - *235 - - *290 - - *293 + - *134 + - *241 + - *296 + - *299 requestBody: required: true content: @@ -42655,9 +42695,9 @@ paths: team discussion comment content: application/json: - schema: *294 + schema: *300 examples: - default: &295 + default: &301 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42686,9 +42726,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42711,11 +42751,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *128 - - *235 - - *290 - - *293 - - &297 + - *134 + - *241 + - *296 + - *299 + - &303 name: reaction_id description: The unique identifier of the reaction. in: path @@ -42747,9 +42787,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 - 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. @@ -42775,9 +42815,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 x-github: @@ -42803,9 +42843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *128 - - *235 - - *290 + - *134 + - *241 + - *296 requestBody: required: true content: @@ -42837,16 +42877,16 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42869,10 +42909,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *128 - - *235 - - *290 - - *297 + - *134 + - *241 + - *296 + - *303 responses: '204': description: Response @@ -42895,16 +42935,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '200': description: Response content: application/json: - schema: *298 + schema: *304 examples: - default: *299 + default: *305 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42923,8 +42963,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *128 - - *235 + - *134 + - *241 requestBody: required: true content: @@ -42948,9 +42988,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *306 examples: - default: *301 + default: *307 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -42969,8 +43009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '204': description: Response @@ -42994,8 +43034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *128 - - *235 + - *134 + - *241 - *17 - *18 responses: @@ -43005,9 +43045,9 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: - default: *221 + default: *227 headers: Link: *37 x-github: @@ -43029,8 +43069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *128 - - *235 + - *134 + - *241 - name: role description: Filters members returned by their role in the team. in: query @@ -43053,7 +43093,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -43083,15 +43123,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *128 - - *235 - - *168 + - *134 + - *241 + - *174 responses: '200': description: Response content: application/json: - schema: &302 + schema: &308 title: Team Membership description: Team Membership type: object @@ -43119,7 +43159,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &621 + response-if-user-is-a-team-maintainer: &627 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -43155,9 +43195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *128 - - *235 - - *168 + - *134 + - *241 + - *174 requestBody: required: false content: @@ -43182,9 +43222,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: &622 + response-if-users-membership-with-team-is-now-pending: &628 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -43219,9 +43259,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *128 - - *235 - - *168 + - *134 + - *241 + - *174 responses: '204': description: Response @@ -43247,8 +43287,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *128 - - *235 + - *134 + - *241 - *17 - *18 responses: @@ -43258,7 +43298,7 @@ paths: application/json: schema: type: array - items: &303 + items: &309 title: Team Project description: A team's access to a project. type: object @@ -43327,7 +43367,7 @@ paths: - updated_at - permissions examples: - default: &623 + default: &629 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43388,9 +43428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *128 - - *235 - - &304 + - *134 + - *241 + - &310 name: project_id description: The unique identifier of the project. in: path @@ -43402,9 +43442,9 @@ paths: description: Response content: application/json: - schema: *303 + schema: *309 examples: - default: &624 + default: &630 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43464,9 +43504,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *128 - - *235 - - *304 + - *134 + - *241 + - *310 requestBody: required: false content: @@ -43531,9 +43571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *128 - - *235 - - *304 + - *134 + - *241 + - *310 responses: '204': description: Response @@ -43557,8 +43597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *128 - - *235 + - *134 + - *241 - *17 - *18 responses: @@ -43568,9 +43608,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -43599,16 +43639,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *128 - - *235 - - *305 - - *306 + - *134 + - *241 + - *311 + - *312 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &625 + schema: &631 title: Team Repository description: A team's access to a repository. type: object @@ -44249,10 +44289,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *128 - - *235 - - *305 - - *306 + - *134 + - *241 + - *311 + - *312 requestBody: required: false content: @@ -44297,10 +44337,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *128 - - *235 - - *305 - - *306 + - *134 + - *241 + - *311 + - *312 responses: '204': description: Response @@ -44326,16 +44366,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *128 - - *235 + - *134 + - *241 responses: '200': description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -44357,8 +44397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *128 - - *235 + - *134 + - *241 requestBody: required: true content: @@ -44401,7 +44441,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: default: value: @@ -44433,8 +44473,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *128 - - *235 + - *134 + - *241 - *17 - *18 responses: @@ -44444,9 +44484,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - response-if-child-teams-exist: &626 + response-if-child-teams-exist: &632 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -44499,7 +44539,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *128 + - *134 - name: security_product in: path description: The security feature to enable or disable. @@ -44570,7 +44610,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &309 + - &315 name: card_id description: The unique identifier of the card. in: path @@ -44582,7 +44622,7 @@ paths: description: Response content: application/json: - schema: &310 + schema: &316 title: Project Card description: Project cards represent a scope of work. type: object @@ -44657,7 +44697,7 @@ paths: - created_at - updated_at examples: - default: &311 + default: &317 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -44707,7 +44747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *309 + - *315 requestBody: required: false content: @@ -44737,9 +44777,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *316 examples: - default: *311 + default: *317 '304': *35 '403': *27 '401': *23 @@ -44760,7 +44800,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *309 + - *315 responses: '204': description: Response @@ -44798,7 +44838,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *309 + - *315 requestBody: required: true content: @@ -44905,7 +44945,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &312 + - &318 name: column_id description: The unique identifier of the column. in: path @@ -44917,7 +44957,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &319 title: Project Column description: Project columns contain cards of work. type: object @@ -44971,7 +45011,7 @@ paths: - created_at - updated_at examples: - default: &314 + default: &320 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45000,7 +45040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *312 + - *318 requestBody: required: true content: @@ -45025,9 +45065,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *319 examples: - default: *314 + default: *320 '304': *35 '403': *27 '401': *23 @@ -45046,7 +45086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *312 + - *318 responses: '204': description: Response @@ -45069,7 +45109,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *312 + - *318 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -45090,7 +45130,7 @@ paths: application/json: schema: type: array - items: *310 + items: *316 examples: default: value: @@ -45143,7 +45183,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *312 + - *318 requestBody: required: true content: @@ -45187,9 +45227,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *316 examples: - default: *311 + default: *317 '304': *35 '403': *27 '401': *23 @@ -45199,8 +45239,8 @@ paths: application/json: schema: oneOf: - - *131 - - *132 + - *137 + - *138 '503': description: Response content: @@ -45239,7 +45279,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *312 + - *318 requestBody: required: true content: @@ -45296,15 +45336,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *304 + - *310 responses: '200': description: Response content: application/json: - schema: *251 + schema: *257 examples: - default: &315 + default: &321 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -45357,7 +45397,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *304 + - *310 requestBody: required: false content: @@ -45406,9 +45446,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *257 examples: - default: *315 + default: *321 '404': description: Not Found if the authenticated user does not have access to the project @@ -45429,7 +45469,7 @@ paths: items: type: string '401': *23 - '410': *316 + '410': *322 '422': *7 x-github: githubCloudOnly: false @@ -45447,7 +45487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *304 + - *310 responses: '204': description: Delete Success @@ -45468,7 +45508,7 @@ paths: items: type: string '401': *23 - '410': *316 + '410': *322 '404': *6 x-github: githubCloudOnly: false @@ -45491,7 +45531,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *304 + - *310 - 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 @@ -45518,7 +45558,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '404': *6 @@ -45543,8 +45583,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *304 - - *168 + - *310 + - *174 requestBody: required: false content: @@ -45593,8 +45633,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *304 - - *168 + - *310 + - *174 responses: '204': description: Response @@ -45622,8 +45662,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *304 - - *168 + - *310 + - *174 responses: '200': description: Response @@ -45687,7 +45727,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *304 + - *310 - *17 - *18 responses: @@ -45697,7 +45737,7 @@ paths: application/json: schema: type: array - items: *313 + items: *319 examples: default: value: @@ -45729,7 +45769,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *304 + - *310 requestBody: required: true content: @@ -45753,7 +45793,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *319 examples: default: value: @@ -45814,7 +45854,7 @@ paths: resources: type: object properties: - core: &317 + core: &323 title: Rate Limit type: object properties: @@ -45831,19 +45871,19 @@ paths: - remaining - reset - used - graphql: *317 - search: *317 - code_search: *317 - source_import: *317 - integration_manifest: *317 - code_scanning_upload: *317 - actions_runner_registration: *317 - scim: *317 - dependency_snapshots: *317 + graphql: *323 + search: *323 + code_search: *323 + source_import: *323 + integration_manifest: *323 + code_scanning_upload: *323 + actions_runner_registration: *323 + scim: *323 + dependency_snapshots: *323 required: - core - search - rate: *317 + rate: *323 required: - rate - resources @@ -45942,14 +45982,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *318 + schema: *324 examples: default-response: summary: Default response @@ -46454,7 +46494,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *319 + '301': *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46472,8 +46512,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -46720,10 +46760,10 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 - '307': &321 + default: *326 + '307': &327 description: Temporary Redirect content: application/json: @@ -46752,8 +46792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -46775,7 +46815,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': *321 + '307': *327 '404': *6 x-github: githubCloudOnly: false @@ -46798,11 +46838,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 - - &336 + - &342 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46825,7 +46865,7 @@ paths: type: integer artifacts: type: array - items: &322 + items: &328 title: Artifact description: An artifact type: object @@ -46911,7 +46951,7 @@ paths: - expires_at - updated_at examples: - default: &337 + default: &343 value: total_count: 2 artifacts: @@ -46970,9 +47010,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *305 - - *306 - - &323 + - *311 + - *312 + - &329 name: artifact_id description: The unique identifier of the artifact. in: path @@ -46984,7 +47024,7 @@ paths: description: Response content: application/json: - schema: *322 + schema: *328 examples: default: value: @@ -47021,9 +47061,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *305 - - *306 - - *323 + - *311 + - *312 + - *329 responses: '204': description: Response @@ -47047,9 +47087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *305 - - *306 - - *323 + - *311 + - *312 + - *329 - name: archive_format in: path required: true @@ -47063,7 +47103,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': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47086,14 +47126,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *324 + schema: *330 examples: default: value: @@ -47119,11 +47159,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: - - *305 - - *306 + - *311 + - *312 - *17 - *18 - - &325 + - &331 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 @@ -47157,7 +47197,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &332 title: Repository actions caches description: Repository actions caches type: object @@ -47207,7 +47247,7 @@ paths: - total_count - actions_caches examples: - default: &327 + default: &333 value: total_count: 1 actions_caches: @@ -47239,23 +47279,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: - - *305 - - *306 + - *311 + - *312 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *325 + - *331 responses: '200': description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: *327 + default: *333 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47275,8 +47315,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: - - *305 - - *306 + - *311 + - *312 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -47307,9 +47347,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: - - *305 - - *306 - - &328 + - *311 + - *312 + - &334 name: job_id description: The unique identifier of the job. in: path @@ -47321,7 +47361,7 @@ paths: description: Response content: application/json: - schema: &340 + schema: &346 title: Job description: Information of a job execution in a workflow run type: object @@ -47668,9 +47708,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: - - *305 - - *306 - - *328 + - *311 + - *312 + - *334 responses: '302': description: Response @@ -47698,9 +47738,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: - - *305 - - *306 - - *328 + - *311 + - *312 + - *334 requestBody: required: false content: @@ -47722,7 +47762,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -47746,8 +47786,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Status response @@ -47797,8 +47837,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -47832,7 +47872,7 @@ paths: description: Empty response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -47861,8 +47901,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -47880,7 +47920,7 @@ paths: type: integer secrets: type: array - items: &342 + items: &348 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47901,7 +47941,7 @@ paths: - created_at - updated_at examples: - default: &343 + default: &349 value: total_count: 2 secrets: @@ -47934,9 +47974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *305 - - *306 - - *329 + - *311 + - *312 + - *335 - *18 responses: '200': @@ -47953,7 +47993,7 @@ paths: type: integer variables: type: array - items: &346 + items: &352 title: Actions Variable type: object properties: @@ -47987,7 +48027,7 @@ paths: - created_at - updated_at examples: - default: &347 + default: &353 value: total_count: 2 variables: @@ -48020,8 +48060,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -48030,11 +48070,11 @@ paths: schema: type: object properties: - enabled: &330 + enabled: &336 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 - selected_actions_url: *139 + selected_actions_url: *145 required: - enabled examples: @@ -48063,8 +48103,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -48075,7 +48115,7 @@ paths: schema: type: object properties: - enabled: *330 + enabled: *336 allowed_actions: *40 required: - enabled @@ -48106,14 +48146,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &331 + schema: &337 type: object properties: access_level: @@ -48131,7 +48171,7 @@ paths: required: - access_level examples: - default: &332 + default: &338 value: access_level: organization x-github: @@ -48156,15 +48196,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *331 + schema: *337 examples: - default: *332 + default: *338 responses: '204': description: Response @@ -48188,8 +48228,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -48220,8 +48260,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -48253,14 +48293,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *142 + schema: *148 examples: default: *46 x-github: @@ -48283,8 +48323,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Success response @@ -48295,7 +48335,7 @@ paths: required: true content: application/json: - schema: *143 + schema: *149 examples: default: *46 x-github: @@ -48324,8 +48364,8 @@ paths: in: query schema: type: string - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -48369,8 +48409,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -48378,9 +48418,9 @@ paths: application/json: schema: type: array - items: *147 + items: *153 examples: - default: *148 + default: *154 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48402,8 +48442,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -48446,7 +48486,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *149 + '201': *155 '404': *6 '422': *7 x-github: @@ -48476,8 +48516,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: - - *305 - - *306 + - *311 + - *312 responses: '201': description: Response @@ -48485,7 +48525,7 @@ paths: application/json: schema: *56 examples: - default: *150 + default: *156 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48513,8 +48553,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: - - *305 - - *306 + - *311 + - *312 responses: '201': description: Response @@ -48522,7 +48562,7 @@ paths: application/json: schema: *56 examples: - default: *151 + default: *157 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48544,8 +48584,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: - - *305 - - *306 + - *311 + - *312 - *52 responses: '200': @@ -48554,7 +48594,7 @@ paths: application/json: schema: *53 examples: - default: *152 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48575,8 +48615,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: - - *305 - - *306 + - *311 + - *312 - *52 responses: '204': @@ -48602,8 +48642,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: - - *305 - - *306 + - *311 + - *312 - *52 responses: '200': *58 @@ -48628,8 +48668,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: - - *305 - - *306 + - *311 + - *312 - *52 requestBody: required: true @@ -48678,8 +48718,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: - - *305 - - *306 + - *311 + - *312 - *52 requestBody: required: true @@ -48729,11 +48769,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: - - *305 - - *306 + - *311 + - *312 - *52 responses: - '200': *153 + '200': *159 '404': *6 x-github: githubCloudOnly: false @@ -48760,10 +48800,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: - - *305 - - *306 + - *311 + - *312 - *52 - - *154 + - *160 responses: '200': *58 '404': *6 @@ -48791,9 +48831,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: - - *305 - - *306 - - &350 + - *311 + - *312 + - &356 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. @@ -48801,7 +48841,7 @@ paths: required: false schema: type: string - - &351 + - &357 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48809,7 +48849,7 @@ paths: required: false schema: type: string - - &352 + - &358 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48818,7 +48858,7 @@ paths: required: false schema: type: string - - &353 + - &359 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 @@ -48845,7 +48885,7 @@ paths: - pending - *17 - *18 - - &354 + - &360 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)." @@ -48854,7 +48894,7 @@ paths: schema: type: string format: date-time - - &333 + - &339 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48863,13 +48903,13 @@ paths: schema: type: boolean default: false - - &355 + - &361 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &356 + - &362 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -48892,7 +48932,7 @@ paths: type: integer workflow_runs: type: array - items: &334 + items: &340 title: Workflow Run description: An invocation of a workflow type: object @@ -49009,7 +49049,7 @@ paths: type: - array - 'null' - items: &375 + items: &381 title: Pull Request Minimal type: object properties: @@ -49136,7 +49176,7 @@ paths: head_commit: anyOf: - type: 'null' - - &379 + - &385 title: Simple Commit description: A commit. type: object @@ -49210,8 +49250,8 @@ paths: - timestamp - author - committer - repository: *146 - head_repository: *146 + repository: *152 + head_repository: *152 head_repository_id: type: integer examples: @@ -49251,7 +49291,7 @@ paths: - workflow_url - pull_requests examples: - default: &357 + default: &363 value: total_count: 1 workflow_runs: @@ -49487,24 +49527,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *305 - - *306 - - &335 + - *311 + - *312 + - &341 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *333 + - *339 responses: '200': description: Response content: application/json: - schema: *334 + schema: *340 examples: - default: &338 + default: &344 value: id: 30433642 name: Build @@ -49745,9 +49785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '204': description: Response @@ -49770,9 +49810,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '200': description: Response @@ -49900,15 +49940,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '201': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -49935,12 +49975,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 - *17 - *18 - - *336 + - *342 responses: '200': description: Response @@ -49956,9 +49996,9 @@ paths: type: integer artifacts: type: array - items: *322 + items: *328 examples: - default: *337 + default: *343 headers: Link: *37 x-github: @@ -49982,25 +50022,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *305 - - *306 - - *335 - - &339 + - *311 + - *312 + - *341 + - &345 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *333 + - *339 responses: '200': description: Response content: application/json: - schema: *334 + schema: *340 examples: - default: *338 + default: *344 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50023,10 +50063,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: - - *305 - - *306 - - *335 - - *339 + - *311 + - *312 + - *341 + - *345 - *17 - *18 responses: @@ -50044,9 +50084,9 @@ paths: type: integer jobs: type: array - items: *340 + items: *346 examples: - default: &341 + default: &347 value: total_count: 1 jobs: @@ -50159,10 +50199,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *305 - - *306 - - *335 - - *339 + - *311 + - *312 + - *341 + - *345 responses: '302': description: Response @@ -50190,19 +50230,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '202': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50225,9 +50265,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 requestBody: required: true content: @@ -50294,19 +50334,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '202': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50329,9 +50369,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 - 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 @@ -50361,9 +50401,9 @@ paths: type: integer jobs: type: array - items: *340 + items: *346 examples: - default: *341 + default: *347 headers: Link: *37 x-github: @@ -50388,9 +50428,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '302': description: Response @@ -50417,9 +50457,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '204': description: Response @@ -50446,9 +50486,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '200': description: Response @@ -50517,7 +50557,7 @@ paths: items: type: object properties: - type: &447 + type: &453 type: string description: The type of reviewer. enum: @@ -50528,7 +50568,7 @@ paths: reviewer: anyOf: - *4 - - *223 + - *229 required: - environment - wait_timer @@ -50603,9 +50643,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 requestBody: required: true content: @@ -50655,7 +50695,7 @@ paths: application/json: schema: type: array - items: &442 + items: &448 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50767,7 +50807,7 @@ paths: - created_at - updated_at examples: - default: &443 + default: &449 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50823,9 +50863,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 requestBody: required: false content: @@ -50847,7 +50887,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -50870,9 +50910,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: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 requestBody: required: false content: @@ -50894,7 +50934,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -50919,9 +50959,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *305 - - *306 - - *335 + - *311 + - *312 + - *341 responses: '200': description: Response @@ -51058,8 +51098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -51077,9 +51117,9 @@ paths: type: integer secrets: type: array - items: *342 + items: *348 examples: - default: *343 + default: *349 headers: Link: *37 x-github: @@ -51104,16 +51144,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *344 + schema: *350 examples: - default: *345 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51135,17 +51175,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '200': description: Response content: application/json: - schema: *342 + schema: *348 examples: - default: &460 + default: &466 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51171,9 +51211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 requestBody: required: true content: @@ -51201,7 +51241,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -51227,9 +51267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '204': description: Response @@ -51254,9 +51294,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *305 - - *306 - - *329 + - *311 + - *312 + - *335 - *18 responses: '200': @@ -51273,9 +51313,9 @@ paths: type: integer variables: type: array - items: *346 + items: *352 examples: - default: *347 + default: *353 headers: Link: *37 x-github: @@ -51298,8 +51338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -51326,7 +51366,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -51351,17 +51391,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *305 - - *306 - - *159 + - *311 + - *312 + - *165 responses: '200': description: Response content: application/json: - schema: *346 + schema: *352 examples: - default: &461 + default: &467 value: name: USERNAME value: octocat @@ -51387,9 +51427,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *305 - - *306 - - *159 + - *311 + - *312 + - *165 requestBody: required: true content: @@ -51431,9 +51471,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *305 - - *306 - - *159 + - *311 + - *312 + - *165 responses: '204': description: Response @@ -51458,8 +51498,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -51477,7 +51517,7 @@ paths: type: integer workflows: type: array - items: &348 + items: &354 title: Workflow description: A GitHub Actions workflow type: object @@ -51595,9 +51635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *305 - - *306 - - &349 + - *311 + - *312 + - &355 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51612,7 +51652,7 @@ paths: description: Response content: application/json: - schema: *348 + schema: *354 examples: default: value: @@ -51645,9 +51685,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *305 - - *306 - - *349 + - *311 + - *312 + - *355 responses: '204': description: Response @@ -51672,9 +51712,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *305 - - *306 - - *349 + - *311 + - *312 + - *355 responses: '204': description: Response @@ -51725,9 +51765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *305 - - *306 - - *349 + - *311 + - *312 + - *355 responses: '204': description: Response @@ -51752,19 +51792,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: - - *305 - - *306 - - *349 - - *350 - - *351 - - *352 - - *353 - - *17 - - *18 - - *354 - - *333 + - *311 + - *312 - *355 - *356 + - *357 + - *358 + - *359 + - *17 + - *18 + - *360 + - *339 + - *361 + - *362 responses: '200': description: Response @@ -51780,9 +51820,9 @@ paths: type: integer workflow_runs: type: array - items: *334 + items: *340 examples: - default: *357 + default: *363 headers: Link: *37 x-github: @@ -51808,9 +51848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *305 - - *306 - - *349 + - *311 + - *312 + - *355 responses: '200': description: Response @@ -51871,8 +51911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *305 - - *306 + - *311 + - *312 - *76 - *17 - *74 @@ -52040,8 +52080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -52053,7 +52093,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '404': *6 @@ -52078,8 +52118,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: - - *305 - - *306 + - *311 + - *312 - name: assignee in: path required: true @@ -52115,8 +52155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -52228,8 +52268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *74 - *75 @@ -52273,7 +52313,7 @@ paths: repository_id: type: integer examples: - default: *358 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52293,8 +52333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -52302,7 +52342,7 @@ paths: application/json: schema: type: array - items: &359 + items: &365 title: Autolink reference description: An autolink reference. type: object @@ -52356,8 +52396,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -52396,9 +52436,9 @@ paths: description: response content: application/json: - schema: *359 + schema: *365 examples: - default: &360 + default: &366 value: id: 1 key_prefix: TICKET- @@ -52429,9 +52469,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: - - *305 - - *306 - - &361 + - *311 + - *312 + - &367 name: autolink_id description: The unique identifier of the autolink. in: path @@ -52443,9 +52483,9 @@ paths: description: Response content: application/json: - schema: *359 + schema: *365 examples: - default: *360 + default: *366 '404': *6 x-github: githubCloudOnly: false @@ -52465,9 +52505,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: - - *305 - - *306 - - *361 + - *311 + - *312 + - *367 responses: '204': description: Response @@ -52491,8 +52531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response if Dependabot is enabled @@ -52542,8 +52582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -52564,8 +52604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -52585,8 +52625,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *305 - - *306 + - *311 + - *312 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -52624,7 +52664,7 @@ paths: - url protected: type: boolean - protection: &363 + protection: &369 title: Branch Protection description: Branch Protection type: object @@ -52667,7 +52707,7 @@ paths: required: - contexts - checks - enforce_admins: &366 + enforce_admins: &372 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52684,7 +52724,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &368 + required_pull_request_reviews: &374 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52706,7 +52746,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *223 + items: *229 apps: description: The list of apps with review dismissal access. @@ -52738,7 +52778,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *223 + items: *229 apps: description: The list of apps allowed to bypass pull request requirements. @@ -52768,7 +52808,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &365 + restrictions: &371 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53093,9 +53133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *305 - - *306 - - &364 + - *311 + - *312 + - &370 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). @@ -53109,14 +53149,14 @@ paths: description: Response content: application/json: - schema: &374 + schema: &380 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &418 + commit: &424 title: Commit description: Commit type: object @@ -53155,7 +53195,7 @@ paths: author: anyOf: - type: 'null' - - &362 + - &368 title: Git User description: Metaproperties for Git author/committer information. @@ -53176,7 +53216,7 @@ paths: committer: anyOf: - type: 'null' - - *362 + - *368 message: type: string examples: @@ -53200,7 +53240,7 @@ paths: required: - sha - url - verification: &467 + verification: &473 title: Verification type: object properties: @@ -53231,14 +53271,14 @@ paths: author: oneOf: - *4 - - *157 + - *163 type: - 'null' - object committer: oneOf: - *4 - - *157 + - *163 type: - 'null' - object @@ -53275,7 +53315,7 @@ paths: type: integer files: type: array - items: &430 + items: &436 title: Diff Entry description: Diff Entry type: object @@ -53369,7 +53409,7 @@ paths: - self protected: type: boolean - protection: *363 + protection: *369 protection_url: type: string format: uri @@ -53477,7 +53517,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *319 + '301': *325 '404': *6 x-github: githubCloudOnly: false @@ -53499,15 +53539,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *363 + schema: *369 examples: default: value: @@ -53701,9 +53741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -53963,7 +54003,7 @@ paths: url: type: string format: uri - required_status_checks: &371 + required_status_checks: &377 title: Status Check Policy description: Status Check Policy type: object @@ -54044,7 +54084,7 @@ paths: items: *4 teams: type: array - items: *223 + items: *229 apps: type: array items: *5 @@ -54062,7 +54102,7 @@ paths: items: *4 teams: type: array - items: *223 + items: *229 apps: type: array items: *5 @@ -54122,7 +54162,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *365 + restrictions: *371 required_conversation_resolution: type: object properties: @@ -54234,9 +54274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54261,17 +54301,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *372 examples: - default: &367 + default: &373 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54293,17 +54333,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *372 examples: - default: *367 + default: *373 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54322,9 +54362,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54349,17 +54389,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: &369 + default: &375 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54455,9 +54495,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -54555,9 +54595,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *374 examples: - default: *369 + default: *375 '422': *15 x-github: githubCloudOnly: false @@ -54578,9 +54618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54607,17 +54647,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *372 examples: - default: &370 + default: &376 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54640,17 +54680,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *366 + schema: *372 examples: - default: *370 + default: *376 '404': *6 x-github: githubCloudOnly: false @@ -54670,9 +54710,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54697,17 +54737,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *371 + schema: *377 examples: - default: &372 + default: &378 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54733,9 +54773,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -54787,9 +54827,9 @@ paths: description: Response content: application/json: - schema: *371 + schema: *377 examples: - default: *372 + default: *378 '404': *6 '422': *15 x-github: @@ -54811,9 +54851,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -54837,9 +54877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response @@ -54873,9 +54913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -54942,9 +54982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -55008,9 +55048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: content: application/json: @@ -55076,15 +55116,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response content: application/json: - schema: *365 + schema: *371 examples: default: value: @@ -55175,9 +55215,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '204': description: Response @@ -55200,9 +55240,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: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response @@ -55212,7 +55252,7 @@ paths: type: array items: *5 examples: - default: &373 + default: &379 value: - id: 1 slug: octoapp @@ -55269,9 +55309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55305,7 +55345,7 @@ paths: type: array items: *5 examples: - default: *373 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -55326,9 +55366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55362,7 +55402,7 @@ paths: type: array items: *5 examples: - default: *373 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -55383,9 +55423,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55419,7 +55459,7 @@ paths: type: array items: *5 examples: - default: *373 + default: *379 '422': *15 x-github: githubCloudOnly: false @@ -55441,9 +55481,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: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response @@ -55451,9 +55491,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 '404': *6 x-github: githubCloudOnly: false @@ -55473,9 +55513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -55511,9 +55551,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 '422': *15 x-github: githubCloudOnly: false @@ -55534,9 +55574,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: false content: @@ -55572,9 +55612,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 '422': *15 x-github: githubCloudOnly: false @@ -55595,9 +55635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: content: application/json: @@ -55632,9 +55672,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 '422': *15 x-github: githubCloudOnly: false @@ -55656,9 +55696,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: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 responses: '200': description: Response @@ -55668,7 +55708,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '404': *6 x-github: githubCloudOnly: false @@ -55692,9 +55732,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55727,7 +55767,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -55752,9 +55792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55787,7 +55827,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -55812,9 +55852,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55847,7 +55887,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '422': *15 x-github: githubCloudOnly: false @@ -55874,9 +55914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 requestBody: required: true content: @@ -55898,7 +55938,7 @@ paths: description: Response content: application/json: - schema: *374 + schema: *380 examples: default: value: @@ -56013,8 +56053,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -56293,7 +56333,7 @@ paths: description: Response content: application/json: - schema: &376 + schema: &382 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56428,8 +56468,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *375 - deployment: &676 + items: *381 + deployment: &682 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56716,9 +56756,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *305 - - *306 - - &377 + - *311 + - *312 + - &383 name: check_run_id description: The unique identifier of the check run. in: path @@ -56730,9 +56770,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: &378 + default: &384 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56832,9 +56872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *305 - - *306 - - *377 + - *311 + - *312 + - *383 requestBody: required: true content: @@ -57074,9 +57114,9 @@ paths: description: Response content: application/json: - schema: *376 + schema: *382 examples: - default: *378 + default: *384 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57096,9 +57136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *305 - - *306 - - *377 + - *311 + - *312 + - *383 - *17 - *18 responses: @@ -57210,15 +57250,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *305 - - *306 - - *377 + - *311 + - *312 + - *383 responses: '201': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -57256,8 +57296,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -57279,7 +57319,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &380 + schema: &386 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57361,12 +57401,12 @@ paths: type: - array - 'null' - items: *375 + items: *381 app: anyOf: - type: 'null' - *5 - repository: *146 + repository: *152 created_at: type: - string @@ -57377,7 +57417,7 @@ paths: - string - 'null' format: date-time - head_commit: *379 + head_commit: *385 latest_check_runs_count: type: integer check_runs_url: @@ -57405,7 +57445,7 @@ paths: - check_runs_url - pull_requests examples: - default: &381 + default: &387 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57696,9 +57736,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *380 + schema: *386 examples: - default: *381 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57717,8 +57757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -57779,7 +57819,7 @@ paths: required: - app_id - setting - repository: *146 + repository: *152 examples: default: value: @@ -58027,9 +58067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *305 - - *306 - - &382 + - *311 + - *312 + - &388 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58041,9 +58081,9 @@ paths: description: Response content: application/json: - schema: *380 + schema: *386 examples: - default: *381 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58066,17 +58106,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: - - *305 - - *306 - - *382 - - &425 + - *311 + - *312 + - *388 + - &431 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &426 + - &432 name: status description: Returns check runs with the specified `status`. in: query @@ -58115,9 +58155,9 @@ paths: type: integer check_runs: type: array - items: *376 + items: *382 examples: - default: &427 + default: &433 value: total_count: 1 check_runs: @@ -58219,15 +58259,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *305 - - *306 - - *382 + - *311 + - *312 + - *388 responses: '201': description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -58254,21 +58294,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: - - *305 - - *306 - - *169 - - *170 + - *311 + - *312 + - *175 + - *176 - *18 - *17 - - &394 + - &400 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: *383 - - &395 + schema: *389 + - &401 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58293,13 +58333,13 @@ paths: be returned. in: query required: false - schema: *171 + schema: *177 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *384 + schema: *390 responses: '200': description: Response @@ -58315,7 +58355,7 @@ paths: updated_at: *88 url: *85 html_url: *86 - instances_url: *385 + instances_url: *391 state: *79 fixed_at: *90 dismissed_by: @@ -58323,11 +58363,11 @@ paths: - type: 'null' - *4 dismissed_at: *89 - dismissed_reason: *386 - dismissed_comment: *387 - rule: *388 - tool: *389 - most_recent_instance: *390 + dismissed_reason: *392 + dismissed_comment: *393 + rule: *394 + tool: *395 + most_recent_instance: *396 required: - number - created_at @@ -58443,7 +58483,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &391 + '403': &397 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -58470,9 +58510,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: - - *305 - - *306 - - &392 + - *311 + - *312 + - &398 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58486,7 +58526,7 @@ paths: description: Response content: application/json: - schema: &393 + schema: &399 type: object properties: number: *81 @@ -58494,7 +58534,7 @@ paths: updated_at: *88 url: *85 html_url: *86 - instances_url: *385 + instances_url: *391 state: *79 fixed_at: *90 dismissed_by: @@ -58502,8 +58542,8 @@ paths: - type: 'null' - *4 dismissed_at: *89 - dismissed_reason: *386 - dismissed_comment: *387 + dismissed_reason: *392 + dismissed_comment: *393 rule: type: object properties: @@ -58565,8 +58605,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *389 - most_recent_instance: *390 + tool: *395 + most_recent_instance: *396 required: - number - created_at @@ -58655,7 +58695,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -58675,9 +58715,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: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 requestBody: required: true content: @@ -58692,8 +58732,8 @@ paths: enum: - open - dismissed - dismissed_reason: *386 - dismissed_comment: *387 + dismissed_reason: *392 + dismissed_comment: *393 required: - state examples: @@ -58708,7 +58748,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *399 examples: default: value: @@ -58783,7 +58823,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &400 + '403': &406 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -58810,13 +58850,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: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 - *18 - *17 - - *394 - - *395 + - *400 + - *401 responses: '200': description: Response @@ -58824,7 +58864,7 @@ paths: application/json: schema: type: array - items: *390 + items: *396 examples: default: value: @@ -58863,7 +58903,7 @@ paths: end_column: 50 classifications: - source - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -58897,25 +58937,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: - - *305 - - *306 - - *169 - - *170 + - *311 + - *312 + - *175 + - *176 - *18 - *17 - - *395 + - *401 - 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: *383 + schema: *389 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &398 + schema: &404 type: string description: An identifier for the upload. examples: @@ -58937,23 +58977,23 @@ paths: application/json: schema: type: array - items: &399 + items: &405 type: object properties: - ref: *383 - commit_sha: &408 + ref: *389 + commit_sha: &414 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: *396 + analysis_key: *402 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *397 + category: *403 error: type: string examples: @@ -58978,8 +59018,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *398 - tool: *389 + sarif_id: *404 + tool: *395 deletable: type: boolean warning: @@ -59041,7 +59081,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -59077,8 +59117,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: - - *305 - - *306 + - *311 + - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59091,7 +59131,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *405 examples: response: summary: application/json response @@ -59145,7 +59185,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -59227,8 +59267,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: - - *305 - - *306 + - *311 + - *312 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59284,7 +59324,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': *400 + '403': *406 '404': *6 '503': *92 x-github: @@ -59306,8 +59346,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -59315,7 +59355,7 @@ paths: application/json: schema: type: array - items: &401 + items: &407 title: CodeQL Database description: A CodeQL database. type: object @@ -59427,7 +59467,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': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -59456,8 +59496,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: - - *305 - - *306 + - *311 + - *312 - name: language in: path description: The language of the CodeQL database. @@ -59469,7 +59509,7 @@ paths: description: Response content: application/json: - schema: *401 + schema: *407 examples: default: value: @@ -59501,9 +59541,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': &432 + '302': &438 description: Found - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -59525,8 +59565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *305 - - *306 + - *311 + - *312 - name: language in: path description: The language of the CodeQL database. @@ -59536,7 +59576,7 @@ paths: responses: '204': description: Response - '403': *400 + '403': *406 '404': *6 '503': *92 x-github: @@ -59564,8 +59604,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -59574,7 +59614,7 @@ paths: type: object additionalProperties: false properties: - language: &402 + language: &408 type: string description: The language targeted by the CodeQL query enum: @@ -59652,7 +59692,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &406 + schema: &412 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59662,7 +59702,7 @@ paths: description: The ID of the variant analysis. controller_repo: *91 actor: *4 - query_language: *402 + query_language: *408 query_pack_url: type: string description: The download url for the query pack. @@ -59710,7 +59750,7 @@ paths: items: type: object properties: - repository: &403 + repository: &409 title: Repository Identifier description: Repository Identifier type: object @@ -59752,7 +59792,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &407 + analysis_status: &413 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59784,7 +59824,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &404 + access_mismatch_repos: &410 type: object properties: repository_count: @@ -59799,7 +59839,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: *403 + items: *409 required: - repository_count - repositories @@ -59822,8 +59862,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *404 - over_limit_repos: *404 + no_codeql_db_repos: *410 + over_limit_repos: *410 required: - access_mismatch_repos - not_found_repos @@ -59839,7 +59879,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &405 + value: &411 summary: Default response value: id: 1 @@ -59991,10 +60031,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *405 + value: *411 repository_lists: summary: Response for a successful variant analysis submission - value: *405 + value: *411 '404': *6 '422': description: Unable to process variant analysis submission @@ -60022,8 +60062,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: - - *305 - - *306 + - *311 + - *312 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60035,9 +60075,9 @@ paths: description: Response content: application/json: - schema: *406 + schema: *412 examples: - default: *405 + default: *411 '404': *6 '503': *92 x-github: @@ -60060,7 +60100,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: - - *305 + - *311 - name: repo in: path description: The name of the controller repository. @@ -60095,7 +60135,7 @@ paths: type: object properties: repository: *91 - analysis_status: *407 + analysis_status: *413 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60220,8 +60260,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -60286,7 +60326,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *391 + '403': *397 '404': *6 '503': *92 x-github: @@ -60307,8 +60347,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -60353,7 +60393,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -60378,7 +60418,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *400 + '403': *406 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -60443,8 +60483,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -60452,7 +60492,7 @@ paths: schema: type: object properties: - commit_sha: *408 + commit_sha: *414 ref: type: string description: |- @@ -60512,7 +60552,7 @@ paths: schema: type: object properties: - id: *398 + id: *404 url: type: string description: The REST API URL for checking the status of the upload. @@ -60526,7 +60566,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': *400 + '403': *406 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -60549,8 +60589,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: - - *305 - - *306 + - *311 + - *312 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60598,7 +60638,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': *391 + '403': *397 '404': description: Not Found if the sarif id does not match any upload '503': *92 @@ -60623,8 +60663,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -60648,7 +60688,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *174 + configuration: *180 examples: default: value: @@ -60677,7 +60717,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': *177 + '204': *183 '304': *35 '403': *27 '404': *6 @@ -60702,8 +60742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *305 - - *306 + - *311 + - *312 - 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 @@ -60831,8 +60871,8 @@ paths: parameters: - *17 - *18 - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -60848,7 +60888,7 @@ paths: type: integer codespaces: type: array - items: *227 + items: *233 examples: default: value: @@ -61146,8 +61186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -61211,17 +61251,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '400': *14 '401': *23 '403': *27 @@ -61250,8 +61290,8 @@ paths: parameters: - *17 - *18 - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -61315,8 +61355,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: - - *305 - - *306 + - *311 + - *312 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -61353,9 +61393,9 @@ paths: type: integer machines: type: array - items: *410 + items: *416 examples: - default: &633 + default: &639 value: total_count: 2 machines: @@ -61395,8 +61435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *305 - - *306 + - *311 + - *312 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -61483,8 +61523,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: - - *305 - - *306 + - *311 + - *312 - 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 @@ -61553,8 +61593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -61572,7 +61612,7 @@ paths: type: integer secrets: type: array - items: &414 + items: &420 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61593,7 +61633,7 @@ paths: - created_at - updated_at examples: - default: *411 + default: *417 headers: Link: *37 x-github: @@ -61616,16 +61656,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *412 + schema: *418 examples: - default: *413 + default: *419 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61645,17 +61685,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '200': description: Response content: application/json: - schema: *414 + schema: *420 examples: - default: *415 + default: *421 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61675,9 +61715,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: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 requestBody: required: true content: @@ -61705,7 +61745,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -61729,9 +61769,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '204': description: Response @@ -61759,8 +61799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *305 - - *306 + - *311 + - *312 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61798,7 +61838,7 @@ paths: application/json: schema: type: array - items: &416 + items: &422 title: Collaborator description: Collaborator type: object @@ -61991,9 +62031,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: - - *305 - - *306 - - *168 + - *311 + - *312 + - *174 responses: '204': description: Response if user is a collaborator @@ -62035,9 +62075,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *305 - - *306 - - *168 + - *311 + - *312 + - *174 requestBody: required: false content: @@ -62063,7 +62103,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &480 + schema: &486 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62075,7 +62115,7 @@ paths: format: int64 examples: - 42 - repository: *146 + repository: *152 invitee: anyOf: - type: 'null' @@ -62284,9 +62324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *305 - - *306 - - *168 + - *311 + - *312 + - *174 responses: '204': description: No Content when collaborator was removed from the repository. @@ -62315,9 +62355,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *305 - - *306 - - *168 + - *311 + - *312 + - *174 responses: '200': description: if user has admin permissions @@ -62337,7 +62377,7 @@ paths: user: anyOf: - type: 'null' - - *416 + - *422 required: - permission - role_name @@ -62391,8 +62431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -62402,7 +62442,7 @@ paths: application/json: schema: type: array - items: &417 + items: &423 title: Commit Comment description: Commit Comment type: object @@ -62460,7 +62500,7 @@ paths: - created_at - updated_at examples: - default: &420 + default: &426 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62519,17 +62559,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '200': description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: &421 + default: &427 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62586,8 +62626,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -62610,7 +62650,7 @@ paths: description: Response content: application/json: - schema: *417 + schema: *423 examples: default: value: @@ -62661,8 +62701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '204': @@ -62684,8 +62724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -62712,9 +62752,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 @@ -62735,8 +62775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -62769,16 +62809,16 @@ paths: description: Reaction exists content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Reaction created content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -62800,10 +62840,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *305 - - *306 + - *311 + - *312 - *111 - - *297 + - *303 responses: '204': description: Response @@ -62851,8 +62891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *305 - - *306 + - *311 + - *312 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -62908,9 +62948,9 @@ paths: application/json: schema: type: array - items: *418 + items: *424 examples: - default: &527 + default: &533 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62983,7 +63023,7 @@ paths: '500': *80 '400': *14 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63003,9 +63043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *305 - - *306 - - &419 + - *311 + - *312 + - &425 name: commit_sha description: The SHA of the commit. in: path @@ -63052,7 +63092,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63077,9 +63117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *305 - - *306 - - *419 + - *311 + - *312 + - *425 - *17 - *18 responses: @@ -63089,9 +63129,9 @@ paths: application/json: schema: type: array - items: *417 + items: *423 examples: - default: *420 + default: *426 headers: Link: *37 x-github: @@ -63119,9 +63159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *305 - - *306 - - *419 + - *311 + - *312 + - *425 requestBody: required: true content: @@ -63156,9 +63196,9 @@ paths: description: Response content: application/json: - schema: *417 + schema: *423 examples: - default: *421 + default: *427 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63186,9 +63226,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: - - *305 - - *306 - - *419 + - *311 + - *312 + - *425 - *17 - *18 responses: @@ -63198,7 +63238,7 @@ paths: application/json: schema: type: array - items: &518 + items: &524 title: Pull Request Simple description: Pull Request Simple type: object @@ -63318,7 +63358,7 @@ paths: milestone: anyOf: - type: 'null' - - *422 + - *428 active_lock_reason: type: - string @@ -63373,7 +63413,7 @@ paths: type: - array - 'null' - items: *223 + items: *229 head: type: object properties: @@ -63417,7 +63457,7 @@ paths: _links: type: object properties: - comments: &423 + comments: &429 title: Link description: Hypermedia Link type: object @@ -63426,13 +63466,13 @@ paths: type: string required: - href - commits: *423 - statuses: *423 - html: *423 - issue: *423 - review_comments: *423 - review_comment: *423 - self: *423 + commits: *429 + statuses: *429 + html: *429 + issue: *429 + review_comments: *429 + review_comment: *429 + self: *429 required: - comments - commits @@ -63443,7 +63483,7 @@ paths: - review_comment - self author_association: *99 - auto_merge: &520 + auto_merge: &526 title: Auto merge description: The status of auto merging a pull request. type: @@ -63508,7 +63548,7 @@ paths: - author_association - auto_merge examples: - default: &519 + default: &525 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -63988,7 +64028,7 @@ paths: draft: false headers: Link: *37 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64044,11 +64084,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *305 - - *306 + - *311 + - *312 - *18 - *17 - - &424 + - &430 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)" @@ -64063,9 +64103,9 @@ paths: description: Response content: application/json: - schema: *418 + schema: *424 examples: - default: &506 + default: &512 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64152,7 +64192,7 @@ paths: '404': *6 '500': *80 '503': *92 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64177,11 +64217,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: - - *305 - - *306 - - *424 - - *425 - - *426 + - *311 + - *312 + - *430 + - *431 + - *432 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64215,9 +64255,9 @@ paths: type: integer check_runs: type: array - items: *376 + items: *382 examples: - default: *427 + default: *433 headers: Link: *37 x-github: @@ -64242,9 +64282,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: - - *305 - - *306 - - *424 + - *311 + - *312 + - *430 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64252,7 +64292,7 @@ paths: schema: type: integer example: 1 - - *425 + - *431 - *17 - *18 responses: @@ -64270,7 +64310,7 @@ paths: type: integer check_suites: type: array - items: *380 + items: *386 examples: default: value: @@ -64470,9 +64510,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: - - *305 - - *306 - - *424 + - *311 + - *312 + - *430 - *17 - *18 responses: @@ -64543,7 +64583,7 @@ paths: type: string total_count: type: integer - repository: *146 + repository: *152 commit_url: type: string format: uri @@ -64674,9 +64714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *305 - - *306 - - *424 + - *311 + - *312 + - *430 - *17 - *18 responses: @@ -64686,7 +64726,7 @@ paths: application/json: schema: type: array - items: &581 + items: &587 title: Status description: The status of a commit. type: object @@ -64767,7 +64807,7 @@ paths: site_admin: false headers: Link: *37 - '301': *319 + '301': *325 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64795,8 +64835,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -64829,11 +64869,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *428 + - *434 code_of_conduct_file: anyOf: - type: 'null' - - &429 + - &435 title: Community Health File type: object properties: @@ -64853,19 +64893,19 @@ paths: contributing: anyOf: - type: 'null' - - *429 + - *435 readme: anyOf: - type: 'null' - - *429 + - *435 issue_template: anyOf: - type: 'null' - - *429 + - *435 pull_request_template: anyOf: - type: 'null' - - *429 + - *435 required: - code_of_conduct - code_of_conduct_file @@ -64993,8 +65033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *305 - - *306 + - *311 + - *312 - *18 - *17 - name: basehead @@ -65042,8 +65082,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *418 - merge_base_commit: *418 + base_commit: *424 + merge_base_commit: *424 status: type: string enum: @@ -65067,10 +65107,10 @@ paths: - 6 commits: type: array - items: *418 + items: *424 files: type: array - items: *430 + items: *436 required: - url - html_url @@ -65353,8 +65393,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *305 - - *306 + - *311 + - *312 - name: path description: path parameter in: path @@ -65505,7 +65545,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &431 + response-if-content-is-a-file: &437 summary: Response if content is a file value: type: file @@ -65642,7 +65682,7 @@ paths: - size - type - url - - &532 + - &538 title: Content File description: Content File type: object @@ -65860,7 +65900,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *431 + response-if-content-is-a-file: *437 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -65929,7 +65969,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *432 + '302': *438 '304': *35 x-github: githubCloudOnly: false @@ -65952,8 +65992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *305 - - *306 + - *311 + - *312 - name: path description: path parameter in: path @@ -66048,7 +66088,7 @@ paths: description: Response content: application/json: - schema: &433 + schema: &439 title: File Commit description: File Commit type: object @@ -66199,7 +66239,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *439 examples: example-for-creating-a-file: value: @@ -66252,7 +66292,7 @@ paths: schema: oneOf: - *3 - - &462 + - &468 description: Repository rule violation was detected type: object properties: @@ -66273,7 +66313,7 @@ paths: items: type: object properties: - placeholder_id: &574 + placeholder_id: &580 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66305,8 +66345,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *305 - - *306 + - *311 + - *312 - name: path description: path parameter in: path @@ -66367,7 +66407,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *439 examples: default: value: @@ -66400,7 +66440,7 @@ paths: payload: '422': *15 '404': *6 - '409': *133 + '409': *139 '503': *92 x-github: githubCloudOnly: false @@ -66421,8 +66461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *305 - - *306 + - *311 + - *312 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66546,20 +66586,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *305 - - *306 - - *187 - - *188 - - *189 - - *190 + - *311 + - *312 + - *193 + - *194 + - *195 + - *196 - 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 - - *191 - - *192 + - *197 + - *198 - *76 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -66579,8 +66619,8 @@ paths: default: 30 - *74 - *75 - - *193 - - *194 + - *199 + - *200 responses: '200': description: Response @@ -66588,7 +66628,7 @@ paths: application/json: schema: type: array - items: &436 + items: &442 type: object description: A Dependabot alert. properties: @@ -66623,7 +66663,7 @@ paths: - development - runtime - - security_advisory: *434 + security_advisory: *440 security_vulnerability: *84 url: *85 html_url: *86 @@ -66654,7 +66694,7 @@ paths: dismissal. maxLength: 280 fixed_at: *90 - auto_dismissed_at: *435 + auto_dismissed_at: *441 required: - number - state @@ -66881,9 +66921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *305 - - *306 - - &437 + - *311 + - *312 + - &443 name: alert_number in: path description: |- @@ -66898,7 +66938,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *442 examples: default: value: @@ -67008,9 +67048,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *305 - - *306 - - *437 + - *311 + - *312 + - *443 requestBody: required: true content: @@ -67055,7 +67095,7 @@ paths: description: Response content: application/json: - schema: *436 + schema: *442 examples: default: value: @@ -67161,7 +67201,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *133 + '409': *139 '422': *7 x-github: githubCloudOnly: false @@ -67184,8 +67224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -67203,7 +67243,7 @@ paths: type: integer secrets: type: array - items: &440 + items: &446 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67257,16 +67297,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *438 + schema: *444 examples: - default: *439 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67286,15 +67326,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '200': description: Response content: application/json: - schema: *440 + schema: *446 examples: default: value: @@ -67320,9 +67360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 requestBody: required: true content: @@ -67350,7 +67390,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -67374,9 +67414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *305 - - *306 - - *156 + - *311 + - *312 + - *162 responses: '204': description: Response @@ -67398,8 +67438,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: - - *305 - - *306 + - *311 + - *312 - 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 @@ -67573,8 +67613,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -67834,8 +67874,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -67918,7 +67958,7 @@ paths: - version - url additionalProperties: false - metadata: &441 + metadata: &447 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -67957,7 +67997,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *441 + metadata: *447 resolved: type: object description: A collection of resolved package dependencies. @@ -67971,7 +68011,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *441 + metadata: *447 relationship: type: string description: A notation of whether a dependency is requested @@ -68104,8 +68144,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *305 - - *306 + - *311 + - *312 - name: sha description: The SHA recorded at creation time. in: query @@ -68146,9 +68186,9 @@ paths: application/json: schema: type: array - items: *442 + items: *448 examples: - default: *443 + default: *449 headers: Link: *37 x-github: @@ -68214,8 +68254,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -68297,7 +68337,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *448 examples: simple-example: summary: Simple example @@ -68370,9 +68410,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *305 - - *306 - - &444 + - *311 + - *312 + - &450 name: deployment_id description: deployment_id parameter in: path @@ -68384,7 +68424,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *448 examples: default: value: @@ -68449,9 +68489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *305 - - *306 - - *444 + - *311 + - *312 + - *450 responses: '204': description: Response @@ -68473,9 +68513,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *305 - - *306 - - *444 + - *311 + - *312 + - *450 - *17 - *18 responses: @@ -68485,7 +68525,7 @@ paths: application/json: schema: type: array - items: &445 + items: &451 title: Deployment Status description: The status of a deployment. type: object @@ -68649,9 +68689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *305 - - *306 - - *444 + - *311 + - *312 + - *450 requestBody: required: true content: @@ -68726,9 +68766,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *451 examples: - default: &446 + default: &452 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68784,9 +68824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *305 - - *306 - - *444 + - *311 + - *312 + - *450 - name: status_id in: path required: true @@ -68797,9 +68837,9 @@ paths: description: Response content: application/json: - schema: *445 + schema: *451 examples: - default: *446 + default: *452 '404': *6 x-github: githubCloudOnly: false @@ -68824,8 +68864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -68882,8 +68922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -68901,7 +68941,7 @@ paths: - 5 environments: type: array - items: &448 + items: &454 title: Environment description: Details of a deployment environment type: object @@ -68963,7 +69003,7 @@ paths: type: string examples: - wait_timer - wait_timer: &450 + wait_timer: &456 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -69005,11 +69045,11 @@ paths: items: type: object properties: - type: *447 + type: *453 reviewer: anyOf: - *4 - - *223 + - *229 required: - id - node_id @@ -69032,7 +69072,7 @@ paths: - id - node_id - type - deployment_branch_policy: &451 + deployment_branch_policy: &457 type: - object - 'null' @@ -69149,9 +69189,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *305 - - *306 - - &449 + - *311 + - *312 + - &455 name: environment_name in: path required: true @@ -69164,9 +69204,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *454 examples: - default: &452 + default: &458 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69250,9 +69290,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 requestBody: required: false content: @@ -69262,7 +69302,7 @@ paths: - object - 'null' properties: - wait_timer: *450 + wait_timer: *456 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -69281,14 +69321,14 @@ paths: items: type: object properties: - type: *447 + type: *453 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *451 + deployment_branch_policy: *457 additionalProperties: false examples: default: @@ -69308,9 +69348,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *454 examples: - default: *452 + default: *458 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69334,9 +69374,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 responses: '204': description: Default response @@ -69361,9 +69401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 - *17 - *18 responses: @@ -69382,7 +69422,7 @@ paths: - 2 branch_policies: type: array - items: &453 + items: &459 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69443,9 +69483,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 requestBody: required: true content: @@ -69493,9 +69533,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *459 examples: - example-wildcard: &454 + example-wildcard: &460 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69537,10 +69577,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *305 - - *306 - - *449 - - &455 + - *311 + - *312 + - *455 + - &461 name: branch_policy_id in: path required: true @@ -69552,9 +69592,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *459 examples: - default: *454 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69573,10 +69613,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *305 - - *306 - - *449 + - *311 + - *312 - *455 + - *461 requestBody: required: true content: @@ -69605,9 +69645,9 @@ paths: description: Response content: application/json: - schema: *453 + schema: *459 examples: - default: *454 + default: *460 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69626,10 +69666,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *305 - - *306 - - *449 + - *311 + - *312 - *455 + - *461 responses: '204': description: Response @@ -69654,9 +69694,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: - - *449 - - *306 - - *305 + - *455 + - *312 + - *311 responses: '200': description: List of deployment protection rules @@ -69673,7 +69713,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &456 + items: &462 title: Deployment protection rule description: Deployment protection rule type: object @@ -69695,7 +69735,7 @@ paths: for the environment. examples: - true - app: &457 + app: &463 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69798,9 +69838,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: - - *449 - - *306 - - *305 + - *455 + - *312 + - *311 requestBody: content: application/json: @@ -69821,9 +69861,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *456 + schema: *462 examples: - default: &458 + default: &464 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69858,9 +69898,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: - - *449 - - *306 - - *305 + - *455 + - *312 + - *311 - *18 - *17 responses: @@ -69880,7 +69920,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *457 + items: *463 examples: default: value: @@ -69915,10 +69955,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: - - *305 - - *306 - - *449 - - &459 + - *311 + - *312 + - *455 + - &465 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -69930,9 +69970,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *462 examples: - default: *458 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69953,10 +69993,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: - - *449 - - *306 - - *305 - - *459 + - *455 + - *312 + - *311 + - *465 responses: '204': description: Response @@ -69982,9 +70022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 - *17 - *18 responses: @@ -70002,9 +70042,9 @@ paths: type: integer secrets: type: array - items: *342 + items: *348 examples: - default: *343 + default: *349 headers: Link: *37 x-github: @@ -70029,17 +70069,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 responses: '200': description: Response content: application/json: - schema: *344 + schema: *350 examples: - default: *345 + default: *351 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70061,18 +70101,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *305 - - *306 - - *449 - - *156 + - *311 + - *312 + - *455 + - *162 responses: '200': description: Response content: application/json: - schema: *342 + schema: *348 examples: - default: *460 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70094,10 +70134,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *305 - - *306 - - *449 - - *156 + - *311 + - *312 + - *455 + - *162 requestBody: required: true content: @@ -70128,7 +70168,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -70154,10 +70194,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *305 - - *306 - - *449 - - *156 + - *311 + - *312 + - *455 + - *162 responses: '204': description: Default response @@ -70182,10 +70222,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *305 - - *306 - - *449 - - *329 + - *311 + - *312 + - *455 + - *335 - *18 responses: '200': @@ -70202,9 +70242,9 @@ paths: type: integer variables: type: array - items: *346 + items: *352 examples: - default: *347 + default: *353 headers: Link: *37 x-github: @@ -70227,9 +70267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *305 - - *306 - - *449 + - *311 + - *312 + - *455 requestBody: required: true content: @@ -70256,7 +70296,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -70281,18 +70321,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *305 - - *306 - - *449 - - *159 + - *311 + - *312 + - *455 + - *165 responses: '200': description: Response content: application/json: - schema: *346 + schema: *352 examples: - default: *461 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70313,10 +70353,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *305 - - *306 - - *159 - - *449 + - *311 + - *312 + - *165 + - *455 requestBody: required: true content: @@ -70358,10 +70398,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *305 - - *306 - - *159 - - *449 + - *311 + - *312 + - *165 + - *455 responses: '204': description: Response @@ -70383,8 +70423,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -70461,8 +70501,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *305 - - *306 + - *311 + - *312 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70484,7 +70524,7 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: default: value: @@ -70621,8 +70661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -70655,9 +70695,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 + default: *326 '400': *14 '422': *15 '403': *27 @@ -70678,8 +70718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -70730,7 +70770,7 @@ paths: schema: type: string '404': *6 - '409': *133 + '409': *139 '403': *27 '422': description: Validation failed @@ -70738,8 +70778,8 @@ paths: application/json: schema: oneOf: - - *131 - - *462 + - *137 + - *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70764,8 +70804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *305 - - *306 + - *311 + - *312 - name: file_sha in: path required: true @@ -70817,7 +70857,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70864,8 +70904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -70974,7 +71014,7 @@ paths: description: Response content: application/json: - schema: &463 + schema: &469 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -71145,7 +71185,7 @@ paths: type: string '422': *15 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71194,15 +71234,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *305 - - *306 - - *419 + - *311 + - *312 + - *425 responses: '200': description: Response content: application/json: - schema: *463 + schema: *469 examples: default: value: @@ -71232,7 +71272,7 @@ paths: signature: payload: '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71257,9 +71297,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *305 - - *306 - - &464 + - *311 + - *312 + - &470 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. @@ -71276,7 +71316,7 @@ paths: application/json: schema: type: array - items: &465 + items: &471 title: Git Reference description: Git references within a repository type: object @@ -71331,7 +71371,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *37 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71352,17 +71392,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *305 - - *306 - - *464 + - *311 + - *312 + - *470 responses: '200': description: Response content: application/json: - schema: *465 + schema: *471 examples: - default: &466 + default: &472 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71372,7 +71412,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71391,8 +71431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -71421,16 +71461,16 @@ paths: description: Response content: application/json: - schema: *465 + schema: *471 examples: - default: *466 + default: *472 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71449,9 +71489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *305 - - *306 - - *464 + - *311 + - *312 + - *470 requestBody: required: true content: @@ -71480,11 +71520,11 @@ paths: description: Response content: application/json: - schema: *465 + schema: *471 examples: - default: *466 + default: *472 '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71500,14 +71540,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *305 - - *306 - - *464 + - *311 + - *312 + - *470 responses: '204': description: Response '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71554,8 +71594,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -71622,7 +71662,7 @@ paths: description: Response content: application/json: - schema: &468 + schema: &474 title: Git Tag description: Metadata for a Git tag type: object @@ -71678,7 +71718,7 @@ paths: - sha - type - url - verification: *467 + verification: *473 required: - sha - url @@ -71688,7 +71728,7 @@ paths: - tag - message examples: - default: &469 + default: &475 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71714,7 +71754,7 @@ paths: schema: type: string '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71759,8 +71799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *305 - - *306 + - *311 + - *312 - name: tag_sha in: path required: true @@ -71771,11 +71811,11 @@ paths: description: Response content: application/json: - schema: *468 + schema: *474 examples: - default: *469 + default: *475 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71797,8 +71837,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -71872,7 +71912,7 @@ paths: description: Response content: application/json: - schema: &470 + schema: &476 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -71967,7 +72007,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71990,8 +72030,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *305 - - *306 + - *311 + - *312 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72014,7 +72054,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *476 examples: default-response: summary: Default response @@ -72055,7 +72095,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72073,8 +72113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -72084,7 +72124,7 @@ paths: application/json: schema: type: array - items: &471 + items: &477 title: Webhook description: Webhooks for repositories. type: object @@ -72147,7 +72187,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &707 + last_response: &713 title: Hook Response type: object properties: @@ -72224,8 +72264,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -72278,9 +72318,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *477 examples: - default: &472 + default: &478 value: type: Repository id: 12345678 @@ -72328,17 +72368,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '200': description: Response content: application/json: - schema: *471 + schema: *477 examples: - default: *472 + default: *478 '404': *6 x-github: githubCloudOnly: false @@ -72358,9 +72398,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 requestBody: required: true content: @@ -72405,9 +72445,9 @@ paths: description: Response content: application/json: - schema: *471 + schema: *477 examples: - default: *472 + default: *478 '422': *15 '404': *6 x-github: @@ -72425,9 +72465,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '204': description: Response @@ -72451,9 +72491,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: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '200': description: Response @@ -72480,9 +72520,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: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 requestBody: required: false content: @@ -72526,11 +72566,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 - *17 - - *201 + - *207 responses: '200': description: Response @@ -72538,9 +72578,9 @@ paths: application/json: schema: type: array - items: *202 + items: *208 examples: - default: *203 + default: *209 '400': *14 '422': *15 x-github: @@ -72559,18 +72599,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: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 - *16 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: - default: *205 + default: *211 '400': *14 '422': *15 x-github: @@ -72589,12 +72629,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 - *16 responses: - '202': *134 + '202': *140 '400': *14 '422': *15 x-github: @@ -72614,9 +72654,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '204': description: Response @@ -72641,9 +72681,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *305 - - *306 - - *200 + - *311 + - *312 + - *206 responses: '204': description: Response @@ -72701,14 +72741,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &473 + schema: &479 title: Import description: A repository import from an external source. type: object @@ -72815,7 +72855,7 @@ paths: - html_url - authors_url examples: - default: &476 + default: &482 value: vcs: subversion use_lfs: true @@ -72831,7 +72871,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': &474 + '503': &480 description: Unavailable due to service under maintenance. content: application/json: @@ -72860,8 +72900,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -72909,7 +72949,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *479 examples: default: value: @@ -72934,7 +72974,7 @@ paths: type: string '422': *15 '404': *6 - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72962,8 +73002,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -73015,7 +73055,7 @@ paths: description: Response content: application/json: - schema: *473 + schema: *479 examples: example-1: summary: Example 1 @@ -73063,7 +73103,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': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73086,12 +73126,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73117,9 +73157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *305 - - *306 - - &656 + - *311 + - *312 + - &662 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73133,7 +73173,7 @@ paths: application/json: schema: type: array - items: &475 + items: &481 title: Porter Author description: Porter Author type: object @@ -73187,7 +73227,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': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73212,8 +73252,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *305 - - *306 + - *311 + - *312 - name: author_id in: path required: true @@ -73243,7 +73283,7 @@ paths: description: Response content: application/json: - schema: *475 + schema: *481 examples: default: value: @@ -73256,7 +73296,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73280,8 +73320,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -73322,7 +73362,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73350,8 +73390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -73378,11 +73418,11 @@ paths: description: Response content: application/json: - schema: *473 + schema: *479 examples: - default: *476 + default: *482 '422': *15 - '503': *474 + '503': *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73405,8 +73445,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -73414,8 +73454,8 @@ paths: application/json: schema: *20 examples: - default: *477 - '301': *319 + default: *483 + '301': *325 '404': *6 x-github: githubCloudOnly: false @@ -73435,8 +73475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -73444,12 +73484,12 @@ paths: application/json: schema: anyOf: - - *218 + - *224 - type: object properties: {} additionalProperties: false examples: - default: &479 + default: &485 value: limit: collaborators_only origin: repository @@ -73474,13 +73514,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: application/json: - schema: *478 + schema: *484 examples: default: summary: Example request body @@ -73492,9 +73532,9 @@ paths: description: Response content: application/json: - schema: *218 + schema: *224 examples: - default: *479 + default: *485 '409': description: Response x-github: @@ -73516,8 +73556,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -73540,8 +73580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -73551,9 +73591,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: &649 + default: &655 value: - id: 1 repository: @@ -73684,9 +73724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *305 - - *306 - - *222 + - *311 + - *312 + - *228 requestBody: required: false content: @@ -73715,7 +73755,7 @@ paths: description: Response content: application/json: - schema: *480 + schema: *486 examples: default: value: @@ -73846,9 +73886,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *305 - - *306 - - *222 + - *311 + - *312 + - *228 responses: '204': description: Response @@ -73879,8 +73919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *305 - - *306 + - *311 + - *312 - 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 @@ -73920,7 +73960,7 @@ paths: required: false schema: type: string - - *224 + - *230 - name: sort description: What to sort results by. in: query @@ -74093,7 +74133,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *319 + '301': *325 '422': *15 '404': *6 x-github: @@ -74122,8 +74162,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -74206,7 +74246,7 @@ paths: application/json: schema: *112 examples: - default: &484 + default: &490 value: id: 1 node_id: MDU6SXNzdWUx @@ -74362,7 +74402,7 @@ paths: '422': *15 '503': *92 '404': *6 - '410': *316 + '410': *322 x-github: triggersNotification: true githubCloudOnly: false @@ -74390,8 +74430,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *121 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -74412,9 +74452,9 @@ paths: application/json: schema: type: array - items: *481 + items: *487 examples: - default: &486 + default: &492 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74472,17 +74512,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '200': description: Response content: application/json: - schema: *481 + schema: *487 examples: - default: &482 + default: &488 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74536,8 +74576,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -74560,9 +74600,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *487 examples: - default: *482 + default: *488 '422': *15 x-github: githubCloudOnly: false @@ -74580,8 +74620,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '204': @@ -74602,8 +74642,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -74630,9 +74670,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 @@ -74653,8 +74693,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -74687,16 +74727,16 @@ paths: description: Reaction exists content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Reaction created content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -74718,10 +74758,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *305 - - *306 + - *311 + - *312 - *111 - - *297 + - *303 responses: '204': description: Response @@ -74741,8 +74781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -74752,7 +74792,7 @@ paths: application/json: schema: type: array - items: &483 + items: &489 title: Issue Event description: Issue Event type: object @@ -74832,7 +74872,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *223 + requested_team: *229 dismissed_review: title: Issue Event Dismissed Review type: object @@ -75091,8 +75131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *305 - - *306 + - *311 + - *312 - name: event_id in: path required: true @@ -75103,7 +75143,7 @@ paths: description: Response content: application/json: - schema: *483 + schema: *489 examples: default: value: @@ -75296,7 +75336,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *316 + '410': *322 '403': *27 x-github: githubCloudOnly: false @@ -75330,9 +75370,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *305 - - *306 - - &485 + - *311 + - *312 + - &491 name: issue_number description: The number that identifies the issue. in: path @@ -75346,10 +75386,10 @@ paths: application/json: schema: *112 examples: - default: *484 - '301': *319 + default: *490 + '301': *325 '404': *6 - '410': *316 + '410': *322 '304': *35 x-github: githubCloudOnly: false @@ -75374,9 +75414,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -75486,13 +75526,13 @@ paths: application/json: schema: *112 examples: - default: *484 + default: *490 '422': *15 '503': *92 '403': *27 - '301': *319 + '301': *325 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75510,9 +75550,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -75540,7 +75580,7 @@ paths: application/json: schema: *112 examples: - default: *484 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75556,9 +75596,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: content: application/json: @@ -75585,7 +75625,7 @@ paths: application/json: schema: *112 examples: - default: *484 + default: *490 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75607,9 +75647,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: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - name: assignee in: path required: true @@ -75649,9 +75689,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - *102 - *17 - *18 @@ -75662,13 +75702,13 @@ paths: application/json: schema: type: array - items: *481 + items: *487 examples: - default: *486 + default: *492 headers: Link: *37 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75697,9 +75737,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: true content: @@ -75721,16 +75761,16 @@ paths: description: Response content: application/json: - schema: *481 + schema: *487 examples: - default: *482 + default: *488 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *316 + '410': *322 '422': *15 '404': *6 x-github: @@ -75750,9 +75790,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - *17 - *18 responses: @@ -75766,7 +75806,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &489 + - &495 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75815,7 +75855,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &490 + - &496 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -75943,7 +75983,7 @@ paths: - performed_via_github_app - assignee - assigner - - &491 + - &497 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -75989,7 +76029,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &492 + - &498 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76035,7 +76075,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &493 + - &499 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76084,7 +76124,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &494 + - &500 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76113,7 +76153,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *223 + requested_team: *229 requested_reviewer: *4 required: - review_requester @@ -76126,7 +76166,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &495 + - &501 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76155,7 +76195,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *223 + requested_team: *229 requested_reviewer: *4 required: - review_requester @@ -76168,7 +76208,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &496 + - &502 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76224,7 +76264,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &503 title: Locked Issue Event description: Locked Issue Event type: object @@ -76269,7 +76309,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &498 + - &504 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76330,7 +76370,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &505 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76391,7 +76431,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &500 + - &506 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76452,7 +76492,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &507 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76545,7 +76585,7 @@ paths: color: red headers: Link: *37 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76562,9 +76602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - *17 - *18 responses: @@ -76574,7 +76614,7 @@ paths: application/json: schema: type: array - items: &487 + items: &493 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -76629,7 +76669,7 @@ paths: - color - default examples: - default: &488 + default: &494 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76647,9 +76687,9 @@ paths: default: false headers: Link: *37 - '301': *319 + '301': *325 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76666,9 +76706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -76727,12 +76767,12 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: - default: *488 - '301': *319 + default: *494 + '301': *325 '404': *6 - '410': *316 + '410': *322 '422': *15 x-github: githubCloudOnly: false @@ -76749,9 +76789,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -76811,12 +76851,12 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: - default: *488 - '301': *319 + default: *494 + '301': *325 '404': *6 - '410': *316 + '410': *322 '422': *15 x-github: githubCloudOnly: false @@ -76833,15 +76873,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 responses: '204': description: Response - '301': *319 + '301': *325 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76860,9 +76900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - name: name in: path required: true @@ -76875,7 +76915,7 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: default: value: @@ -76886,9 +76926,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *319 + '301': *325 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76908,9 +76948,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: false content: @@ -76939,7 +76979,7 @@ paths: '204': description: Response '403': *27 - '410': *316 + '410': *322 '404': *6 '422': *15 x-github: @@ -76957,9 +76997,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 responses: '204': description: Response @@ -76981,9 +77021,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - 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. @@ -77009,13 +77049,13 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77033,9 +77073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 requestBody: required: true content: @@ -77067,16 +77107,16 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -77098,10 +77138,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *305 - - *306 - - *485 - - *297 + - *311 + - *312 + - *491 + - *303 responses: '204': description: Response @@ -77121,9 +77161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *305 - - *306 - - *485 + - *311 + - *312 + - *491 - *17 - *18 responses: @@ -77138,12 +77178,6 @@ paths: description: Timeline Event type: object anyOf: - - *489 - - *490 - - *491 - - *492 - - *493 - - *494 - *495 - *496 - *497 @@ -77151,6 +77185,12 @@ paths: - *499 - *500 - *501 + - *502 + - *503 + - *504 + - *505 + - *506 + - *507 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -77469,7 +77509,7 @@ paths: type: string comments: type: array - items: &521 + items: &527 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -77707,7 +77747,7 @@ paths: type: string comments: type: array - items: *417 + items: *423 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -77982,7 +78022,7 @@ paths: headers: Link: *37 '404': *6 - '410': *316 + '410': *322 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77999,8 +78039,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -78010,7 +78050,7 @@ paths: application/json: schema: type: array - items: &502 + items: &508 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78077,8 +78117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78114,9 +78154,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *508 examples: - default: &503 + default: &509 value: id: 1 key: ssh-rsa AAA... @@ -78150,9 +78190,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *305 - - *306 - - &504 + - *311 + - *312 + - &510 name: key_id description: The unique identifier of the key. in: path @@ -78164,9 +78204,9 @@ paths: description: Response content: application/json: - schema: *502 + schema: *508 examples: - default: *503 + default: *509 '404': *6 x-github: githubCloudOnly: false @@ -78184,9 +78224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *305 - - *306 - - *504 + - *311 + - *312 + - *510 responses: '204': description: Response @@ -78206,8 +78246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -78217,9 +78257,9 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: - default: *488 + default: *494 headers: Link: *37 '404': *6 @@ -78240,8 +78280,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78277,9 +78317,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *493 examples: - default: &505 + default: &511 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78311,8 +78351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *305 - - *306 + - *311 + - *312 - name: name in: path required: true @@ -78323,9 +78363,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *493 examples: - default: *505 + default: *511 '404': *6 x-github: githubCloudOnly: false @@ -78342,8 +78382,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *305 - - *306 + - *311 + - *312 - name: name in: path required: true @@ -78382,7 +78422,7 @@ paths: description: Response content: application/json: - schema: *487 + schema: *493 examples: default: value: @@ -78408,8 +78448,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *305 - - *306 + - *311 + - *312 - name: name in: path required: true @@ -78435,8 +78475,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -78472,10 +78512,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: - '202': *134 + '202': *140 '403': description: |- We will return a 403 with one of the following messages: @@ -78501,8 +78541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -78528,9 +78568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *305 - - *306 - - *394 + - *311 + - *312 + - *400 responses: '200': description: Response @@ -78677,8 +78717,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78743,8 +78783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78778,9 +78818,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *418 + schema: *424 examples: - default: *506 + default: *512 '204': description: Response when already merged '404': @@ -78805,8 +78845,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *305 - - *306 + - *311 + - *312 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -78847,7 +78887,7 @@ paths: application/json: schema: type: array - items: *422 + items: *428 examples: default: value: @@ -78903,8 +78943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -78944,9 +78984,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: &507 + default: &513 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79005,9 +79045,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *305 - - *306 - - &508 + - *311 + - *312 + - &514 name: milestone_number description: The number that identifies the milestone. in: path @@ -79019,9 +79059,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: *507 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -79038,9 +79078,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *305 - - *306 - - *508 + - *311 + - *312 + - *514 requestBody: required: false content: @@ -79078,9 +79118,9 @@ paths: description: Response content: application/json: - schema: *422 + schema: *428 examples: - default: *507 + default: *513 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79096,9 +79136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *305 - - *306 - - *508 + - *311 + - *312 + - *514 responses: '204': description: Response @@ -79119,9 +79159,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: - - *305 - - *306 - - *508 + - *311 + - *312 + - *514 - *17 - *18 responses: @@ -79131,9 +79171,9 @@ paths: application/json: schema: type: array - items: *487 + items: *493 examples: - default: *488 + default: *494 headers: Link: *37 x-github: @@ -79152,12 +79192,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: - - *305 - - *306 - - *509 - - *510 + - *311 + - *312 + - *515 + - *516 - *102 - - *511 + - *517 - *17 - *18 responses: @@ -79169,7 +79209,7 @@ paths: type: array items: *124 examples: - default: *512 + default: *518 headers: Link: *37 x-github: @@ -79193,8 +79233,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -79252,14 +79292,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: &513 + schema: &519 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -79403,7 +79443,7 @@ paths: - custom_404 - public examples: - default: &514 + default: &520 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -79444,8 +79484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -79500,11 +79540,11 @@ paths: description: Response content: application/json: - schema: *513 + schema: *519 examples: - default: *514 + default: *520 '422': *15 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79525,8 +79565,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -79613,7 +79653,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79634,14 +79674,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response '422': *15 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79661,8 +79701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -79672,7 +79712,7 @@ paths: application/json: schema: type: array - items: &515 + items: &521 title: Page Build description: Page Build type: object @@ -79764,8 +79804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *305 - - *306 + - *311 + - *312 responses: '201': description: Response @@ -79812,16 +79852,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *515 + schema: *521 examples: - default: &516 + default: &522 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -79869,8 +79909,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *305 - - *306 + - *311 + - *312 - name: build_id in: path required: true @@ -79881,9 +79921,9 @@ paths: description: Response content: application/json: - schema: *515 + schema: *521 examples: - default: *516 + default: *522 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79903,8 +79943,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -80013,9 +80053,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: - - *305 - - *306 - - &517 + - *311 + - *312 + - &523 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80073,11 +80113,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *305 - - *306 - - *517 + - *311 + - *312 + - *523 responses: - '204': *177 + '204': *183 '404': *6 x-github: githubCloudOnly: false @@ -80102,8 +80142,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -80371,7 +80411,7 @@ paths: description: Empty response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -80398,8 +80438,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Private vulnerability reporting status @@ -80436,10 +80476,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: - '204': *177 + '204': *183 '422': *14 x-github: githubCloudOnly: false @@ -80458,10 +80498,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *305 - - *306 + - *311 + - *312 responses: - '204': *177 + '204': *183 '422': *14 x-github: githubCloudOnly: false @@ -80482,8 +80522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *305 - - *306 + - *311 + - *312 - name: state description: Indicates the state of the projects to return. in: query @@ -80504,7 +80544,7 @@ paths: application/json: schema: type: array - items: *251 + items: *257 examples: default: value: @@ -80544,7 +80584,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *316 + '410': *322 '422': *7 x-github: githubCloudOnly: false @@ -80564,8 +80604,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -80591,13 +80631,13 @@ paths: description: Response content: application/json: - schema: *251 + schema: *257 examples: - default: *315 + default: *321 '401': *23 '403': *27 '404': *6 - '410': *316 + '410': *322 '422': *7 x-github: githubCloudOnly: false @@ -80617,8 +80657,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -80626,7 +80666,7 @@ paths: application/json: schema: type: array - items: *256 + items: *262 examples: default: value: @@ -80657,8 +80697,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -80670,7 +80710,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *256 + items: *262 required: - properties examples: @@ -80720,8 +80760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *305 - - *306 + - *311 + - *312 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -80781,9 +80821,9 @@ paths: application/json: schema: type: array - items: *518 + items: *524 examples: - default: *519 + default: *525 headers: Link: *37 '304': *35 @@ -80815,8 +80855,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -80883,7 +80923,7 @@ paths: description: Response content: application/json: - schema: &523 + schema: &529 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81012,7 +81052,7 @@ paths: milestone: anyOf: - type: 'null' - - *422 + - *428 active_lock_reason: type: - string @@ -81067,7 +81107,7 @@ paths: type: - array - 'null' - items: *236 + items: *242 head: type: object properties: @@ -81105,14 +81145,14 @@ paths: _links: type: object properties: - comments: *423 - commits: *423 - statuses: *423 - html: *423 - issue: *423 - review_comments: *423 - review_comment: *423 - self: *423 + comments: *429 + commits: *429 + statuses: *429 + html: *429 + issue: *429 + review_comments: *429 + review_comment: *429 + self: *429 required: - comments - commits @@ -81123,7 +81163,7 @@ paths: - review_comment - self author_association: *99 - auto_merge: *520 + auto_merge: *526 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -81225,7 +81265,7 @@ paths: - merged_by - review_comments examples: - default: &524 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -81752,8 +81792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *305 - - *306 + - *311 + - *312 - name: sort in: query required: false @@ -81782,9 +81822,9 @@ paths: application/json: schema: type: array - items: *521 + items: *527 examples: - default: &526 + default: &532 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81861,17 +81901,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: - - *305 - - *306 + - *311 + - *312 - *111 responses: '200': description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: &522 + default: &528 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -81946,8 +81986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -81970,9 +82010,9 @@ paths: description: Response content: application/json: - schema: *521 + schema: *527 examples: - default: *522 + default: *528 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81988,8 +82028,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *305 - - *306 + - *311 + - *312 - *111 responses: '204': @@ -82011,8 +82051,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -82039,9 +82079,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 @@ -82062,8 +82102,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *305 - - *306 + - *311 + - *312 - *111 requestBody: required: true @@ -82096,16 +82136,16 @@ paths: description: Reaction exists content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Reaction created content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -82127,10 +82167,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *305 - - *306 + - *311 + - *312 - *111 - - *297 + - *303 responses: '204': description: Response @@ -82173,9 +82213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *305 - - *306 - - &525 + - *311 + - *312 + - &531 name: pull_number description: The number that identifies the pull request. in: path @@ -82188,9 +82228,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '304': *35 '404': *6 '406': @@ -82225,9 +82265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -82269,9 +82309,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '422': *15 '403': *27 x-github: @@ -82293,9 +82333,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: true content: @@ -82356,17 +82396,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '401': *23 '403': *27 '404': *6 @@ -82396,9 +82436,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *121 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -82419,9 +82459,9 @@ paths: application/json: schema: type: array - items: *521 + items: *527 examples: - default: *526 + default: *532 headers: Link: *37 x-github: @@ -82454,9 +82494,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: true content: @@ -82562,7 +82602,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *527 examples: example-for-a-multi-line-comment: value: @@ -82650,9 +82690,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *111 requestBody: required: true @@ -82675,7 +82715,7 @@ paths: description: Response content: application/json: - schema: *521 + schema: *527 examples: default: value: @@ -82761,9 +82801,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *17 - *18 responses: @@ -82773,9 +82813,9 @@ paths: application/json: schema: type: array - items: *418 + items: *424 examples: - default: *527 + default: *533 headers: Link: *37 x-github: @@ -82805,9 +82845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *17 - *18 responses: @@ -82817,7 +82857,7 @@ paths: application/json: schema: type: array - items: *430 + items: *436 examples: default: value: @@ -82855,9 +82895,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 responses: '204': description: Response if pull request has been merged @@ -82880,9 +82920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -82994,9 +83034,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 responses: '200': description: Response @@ -83012,7 +83052,7 @@ paths: items: *4 teams: type: array - items: *223 + items: *229 required: - users - teams @@ -83071,9 +83111,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -83110,7 +83150,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *524 examples: default: value: @@ -83646,9 +83686,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: true content: @@ -83682,7 +83722,7 @@ paths: description: Response content: application/json: - schema: *518 + schema: *524 examples: default: value: @@ -84187,9 +84227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 - *17 - *18 responses: @@ -84199,7 +84239,7 @@ paths: application/json: schema: type: array - items: &528 + items: &534 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84355,9 +84395,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: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -84447,9 +84487,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: &530 + default: &536 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84512,10 +84552,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: - - *305 - - *306 - - *525 - - &529 + - *311 + - *312 + - *531 + - &535 name: review_id description: The unique identifier of the review. in: path @@ -84527,9 +84567,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: &531 + default: &537 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84588,10 +84628,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 requestBody: required: true content: @@ -84614,7 +84654,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: default: value: @@ -84676,18 +84716,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 responses: '200': description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *530 + default: *536 '422': *7 '404': *6 x-github: @@ -84714,10 +84754,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 - *17 - *18 responses: @@ -84815,9 +84855,9 @@ paths: _links: type: object properties: - self: *423 - html: *423 - pull_request: *423 + self: *429 + html: *429 + pull_request: *429 required: - self - html @@ -84968,10 +85008,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 requestBody: required: true content: @@ -85000,7 +85040,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: default: value: @@ -85063,10 +85103,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: - - *305 - - *306 - - *525 - - *529 + - *311 + - *312 + - *531 + - *535 requestBody: required: true content: @@ -85101,9 +85141,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *531 + default: *537 '404': *6 '422': *7 '403': *27 @@ -85125,9 +85165,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *305 - - *306 - - *525 + - *311 + - *312 + - *531 requestBody: required: false content: @@ -85191,8 +85231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *305 - - *306 + - *311 + - *312 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -85205,9 +85245,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *538 examples: - default: &533 + default: &539 value: type: file encoding: base64 @@ -85249,8 +85289,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: - - *305 - - *306 + - *311 + - *312 - name: dir description: The alternate path to look for a README file in: path @@ -85270,9 +85310,9 @@ paths: description: Response content: application/json: - schema: *532 + schema: *538 examples: - default: *533 + default: *539 '404': *6 '422': *15 x-github: @@ -85294,8 +85334,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -85305,7 +85345,7 @@ paths: application/json: schema: type: array - items: &534 + items: &540 title: Release description: A release. type: object @@ -85377,7 +85417,7 @@ paths: author: *4 assets: type: array - items: &535 + items: &541 title: Release Asset description: Data related to a release. type: object @@ -85557,8 +85597,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -85634,9 +85674,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: &538 + default: &544 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -85739,9 +85779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *305 - - *306 - - &536 + - *311 + - *312 + - &542 name: asset_id description: The unique identifier of the asset. in: path @@ -85753,9 +85793,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *541 examples: - default: &537 + default: &543 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 @@ -85789,7 +85829,7 @@ paths: type: User site_admin: false '404': *6 - '302': *432 + '302': *438 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85805,9 +85845,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *305 - - *306 - - *536 + - *311 + - *312 + - *542 requestBody: required: false content: @@ -85836,9 +85876,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *541 examples: - default: *537 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85854,9 +85894,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *305 - - *306 - - *536 + - *311 + - *312 + - *542 responses: '204': description: Response @@ -85880,8 +85920,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -85967,16 +86007,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *538 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85993,8 +86033,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *305 - - *306 + - *311 + - *312 - name: tag description: tag parameter in: path @@ -86007,9 +86047,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *538 + default: *544 '404': *6 x-github: githubCloudOnly: false @@ -86031,9 +86071,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *305 - - *306 - - &539 + - *311 + - *312 + - &545 name: release_id description: The unique identifier of the release. in: path @@ -86047,9 +86087,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: *534 + schema: *540 examples: - default: *538 + default: *544 '401': description: Unauthorized x-github: @@ -86067,9 +86107,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 requestBody: required: false content: @@ -86133,9 +86173,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *540 examples: - default: *538 + default: *544 '404': description: Not Found if the discussion category name is invalid content: @@ -86156,9 +86196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 responses: '204': description: Response @@ -86178,9 +86218,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 - *17 - *18 responses: @@ -86190,7 +86230,7 @@ paths: application/json: schema: type: array - items: *535 + items: *541 examples: default: value: @@ -86271,9 +86311,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: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 - name: name in: query required: true @@ -86299,7 +86339,7 @@ paths: description: Response for successful upload content: application/json: - schema: *535 + schema: *541 examples: response-for-successful-upload: value: @@ -86353,9 +86393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 - 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. @@ -86379,9 +86419,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 '404': *6 @@ -86402,9 +86442,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *305 - - *306 - - *539 + - *311 + - *312 + - *545 requestBody: required: true content: @@ -86434,16 +86474,16 @@ paths: description: Reaction exists content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '201': description: Reaction created content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 '422': *15 x-github: githubCloudOnly: false @@ -86465,10 +86505,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *305 - - *306 - - *539 - - *297 + - *311 + - *312 + - *545 + - *303 responses: '204': description: Response @@ -86492,9 +86532,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *305 - - *306 - - *364 + - *311 + - *312 + - *370 - *17 - *18 responses: @@ -86510,8 +86550,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *540 - - &542 + - *546 + - &548 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86530,54 +86570,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *541 - - *542 - - allOf: - - *543 - - *542 - - allOf: - - *544 - - *542 - - allOf: - - *545 - - *542 - - allOf: - - *546 - - *542 - allOf: - *547 - - *542 - - allOf: - *548 - - *542 - allOf: - *549 - - *542 + - *548 - allOf: - *550 - - *542 + - *548 - allOf: - *551 - - *542 + - *548 - allOf: - *552 - - *542 + - *548 - allOf: - *553 - - *542 + - *548 - allOf: - *554 - - *542 + - *548 - allOf: - *555 - - *542 + - *548 - allOf: - *556 - - *542 + - *548 - allOf: - *557 - - *542 + - *548 + - allOf: + - *558 + - *548 + - allOf: + - *559 + - *548 + - allOf: + - *560 + - *548 + - allOf: + - *561 + - *548 + - allOf: + - *562 + - *548 + - allOf: + - *563 + - *548 examples: default: value: @@ -86616,8 +86656,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 - name: includes_parents @@ -86628,7 +86668,7 @@ paths: schema: type: boolean default: true - - *558 + - *564 responses: '200': description: Response @@ -86636,7 +86676,7 @@ paths: application/json: schema: type: array - items: *266 + items: *272 examples: default: value: @@ -86683,8 +86723,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 requestBody: description: Request body required: true @@ -86704,16 +86744,16 @@ paths: - tag - push default: branch - enforcement: *262 + enforcement: *268 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *263 - conditions: *260 + items: *269 + conditions: *266 rules: type: array description: An array of rules within the ruleset. - items: *265 + items: *271 required: - name - enforcement @@ -86744,9 +86784,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: &568 + default: &574 value: id: 42 name: super cool ruleset @@ -86793,12 +86833,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *305 - - *306 - - *559 - - *560 - - *561 - - *562 + - *311 + - *312 + - *565 + - *566 + - *567 + - *568 - *17 - *18 responses: @@ -86806,9 +86846,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *569 examples: - default: *564 + default: *570 '404': *6 '500': *80 x-github: @@ -86829,17 +86869,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *305 - - *306 - - *565 + - *311 + - *312 + - *571 responses: '200': description: Response content: application/json: - schema: *566 + schema: *572 examples: - default: *567 + default: *573 '404': *6 '500': *80 x-github: @@ -86867,8 +86907,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86888,9 +86928,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: *568 + default: *574 '404': *6 '500': *80 put: @@ -86908,8 +86948,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -86934,16 +86974,16 @@ paths: - branch - tag - push - enforcement: *262 + enforcement: *268 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *263 - conditions: *260 + items: *269 + conditions: *266 rules: description: An array of rules within the ruleset. type: array - items: *265 + items: *271 examples: default: value: @@ -86971,9 +87011,9 @@ paths: description: Response content: application/json: - schema: *266 + schema: *272 examples: - default: *568 + default: *574 '404': *6 '500': *80 delete: @@ -86991,8 +87031,8 @@ paths: category: repos subcategory: rules parameters: - - *305 - - *306 + - *311 + - *312 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87020,20 +87060,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *305 - - *306 - - *268 - - *269 - - *270 - - *271 + - *311 + - *312 + - *274 + - *275 + - *276 + - *277 - *76 - *18 - *17 - - *569 - - *570 - - *272 - - *273 - - *274 + - *575 + - *576 + - *278 + - *279 + - *280 responses: '200': description: Response @@ -87041,7 +87081,7 @@ paths: application/json: schema: type: array - items: &573 + items: &579 type: object properties: number: *81 @@ -87057,8 +87097,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *571 - resolution: *572 + state: *577 + resolution: *578 resolved_at: type: - string @@ -87263,15 +87303,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 responses: '200': description: Response content: application/json: - schema: *573 + schema: *579 examples: default: value: @@ -87322,9 +87362,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: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 requestBody: required: true content: @@ -87332,8 +87372,8 @@ paths: schema: type: object properties: - state: *571 - resolution: *572 + state: *577 + resolution: *578 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -87352,7 +87392,7 @@ paths: description: Response content: application/json: - schema: *573 + schema: *579 examples: default: value: @@ -87426,9 +87466,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: - - *305 - - *306 - - *392 + - *311 + - *312 + - *398 - *18 - *17 responses: @@ -87439,7 +87479,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &728 + items: &734 type: object properties: type: @@ -87818,8 +87858,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -87827,14 +87867,14 @@ paths: schema: type: object properties: - reason: &575 + reason: &581 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *574 + placeholder_id: *580 required: - reason - placeholder_id @@ -87851,7 +87891,7 @@ paths: schema: type: object properties: - reason: *575 + reason: *581 expire_at: type: - string @@ -87897,8 +87937,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *305 - - *306 + - *311 + - *312 - *76 - name: sort description: The property to sort the results by. @@ -87942,9 +87982,9 @@ paths: application/json: schema: type: array - items: *576 + items: *582 examples: - default: *577 + default: *583 '400': *14 '404': *6 x-github: @@ -87967,8 +88007,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -88048,7 +88088,7 @@ paths: login: type: string description: The username of the user credited. - type: *277 + type: *283 required: - login - type @@ -88138,9 +88178,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *582 examples: - default: &579 + default: &585 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88373,8 +88413,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -88487,7 +88527,7 @@ paths: description: Response content: application/json: - schema: *576 + schema: *582 examples: default: value: @@ -88634,17 +88674,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: - - *305 - - *306 - - *578 + - *311 + - *312 + - *584 responses: '200': description: Response content: application/json: - schema: *576 + schema: *582 examples: - default: *579 + default: *585 '403': *27 '404': *6 x-github: @@ -88668,9 +88708,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: - - *305 - - *306 - - *578 + - *311 + - *312 + - *584 requestBody: required: true content: @@ -88750,7 +88790,7 @@ paths: login: type: string description: The username of the user credited. - type: *277 + type: *283 required: - login - type @@ -88841,17 +88881,17 @@ paths: description: Response content: application/json: - schema: *576 + schema: *582 examples: - default: *579 - add_credit: *579 + default: *585 + add_credit: *585 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *131 + schema: *137 examples: invalid_state_transition: value: @@ -88882,11 +88922,11 @@ 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: - - *305 - - *306 - - *578 + - *311 + - *312 + - *584 responses: - '202': *134 + '202': *140 '400': *14 '403': *27 '404': *6 @@ -88911,17 +88951,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: - - *305 - - *306 - - *578 + - *311 + - *312 + - *584 responses: '202': description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 + default: *326 '400': *14 '422': *15 '403': *27 @@ -88947,8 +88987,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -89044,8 +89084,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89054,7 +89094,7 @@ paths: application/json: schema: type: array - items: &580 + items: &586 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89066,8 +89106,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *134 - '204': *177 + '202': *140 + '204': *183 '422': description: Repository contains more than 10,000 commits x-github: @@ -89087,8 +89127,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -89138,8 +89178,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *134 - '204': *177 + '202': *140 + '204': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89166,8 +89206,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -89238,8 +89278,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *134 - '204': *177 + '202': *140 + '204': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89261,8 +89301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -89416,8 +89456,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -89427,7 +89467,7 @@ paths: application/json: schema: type: array - items: *580 + items: *586 examples: default: value: @@ -89440,7 +89480,7 @@ paths: - - 0 - 2 - 21 - '204': *177 + '204': *183 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89460,8 +89500,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *305 - - *306 + - *311 + - *312 - name: sha in: path required: true @@ -89517,7 +89557,7 @@ paths: description: Response content: application/json: - schema: *581 + schema: *587 examples: default: value: @@ -89571,8 +89611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -89584,7 +89624,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -89604,14 +89644,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &582 + schema: &588 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -89684,8 +89724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: false content: @@ -89711,7 +89751,7 @@ paths: description: Response content: application/json: - schema: *582 + schema: *588 examples: default: value: @@ -89738,8 +89778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -89759,8 +89799,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -89842,8 +89882,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: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -89851,7 +89891,7 @@ paths: application/json: schema: type: array - items: &583 + items: &589 title: Tag protection description: Tag protection type: object @@ -89908,8 +89948,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: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -89932,7 +89972,7 @@ paths: description: Response content: application/json: - schema: *583 + schema: *589 examples: default: value: @@ -89963,8 +90003,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: - - *305 - - *306 + - *311 + - *312 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90001,8 +90041,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *305 - - *306 + - *311 + - *312 - name: ref in: path required: true @@ -90038,8 +90078,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *305 - - *306 + - *311 + - *312 - *17 - *18 responses: @@ -90049,9 +90089,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - default: *237 + default: *243 headers: Link: *37 '404': *6 @@ -90071,8 +90111,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *305 - - *306 + - *311 + - *312 - *18 - *17 responses: @@ -90080,7 +90120,7 @@ paths: description: Response content: application/json: - schema: &584 + schema: &590 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90092,7 +90132,7 @@ paths: required: - names examples: - default: &585 + default: &591 value: names: - octocat @@ -90115,8 +90155,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -90147,9 +90187,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *590 examples: - default: *585 + default: *591 '404': *6 '422': *7 x-github: @@ -90170,9 +90210,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *305 - - *306 - - &586 + - *311 + - *312 + - &592 name: per description: The time frame to display results for. in: query @@ -90203,7 +90243,7 @@ paths: - 128 clones: type: array - items: &587 + items: &593 title: Traffic type: object properties: @@ -90290,8 +90330,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -90385,8 +90425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *305 - - *306 + - *311 + - *312 responses: '200': description: Response @@ -90449,9 +90489,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *305 - - *306 - - *586 + - *311 + - *312 + - *592 responses: '200': description: Response @@ -90472,7 +90512,7 @@ paths: - 3782 views: type: array - items: *587 + items: *593 required: - uniques - count @@ -90549,8 +90589,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *305 - - *306 + - *311 + - *312 requestBody: required: true content: @@ -90586,7 +90626,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *152 examples: default: value: @@ -90824,8 +90864,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -90848,8 +90888,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -90871,8 +90911,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -90898,8 +90938,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *305 - - *306 + - *311 + - *312 - name: ref in: path required: true @@ -90991,9 +91031,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 + default: *326 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91034,7 +91074,7 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: default: value: @@ -91120,9 +91160,6 @@ paths: get: summary: List provisioned SCIM groups for an enterprise description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Lists provisioned SCIM groups in an enterprise. You can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response. @@ -91147,7 +91184,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &595 + - &601 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -91157,7 +91194,7 @@ paths: type: string examples: - members - - &600 + - &606 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -91169,7 +91206,7 @@ paths: format: int32 examples: - 1 - - &601 + - &607 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -91213,7 +91250,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &589 + items: &595 allOf: - type: object required: @@ -91295,7 +91332,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: &602 + meta: &608 type: object description: The metadata associated with the creation/updates to the user. @@ -91360,31 +91397,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &590 + '400': &596 description: Bad request content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '401': &591 + schema: *594 + '401': &597 description: Authorization failure - '403': &592 + '403': &598 description: Permission denied - '429': &593 + '429': &599 description: Too many requests content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '500': &594 + schema: *594 + '500': &600 description: Internal server error content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 + schema: *594 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91393,9 +91430,6 @@ paths: post: summary: Provision a SCIM enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Creates a SCIM group for an enterprise. When members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user. @@ -91411,7 +91445,7 @@ paths: required: true content: application/json: - schema: &598 + schema: &604 type: object required: - schemas @@ -91471,9 +91505,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *589 + schema: *595 examples: - group: &596 + group: &602 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -91492,13 +91526,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': *590 - '401': *591 - '403': *592 - '409': &599 + '400': *596 + '401': *597 + '403': *598 + '409': &605 description: Duplicate record detected - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91507,11 +91541,7 @@ paths: "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": get: summary: Get SCIM provisioning information for an enterprise group - description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - - Gets information about a SCIM group. + description: Gets information about a SCIM group. operationId: enterprise-admin/get-provisioning-information-for-enterprise-group tags: - enterprise-admin @@ -91519,7 +91549,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: - - &597 + - &603 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -91528,22 +91558,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *595 + - *601 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *589 + schema: *595 examples: - default: *596 - '400': *590 - '401': *591 - '403': *592 + default: *602 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91552,9 +91582,6 @@ paths: put: summary: Set SCIM information for a provisioned enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Replaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead. @@ -91565,13 +91592,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: - - *597 + - *603 - *38 requestBody: required: true content: application/json: - schema: *598 + schema: *604 examples: group: summary: Group @@ -91597,17 +91624,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *589 + schema: *595 examples: - group: *596 - groupWithMembers: *596 - '400': *590 - '401': *591 - '403': *592 + group: *602 + groupWithMembers: *602 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '409': *599 - '429': *593 - '500': *594 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91616,9 +91643,6 @@ paths: patch: summary: Update an attribute for a SCIM enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Update a provisioned group’s individual attributes. To modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships. @@ -91634,13 +91658,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: - - *597 + - *603 - *38 requestBody: required: true content: application/json: - schema: &609 + schema: &615 type: object required: - Operations @@ -91700,17 +91724,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *589 + schema: *595 examples: - updateGroup: *596 - addMembers: *596 - '400': *590 - '401': *591 - '403': *592 + updateGroup: *602 + addMembers: *602 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '409': *599 - '429': *593 - '500': *594 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91718,11 +91742,7 @@ paths: subcategory: scim delete: summary: Delete a SCIM group from an enterprise - description: |- - > [!NOTE] - > SCIM provisioning using the REST API is in public preview and subject to change. - - Deletes a SCIM group from an enterprise. + description: Deletes a SCIM group from an enterprise. operationId: enterprise-admin/delete-scim-group-from-enterprise tags: - enterprise-admin @@ -91730,17 +91750,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: - - *597 + - *603 - *38 responses: '204': description: Group was deleted, no content - '400': *590 - '401': *591 - '403': *592 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91750,9 +91770,6 @@ paths: get: summary: List SCIM provisioned identities for an enterprise description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Lists provisioned SCIM enterprise members. When you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list. @@ -91777,8 +91794,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *600 - - *601 + - *606 + - *607 - *38 responses: '200': @@ -91812,7 +91829,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &604 + items: &610 allOf: - type: object required: @@ -91904,7 +91921,7 @@ paths: address. examples: - true - roles: &603 + roles: &609 type: array description: The roles assigned to the user. items: @@ -91963,7 +91980,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *602 + meta: *608 startIndex: type: integer description: A starting index for the returned page @@ -92002,11 +92019,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *590 - '401': *591 - '403': *592 - '429': *593 - '500': *594 + '400': *596 + '401': *597 + '403': *598 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92015,9 +92032,6 @@ paths: post: summary: Provision a SCIM enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Creates an external identity for a new SCIM enterprise user. SCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML. @@ -92033,7 +92047,7 @@ paths: required: true content: application/json: - schema: &607 + schema: &613 type: object required: - schemas @@ -92126,9 +92140,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *603 + roles: *609 examples: - user: &608 + user: &614 summary: User value: schemas: @@ -92175,9 +92189,9 @@ paths: description: User has been created content: application/scim+json: - schema: *604 + schema: *610 examples: - user: &605 + user: &611 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92203,13 +92217,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: *605 - '400': *590 - '401': *591 - '403': *592 - '409': *599 - '429': *593 - '500': *594 + enterpriseOwner: *611 + '400': *596 + '401': *597 + '403': *598 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92218,11 +92232,7 @@ paths: "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": get: summary: Get SCIM provisioning information for an enterprise user - description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - - Gets information about a SCIM user. + description: Gets information about a SCIM user. operationId: enterprise-admin/get-provisioning-information-for-enterprise-user tags: - enterprise-admin @@ -92230,7 +92240,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: - - &606 + - &612 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -92243,15 +92253,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *604 + schema: *610 examples: - default: *605 - '400': *590 - '401': *591 - '403': *592 + default: *611 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92260,9 +92270,6 @@ paths: put: summary: Set SCIM information for a provisioned enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Replaces an existing provisioned user's information. You must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint. @@ -92276,30 +92283,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: - - *606 + - *612 - *38 requestBody: required: true content: application/json: - schema: *607 + schema: *613 examples: - user: *608 + user: *614 responses: '200': description: User was updated content: application/scim+json: - schema: *604 + schema: *610 examples: - user: *605 - '400': *590 - '401': *591 - '403': *592 + user: *611 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '409': *599 - '429': *593 - '500': *594 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92308,9 +92315,6 @@ paths: patch: summary: Update an attribute for a SCIM enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Update a provisioned user's individual attributes. To modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). @@ -92337,13 +92341,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: - - *606 + - *612 - *38 requestBody: required: true content: application/json: - schema: *609 + schema: *615 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -92383,18 +92387,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *604 - examples: - userMultiValuedProperties: *605 - userSingleValuedProperties: *605 - disableUser: *605 - '400': *590 - '401': *591 - '403': *592 + schema: *610 + examples: + userMultiValuedProperties: *611 + userSingleValuedProperties: *611 + disableUser: *611 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '409': *599 - '429': *593 - '500': *594 + '409': *605 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92402,11 +92406,11 @@ paths: subcategory: scim delete: summary: Delete a SCIM user from an enterprise - description: |- - > [!NOTE] - > SCIM provisioning using the REST API is in public preview and subject to change. - - Suspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible. + description: 'Suspends a SCIM user permanently from an enterprise. This action + will: remove all the user''s data, anonymize their login, email, and display + name, erase all external identity SCIM attributes, delete the user''s emails, + avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. + This action is irreversible.' operationId: enterprise-admin/delete-user-from-enterprise tags: - enterprise-admin @@ -92414,17 +92418,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: - - *606 + - *612 - *38 responses: '204': description: User was deleted, no content - '400': *590 - '401': *591 - '403': *592 + '400': *596 + '401': *597 + '403': *598 '404': *6 - '429': *593 - '500': *594 + '429': *599 + '500': *600 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92457,7 +92461,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *128 + - *134 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -92515,7 +92519,7 @@ paths: - 1 Resources: type: array - items: &610 + items: &616 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -92762,22 +92766,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': &611 + '404': &617 description: Resource not found content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '403': &612 + schema: *594 + '403': &618 description: Forbidden content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '400': *590 - '429': *593 + schema: *594 + '400': *596 + '429': *599 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -92797,15 +92801,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *128 + - *134 responses: '201': description: Response content: application/scim+json: - schema: *610 + schema: *616 examples: - default: &613 + default: &619 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92828,17 +92832,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': *611 - '403': *612 - '500': *594 + '404': *617 + '403': *618 + '500': *600 '409': description: Conflict content: application/json: - schema: *588 + schema: *594 application/scim+json: - schema: *588 - '400': *590 + schema: *594 + '400': *596 requestBody: required: true content: @@ -92932,18 +92936,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *128 - - *606 + - *134 + - *612 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *616 examples: - default: *613 - '404': *611 - '403': *612 + default: *619 + '404': *617 + '403': *618 '304': *35 x-github: githubCloudOnly: true @@ -92966,19 +92970,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *128 - - *606 + - *134 + - *612 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *616 examples: - default: *613 + default: *619 '304': *35 - '404': *611 - '403': *612 + '404': *617 + '403': *618 requestBody: required: true content: @@ -93088,20 +93092,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *128 - - *606 + - *134 + - *612 responses: '200': description: Response content: application/scim+json: - schema: *610 + schema: *616 examples: - default: *613 + default: *619 '304': *35 - '404': *611 - '403': *612 - '400': *590 + '404': *617 + '403': *618 + '400': *596 '429': description: Response content: @@ -93196,13 +93200,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *128 - - *606 + - *134 + - *612 responses: '204': description: Response - '404': *611 - '403': *612 + '404': *617 + '403': *618 '304': *35 x-github: githubCloudOnly: true @@ -93317,7 +93321,7 @@ paths: html_url: type: string format: uri - repository: *146 + repository: *152 score: type: number file_size: @@ -93336,7 +93340,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &614 + text_matches: &620 title: Search Result Text Matches type: array items: @@ -93500,7 +93504,7 @@ paths: enum: - author-date - committer-date - - &615 + - &621 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 @@ -93569,7 +93573,7 @@ paths: committer: anyOf: - type: 'null' - - *362 + - *368 comment_count: type: integer message: @@ -93588,7 +93592,7 @@ paths: url: type: string format: uri - verification: *467 + verification: *473 required: - author - committer @@ -93603,7 +93607,7 @@ paths: committer: anyOf: - type: 'null' - - *362 + - *368 parents: type: array items: @@ -93615,12 +93619,12 @@ paths: type: string sha: type: string - repository: *146 + repository: *152 score: type: number node_id: type: string - text_matches: *614 + text_matches: *620 required: - sha - node_id @@ -93813,7 +93817,7 @@ paths: - interactions - created - updated - - *615 + - *621 - *17 - *18 responses: @@ -93915,7 +93919,7 @@ paths: milestone: anyOf: - type: 'null' - - *422 + - *428 comments: type: integer created_at: @@ -93929,7 +93933,7 @@ paths: - string - 'null' format: date-time - text_matches: *614 + text_matches: *620 pull_request: type: object properties: @@ -94151,7 +94155,7 @@ paths: enum: - created - updated - - *615 + - *621 - *17 - *18 responses: @@ -94196,7 +94200,7 @@ paths: - 'null' score: type: number - text_matches: *614 + text_matches: *620 required: - id - node_id @@ -94282,7 +94286,7 @@ paths: - forks - help-wanted-issues - updated - - *615 + - *621 - *17 - *18 responses: @@ -94519,7 +94523,7 @@ paths: - admin - pull - push - text_matches: *614 + text_matches: *620 temp_clone_token: type: string allow_merge_commit: @@ -94828,7 +94832,7 @@ paths: - string - 'null' format: uri - text_matches: *614 + text_matches: *620 related: type: - array @@ -95023,7 +95027,7 @@ paths: - followers - repositories - joined - - *615 + - *621 - *17 - *18 responses: @@ -95133,7 +95137,7 @@ paths: type: - boolean - 'null' - text_matches: *614 + text_matches: *620 blog: type: - string @@ -95215,7 +95219,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &616 + - &622 name: team_id description: The unique identifier of the team. in: path @@ -95227,9 +95231,9 @@ paths: description: Response content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '404': *6 x-github: githubCloudOnly: false @@ -95256,7 +95260,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *616 + - *622 requestBody: required: true content: @@ -95320,16 +95324,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '201': description: Response content: application/json: - schema: *286 + schema: *292 examples: - default: *287 + default: *293 '404': *6 '422': *15 '403': *27 @@ -95357,7 +95361,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *616 + - *622 responses: '204': description: Response @@ -95388,7 +95392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *616 + - *622 - *76 - *17 - *18 @@ -95399,9 +95403,9 @@ paths: application/json: schema: type: array - items: *288 + items: *294 examples: - default: *617 + default: *623 headers: Link: *37 x-github: @@ -95430,7 +95434,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *616 + - *622 requestBody: required: true content: @@ -95464,9 +95468,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: *289 + default: *295 x-github: triggersNotification: true githubCloudOnly: false @@ -95493,16 +95497,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *616 - - *290 + - *622 + - *296 responses: '200': description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: *289 + default: *295 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95527,8 +95531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *616 - - *290 + - *622 + - *296 requestBody: required: false content: @@ -95551,9 +95555,9 @@ paths: description: Response content: application/json: - schema: *288 + schema: *294 examples: - default: *618 + default: *624 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95578,8 +95582,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *616 - - *290 + - *622 + - *296 responses: '204': description: Response @@ -95608,8 +95612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *616 - - *290 + - *622 + - *296 - *76 - *17 - *18 @@ -95620,9 +95624,9 @@ paths: application/json: schema: type: array - items: *291 + items: *297 examples: - default: *619 + default: *625 headers: Link: *37 x-github: @@ -95651,8 +95655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *616 - - *290 + - *622 + - *296 requestBody: required: true content: @@ -95674,9 +95678,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: triggersNotification: true githubCloudOnly: false @@ -95703,17 +95707,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 responses: '200': description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95738,9 +95742,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 requestBody: required: true content: @@ -95762,9 +95766,9 @@ paths: description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *620 + default: *626 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95789,9 +95793,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 responses: '204': description: Response @@ -95820,9 +95824,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: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 - 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. @@ -95848,9 +95852,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 x-github: @@ -95879,9 +95883,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: - - *616 - - *290 - - *293 + - *622 + - *296 + - *299 requestBody: required: true content: @@ -95913,9 +95917,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95941,8 +95945,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: - - *616 - - *290 + - *622 + - *296 - 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. @@ -95968,9 +95972,9 @@ paths: application/json: schema: type: array - items: *294 + items: *300 examples: - default: *296 + default: *302 headers: Link: *37 x-github: @@ -95999,8 +96003,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: - - *616 - - *290 + - *622 + - *296 requestBody: required: true content: @@ -96032,9 +96036,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *300 examples: - default: *295 + default: *301 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96058,7 +96062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *616 + - *622 - *17 - *18 responses: @@ -96068,9 +96072,9 @@ paths: application/json: schema: type: array - items: *220 + items: *226 examples: - default: *221 + default: *227 headers: Link: *37 x-github: @@ -96096,7 +96100,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *616 + - *622 - name: role description: Filters members returned by their role in the team. in: query @@ -96119,7 +96123,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '404': *6 @@ -96147,8 +96151,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *616 - - *168 + - *622 + - *174 responses: '204': description: if user is a member @@ -96184,8 +96188,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *616 - - *168 + - *622 + - *174 responses: '204': description: Response @@ -96224,8 +96228,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *616 - - *168 + - *622 + - *174 responses: '204': description: Response @@ -96261,16 +96265,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: - - *616 - - *168 + - *622 + - *174 responses: '200': description: Response content: application/json: - schema: *302 + schema: *308 examples: - response-if-user-is-a-team-maintainer: *621 + response-if-user-is-a-team-maintainer: *627 '404': *6 x-github: githubCloudOnly: false @@ -96303,8 +96307,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: - - *616 - - *168 + - *622 + - *174 requestBody: required: false content: @@ -96329,9 +96333,9 @@ paths: description: Response content: application/json: - schema: *302 + schema: *308 examples: - response-if-users-membership-with-team-is-now-pending: *622 + response-if-users-membership-with-team-is-now-pending: *628 '403': description: Forbidden if team synchronization is set up '422': @@ -96365,8 +96369,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: - - *616 - - *168 + - *622 + - *174 responses: '204': description: Response @@ -96395,7 +96399,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *616 + - *622 - *17 - *18 responses: @@ -96405,9 +96409,9 @@ paths: application/json: schema: type: array - items: *303 + items: *309 examples: - default: *623 + default: *629 headers: Link: *37 '404': *6 @@ -96434,16 +96438,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: - - *616 - - *304 + - *622 + - *310 responses: '200': description: Response content: application/json: - schema: *303 + schema: *309 examples: - default: *624 + default: *630 '404': description: Not Found if project is not managed by this team x-github: @@ -96468,8 +96472,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: - - *616 - - *304 + - *622 + - *310 requestBody: required: false content: @@ -96537,8 +96541,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: - - *616 - - *304 + - *622 + - *310 responses: '204': description: Response @@ -96565,7 +96569,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *616 + - *622 - *17 - *18 responses: @@ -96575,9 +96579,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 '404': *6 @@ -96607,15 +96611,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: - - *616 - - *305 - - *306 + - *622 + - *311 + - *312 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *625 + schema: *631 examples: alternative-response-with-extra-repository-information: value: @@ -96766,9 +96770,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: - - *616 - - *305 - - *306 + - *622 + - *311 + - *312 requestBody: required: false content: @@ -96818,9 +96822,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: - - *616 - - *305 - - *306 + - *622 + - *311 + - *312 responses: '204': description: Response @@ -96849,15 +96853,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: - - *616 + - *622 responses: '200': description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '403': *27 '404': *6 x-github: @@ -96884,7 +96888,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: - - *616 + - *622 requestBody: required: true content: @@ -96945,7 +96949,7 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: default: value: @@ -96976,7 +96980,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *616 + - *622 - *17 - *18 responses: @@ -96986,9 +96990,9 @@ paths: application/json: schema: type: array - items: *223 + items: *229 examples: - response-if-child-teams-exist: *626 + response-if-child-teams-exist: *632 headers: Link: *37 '404': *6 @@ -97021,7 +97025,7 @@ paths: application/json: schema: oneOf: - - &628 + - &634 title: Private User description: Private User type: object @@ -97271,7 +97275,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *627 + - *633 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97431,7 +97435,7 @@ paths: description: Response content: application/json: - schema: *628 + schema: *634 examples: default: value: @@ -97510,7 +97514,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 '304': *35 '404': *6 '403': *27 @@ -97533,7 +97537,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: - - *168 + - *174 responses: '204': description: If the user is blocked @@ -97561,7 +97565,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *168 + - *174 responses: '204': description: Response @@ -97585,7 +97589,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *168 + - *174 responses: '204': description: Response @@ -97634,9 +97638,9 @@ paths: type: integer codespaces: type: array - items: *227 + items: *233 examples: - default: *228 + default: *234 '304': *35 '500': *80 '401': *23 @@ -97775,17 +97779,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '401': *23 '403': *27 '404': *6 @@ -97829,7 +97833,7 @@ paths: type: integer secrets: type: array - items: &629 + items: &635 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -97871,7 +97875,7 @@ paths: - visibility - selected_repositories_url examples: - default: *411 + default: *417 headers: Link: *37 x-github: @@ -97943,13 +97947,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: - - *156 + - *162 responses: '200': description: Response content: application/json: - schema: *629 + schema: *635 examples: default: value: @@ -97979,7 +97983,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: - - *156 + - *162 requestBody: required: true content: @@ -98024,7 +98028,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -98052,7 +98056,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: - - *156 + - *162 responses: '204': description: Response @@ -98077,7 +98081,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: - - *156 + - *162 responses: '200': description: Response @@ -98093,9 +98097,9 @@ paths: type: integer repositories: type: array - items: *146 + items: *152 examples: - default: *630 + default: *636 '401': *23 '403': *27 '404': *6 @@ -98120,7 +98124,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: - - *156 + - *162 requestBody: required: true content: @@ -98174,7 +98178,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: - - *156 + - *162 - name: repository_id in: path required: true @@ -98207,7 +98211,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: - - *156 + - *162 - name: repository_id in: path required: true @@ -98239,15 +98243,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: - - *229 + - *235 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '304': *35 '500': *80 '401': *23 @@ -98273,7 +98277,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: - - *229 + - *235 requestBody: required: false content: @@ -98303,9 +98307,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '401': *23 '403': *27 '404': *6 @@ -98327,9 +98331,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *229 + - *235 responses: - '202': *134 + '202': *140 '304': *35 '500': *80 '401': *23 @@ -98356,13 +98360,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: - - *229 + - *235 responses: '202': description: Response content: application/json: - schema: &631 + schema: &637 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98415,7 +98419,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &632 + default: &638 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98447,7 +98451,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *229 + - *235 - name: export_id in: path required: true @@ -98460,9 +98464,9 @@ paths: description: Response content: application/json: - schema: *631 + schema: *637 examples: - default: *632 + default: *638 '404': *6 x-github: githubCloudOnly: false @@ -98483,7 +98487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *229 + - *235 responses: '200': description: Response @@ -98499,9 +98503,9 @@ paths: type: integer machines: type: array - items: *410 + items: *416 examples: - default: *633 + default: *639 '304': *35 '500': *80 '401': *23 @@ -98530,7 +98534,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: - - *229 + - *235 requestBody: required: true content: @@ -98586,11 +98590,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *318 + repository: *324 machine: anyOf: - type: 'null' - - *410 + - *416 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99387,15 +99391,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: - - *229 + - *235 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '304': *35 '500': *80 '400': *14 @@ -99407,7 +99411,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *133 + '409': *139 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99427,15 +99431,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: - - *229 + - *235 responses: '200': description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *409 + default: *415 '500': *80 '401': *23 '403': *27 @@ -99465,9 +99469,9 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: &646 + default: &652 value: - id: 197 name: hello_docker @@ -99568,7 +99572,7 @@ paths: application/json: schema: type: array - items: &634 + items: &640 title: Email description: Email type: object @@ -99638,9 +99642,9 @@ paths: application/json: schema: type: array - items: *634 + items: *640 examples: - default: &648 + default: &654 value: - email: octocat@github.com verified: true @@ -99717,7 +99721,7 @@ paths: application/json: schema: type: array - items: *634 + items: *640 examples: default: value: @@ -99829,7 +99833,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '304': *35 @@ -99862,7 +99866,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 '304': *35 @@ -99884,7 +99888,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: - - *168 + - *174 responses: '204': description: if the person is followed by the authenticated user @@ -99914,7 +99918,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *168 + - *174 responses: '204': description: Response @@ -99939,7 +99943,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *168 + - *174 responses: '204': description: Response @@ -99975,7 +99979,7 @@ paths: application/json: schema: type: array - items: &635 + items: &641 title: GPG Key description: A unique encryption key type: object @@ -100120,7 +100124,7 @@ paths: - subkeys - revoked examples: - default: &659 + default: &665 value: - id: 3 name: Octocat's GPG Key @@ -100205,9 +100209,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *641 examples: - default: &636 + default: &642 value: id: 3 name: Octocat's GPG Key @@ -100264,7 +100268,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: - - &637 + - &643 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100276,9 +100280,9 @@ paths: description: Response content: application/json: - schema: *635 + schema: *641 examples: - default: *636 + default: *642 '404': *6 '304': *35 '403': *27 @@ -100301,7 +100305,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: - - *637 + - *643 responses: '204': description: Response @@ -100492,7 +100496,7 @@ paths: type: array items: *55 examples: - default: *638 + default: *644 headers: Link: *37 '404': *6 @@ -100517,7 +100521,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *141 + - *147 responses: '204': description: Response @@ -100543,7 +100547,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *141 + - *147 responses: '204': description: Response @@ -100577,12 +100581,12 @@ paths: application/json: schema: anyOf: - - *218 + - *224 - type: object properties: {} additionalProperties: false examples: - default: *219 + default: *225 '204': description: Response when there are no restrictions x-github: @@ -100606,7 +100610,7 @@ paths: required: true content: application/json: - schema: *478 + schema: *484 examples: default: value: @@ -100617,7 +100621,7 @@ paths: description: Response content: application/json: - schema: *218 + schema: *224 examples: default: value: @@ -100698,7 +100702,7 @@ paths: - closed - all default: open - - *224 + - *230 - name: sort description: What to sort results by. in: query @@ -100723,7 +100727,7 @@ paths: type: array items: *112 examples: - default: *225 + default: *231 headers: Link: *37 '404': *6 @@ -100756,7 +100760,7 @@ paths: application/json: schema: type: array - items: &639 + items: &645 title: Key description: Key type: object @@ -100854,9 +100858,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *645 examples: - default: &640 + default: &646 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -100889,15 +100893,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: - - *504 + - *510 responses: '200': description: Response content: application/json: - schema: *639 + schema: *645 examples: - default: *640 + default: *646 '404': *6 '304': *35 '403': *27 @@ -100920,7 +100924,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: - - *504 + - *510 responses: '204': description: Response @@ -100953,7 +100957,7 @@ paths: application/json: schema: type: array - items: &641 + items: &647 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -101032,7 +101036,7 @@ paths: - account - plan examples: - default: &642 + default: &648 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -101094,9 +101098,9 @@ paths: application/json: schema: type: array - items: *641 + items: *647 examples: - default: *642 + default: *648 headers: Link: *37 '304': *35 @@ -101136,7 +101140,7 @@ paths: application/json: schema: type: array - items: *230 + items: *236 examples: default: value: @@ -101238,13 +101242,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *128 + - *134 responses: '200': description: Response content: application/json: - schema: *230 + schema: *236 examples: default: value: @@ -101302,7 +101306,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *128 + - *134 requestBody: required: true content: @@ -101327,7 +101331,7 @@ paths: description: Response content: application/json: - schema: *230 + schema: *236 examples: default: value: @@ -101395,7 +101399,7 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: default: value: @@ -101657,7 +101661,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -101837,7 +101841,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *233 + - *239 - name: exclude in: query required: false @@ -101850,7 +101854,7 @@ paths: description: Response content: application/json: - schema: *232 + schema: *238 examples: default: value: @@ -102044,7 +102048,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *233 + - *239 responses: '302': description: Response @@ -102070,7 +102074,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *233 + - *239 responses: '204': description: Response @@ -102099,8 +102103,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *233 - - *643 + - *239 + - *649 responses: '204': description: Response @@ -102124,7 +102128,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *233 + - *239 - *17 - *18 responses: @@ -102134,9 +102138,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 '404': *6 @@ -102173,7 +102177,7 @@ paths: type: array items: *50 examples: - default: *644 + default: *650 headers: Link: *37 '304': *35 @@ -102215,7 +102219,7 @@ paths: - docker - nuget - container - - *645 + - *651 - *18 - *17 responses: @@ -102225,10 +102229,10 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: *646 - '400': *647 + default: *652 + '400': *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102248,16 +102252,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: - - *240 - - *241 + - *246 + - *247 responses: '200': description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: &660 + default: &666 value: id: 40201 name: octo-name @@ -102370,8 +102374,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: - - *240 - - *241 + - *246 + - *247 responses: '204': description: Response @@ -102401,8 +102405,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: - - *240 - - *241 + - *246 + - *247 - name: token description: package token schema: @@ -102434,8 +102438,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: - - *240 - - *241 + - *246 + - *247 - *18 - *17 - name: state @@ -102455,7 +102459,7 @@ paths: application/json: schema: type: array - items: *242 + items: *248 examples: default: value: @@ -102504,15 +102508,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: - - *240 - - *241 - - *243 + - *246 + - *247 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: default: value: @@ -102548,9 +102552,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: - - *240 - - *241 - - *243 + - *246 + - *247 + - *249 responses: '204': description: Response @@ -102580,9 +102584,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: - - *240 - - *241 - - *243 + - *246 + - *247 + - *249 responses: '204': description: Response @@ -102640,7 +102644,7 @@ paths: description: Response content: application/json: - schema: *251 + schema: *257 examples: default: value: @@ -102709,9 +102713,9 @@ paths: application/json: schema: type: array - items: *634 + items: *640 examples: - default: *648 + default: *654 headers: Link: *37 '304': *35 @@ -102824,7 +102828,7 @@ paths: type: array items: *55 examples: - default: &655 + default: &661 summary: Default response value: - id: 1296269 @@ -103140,9 +103144,9 @@ paths: description: Response content: application/json: - schema: *318 + schema: *324 examples: - default: *320 + default: *326 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103180,9 +103184,9 @@ paths: application/json: schema: type: array - items: *480 + items: *486 examples: - default: *649 + default: *655 headers: Link: *37 '304': *35 @@ -103205,12 +103209,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *222 + - *228 responses: '204': description: Response '403': *27 - '409': *133 + '409': *139 '404': *6 '304': *35 x-github: @@ -103228,11 +103232,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *222 + - *228 responses: '204': description: Response - '409': *133 + '409': *139 '304': *35 '404': *6 '403': *27 @@ -103261,7 +103265,7 @@ paths: application/json: schema: type: array - items: &650 + items: &656 title: Social account description: Social media account type: object @@ -103278,7 +103282,7 @@ paths: - provider - url examples: - default: &651 + default: &657 value: - provider: twitter url: https://twitter.com/github @@ -103341,9 +103345,9 @@ paths: application/json: schema: type: array - items: *650 + items: *656 examples: - default: *651 + default: *657 '422': *15 '304': *35 '404': *6 @@ -103431,7 +103435,7 @@ paths: application/json: schema: type: array - items: &652 + items: &658 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103451,7 +103455,7 @@ paths: - title - created_at examples: - default: &661 + default: &667 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103518,9 +103522,9 @@ paths: description: Response content: application/json: - schema: *652 + schema: *658 examples: - default: &653 + default: &659 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103551,7 +103555,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: - - &654 + - &660 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103563,9 +103567,9 @@ paths: description: Response content: application/json: - schema: *652 + schema: *658 examples: - default: *653 + default: *659 '404': *6 '304': *35 '403': *27 @@ -103588,7 +103592,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: - - *654 + - *660 responses: '204': description: Response @@ -103617,7 +103621,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: - - &662 + - &668 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 @@ -103642,11 +103646,11 @@ paths: type: array items: *55 examples: - default-response: *655 + default-response: *661 application/vnd.github.v3.star+json: schema: type: array - items: &663 + items: &669 title: Starred Repository description: Starred Repository type: object @@ -103802,8 +103806,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response if this repository is starred by you @@ -103831,8 +103835,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -103856,8 +103860,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: - - *305 - - *306 + - *311 + - *312 responses: '204': description: Response @@ -103890,9 +103894,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 '304': *35 @@ -103929,7 +103933,7 @@ paths: application/json: schema: type: array - items: *286 + items: *292 examples: default: value: @@ -104013,10 +104017,10 @@ paths: application/json: schema: oneOf: - - *628 - - *627 + - *634 + - *633 examples: - default-response: &657 + default-response: &663 summary: Default response value: login: octocat @@ -104051,7 +104055,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &658 + response-with-git-hub-plan-information: &664 summary: Response with GitHub plan information value: login: octocat @@ -104111,7 +104115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *656 + - *662 - *17 responses: '200': @@ -104122,7 +104126,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: example: ; rel="next" @@ -104150,7 +104154,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *168 + - *174 responses: '200': description: Response @@ -104158,11 +104162,11 @@ paths: application/json: schema: oneOf: - - *628 - - *627 + - *634 + - *633 examples: - default-response: *657 - response-with-git-hub-plan-information: *658 + default-response: *663 + response-with-git-hub-plan-information: *664 '404': *6 x-github: githubCloudOnly: false @@ -104188,7 +104192,7 @@ paths: - *17 - *74 - *75 - - *168 + - *174 - name: subject_digest description: Subject Digest in: path @@ -104290,7 +104294,7 @@ paths: description: Response content: application/json: - schema: *157 + schema: *163 examples: default: value: @@ -104316,7 +104320,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: - - *168 + - *174 responses: '200': description: Response @@ -104324,9 +104328,9 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: *646 + default: *652 '403': *27 '401': *23 x-github: @@ -104349,7 +104353,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104430,8 +104434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *168 - - *128 + - *174 + - *134 - *17 - *18 responses: @@ -104520,7 +104524,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104597,7 +104601,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104609,7 +104613,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -104628,7 +104632,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104640,7 +104644,7 @@ paths: type: array items: *4 examples: - default: *226 + default: *232 headers: Link: *37 x-github: @@ -104659,7 +104663,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: - - *168 + - *174 - name: target_user in: path required: true @@ -104686,7 +104690,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *168 + - *174 - *102 - *17 - *18 @@ -104720,7 +104724,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: - - *168 + - *174 - *17 - *18 responses: @@ -104730,9 +104734,9 @@ paths: application/json: schema: type: array - items: *635 + items: *641 examples: - default: *659 + default: *665 headers: Link: *37 x-github: @@ -104756,7 +104760,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *168 + - *174 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -104828,7 +104832,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: - - *168 + - *174 responses: '200': description: Response @@ -104836,7 +104840,7 @@ paths: application/json: schema: *20 examples: - default: *477 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104854,7 +104858,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104902,7 +104906,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -104914,7 +104918,7 @@ paths: type: array items: *50 examples: - default: *644 + default: *650 headers: Link: *37 x-github: @@ -104953,8 +104957,8 @@ paths: - docker - nuget - container - - *645 - - *168 + - *651 + - *174 - *18 - *17 responses: @@ -104964,12 +104968,12 @@ paths: application/json: schema: type: array - items: *238 + items: *244 examples: - default: *646 + default: *652 '403': *27 '401': *23 - '400': *647 + '400': *653 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -104989,17 +104993,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *240 - - *241 - - *168 + - *246 + - *247 + - *174 responses: '200': description: Response content: application/json: - schema: *238 + schema: *244 examples: - default: *660 + default: *666 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105020,9 +105024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *240 - - *241 - - *168 + - *246 + - *247 + - *174 responses: '204': description: Response @@ -105054,9 +105058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *240 - - *241 - - *168 + - *246 + - *247 + - *174 - name: token description: package token schema: @@ -105088,9 +105092,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: - - *240 - - *241 - - *168 + - *246 + - *247 + - *174 responses: '200': description: Response @@ -105098,7 +105102,7 @@ paths: application/json: schema: type: array - items: *242 + items: *248 examples: default: value: @@ -105156,16 +105160,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: - - *240 - - *241 - - *243 - - *168 + - *246 + - *247 + - *249 + - *174 responses: '200': description: Response content: application/json: - schema: *242 + schema: *248 examples: default: value: @@ -105200,10 +105204,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *240 - - *241 - - *168 - - *243 + - *246 + - *247 + - *174 + - *249 responses: '204': description: Response @@ -105235,10 +105239,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *240 - - *241 - - *168 - - *243 + - *246 + - *247 + - *174 + - *249 responses: '204': description: Response @@ -105261,7 +105265,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *168 + - *174 - name: state description: Indicates the state of the projects to return. in: query @@ -105282,7 +105286,7 @@ paths: application/json: schema: type: array - items: *251 + items: *257 examples: default: value: @@ -105341,7 +105345,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: - - *168 + - *174 - *17 - *18 responses: @@ -105430,7 +105434,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: - - *168 + - *174 - *17 - *18 responses: @@ -105517,7 +105521,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *168 + - *174 - name: type description: Limit results to repositories of the specified type. in: query @@ -105560,9 +105564,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -105586,15 +105590,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: - - *168 + - *174 responses: '200': description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *279 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105616,15 +105620,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *168 + - *174 responses: '200': description: Response content: application/json: - schema: *282 + schema: *288 examples: - default: *283 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105646,15 +105650,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: - - *168 + - *174 responses: '200': description: Response content: application/json: - schema: *284 + schema: *290 examples: - default: *285 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105672,7 +105676,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: - - *168 + - *174 - *17 - *18 responses: @@ -105682,9 +105686,9 @@ paths: application/json: schema: type: array - items: *650 + items: *656 examples: - default: *651 + default: *657 headers: Link: *37 x-github: @@ -105704,7 +105708,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: - - *168 + - *174 - *17 - *18 responses: @@ -105714,9 +105718,9 @@ paths: application/json: schema: type: array - items: *652 + items: *658 examples: - default: *661 + default: *667 headers: Link: *37 x-github: @@ -105740,8 +105744,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *168 - - *662 + - *174 + - *668 - *76 - *17 - *18 @@ -105753,11 +105757,11 @@ paths: schema: anyOf: - type: array - items: *663 + items: *669 - type: array items: *55 examples: - default-response: *655 + default-response: *661 headers: Link: *37 x-github: @@ -105776,7 +105780,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *168 + - *174 - *17 - *18 responses: @@ -105786,9 +105790,9 @@ paths: application/json: schema: type: array - items: *146 + items: *152 examples: - default: *244 + default: *250 headers: Link: *37 x-github: @@ -105917,7 +105921,7 @@ webhooks: type: string enum: - disabled - enterprise: &664 + enterprise: &670 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -105986,7 +105990,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &665 + installation: &671 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106007,7 +106011,7 @@ webhooks: required: - id - node_id - organization: &666 + organization: &672 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106080,7 +106084,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &667 + repository: &673 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -106993,10 +106997,10 @@ webhooks: type: string enum: - enabled - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -107072,11 +107076,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - rule: &668 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + rule: &674 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) @@ -107299,11 +107303,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - rule: *668 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + rule: *674 sender: *4 required: - action @@ -107491,11 +107495,11 @@ webhooks: - everyone required: - from - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - rule: *668 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + rule: *674 sender: *4 required: - action @@ -107568,7 +107572,7 @@ webhooks: required: true content: application/json: - schema: &671 + schema: &677 title: Exemption request cancellation event type: object properties: @@ -107576,11 +107580,11 @@ webhooks: type: string enum: - cancelled - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: &669 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: &675 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -107734,7 +107738,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &670 + items: &676 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -107840,7 +107844,7 @@ webhooks: required: true content: application/json: - schema: &672 + schema: &678 title: Exemption request completed event type: object properties: @@ -107848,11 +107852,11 @@ webhooks: type: string enum: - completed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: *669 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: *675 sender: *4 required: - action @@ -107924,7 +107928,7 @@ webhooks: required: true content: application/json: - schema: &673 + schema: &679 title: Exemption request created event type: object properties: @@ -107932,11 +107936,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: *669 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: *675 sender: *4 required: - action @@ -108008,7 +108012,7 @@ webhooks: required: true content: application/json: - schema: &674 + schema: &680 title: Exemption response dismissed event type: object properties: @@ -108016,12 +108020,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: *669 - exemption_response: *670 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: *675 + exemption_response: *676 sender: *4 required: - action @@ -108095,7 +108099,7 @@ webhooks: required: true content: application/json: - schema: &675 + schema: &681 title: Exemption response submitted event type: object properties: @@ -108103,12 +108107,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - exemption_request: *669 - exemption_response: *670 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + exemption_request: *675 + exemption_response: *676 sender: *4 required: - action @@ -108181,7 +108185,7 @@ webhooks: required: true content: application/json: - schema: *671 + schema: *677 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108248,7 +108252,7 @@ webhooks: required: true content: application/json: - schema: *672 + schema: *678 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108315,7 +108319,7 @@ webhooks: required: true content: application/json: - schema: *673 + schema: *679 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108382,7 +108386,7 @@ webhooks: required: true content: application/json: - schema: *674 + schema: *680 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108450,7 +108454,7 @@ webhooks: required: true content: application/json: - schema: *675 + schema: *681 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108528,7 +108532,7 @@ webhooks: type: string enum: - completed - check_run: &677 + check_run: &683 title: CheckRun description: A check performed on the code of a given code change type: object @@ -108596,8 +108600,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *375 - repository: *146 + items: *381 + repository: *152 status: type: string enum: @@ -108641,7 +108645,7 @@ webhooks: - examples: - neutral - deployment: *676 + deployment: *682 details_url: type: string examples: @@ -108701,7 +108705,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *375 + items: *381 started_at: type: string format: date-time @@ -108739,9 +108743,9 @@ webhooks: - output - app - pull_requests - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - check_run @@ -109134,10 +109138,10 @@ webhooks: type: string enum: - created - check_run: *677 - installation: *665 - organization: *666 - repository: *667 + check_run: *683 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - check_run @@ -109533,10 +109537,10 @@ webhooks: type: string enum: - requested_action - check_run: *677 - installation: *665 - organization: *666 - repository: *667 + check_run: *683 + installation: *671 + organization: *672 + repository: *673 requested_action: description: The action requested by the user. type: object @@ -109941,10 +109945,10 @@ webhooks: type: string enum: - rerequested - check_run: *677 - installation: *665 - organization: *666 - repository: *667 + check_run: *683 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - check_run @@ -110936,10 +110940,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -111624,10 +111628,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -112306,10 +112310,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -112616,20 +112620,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &678 + commit_oid: &684 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: *664 - installation: *665 - organization: *666 - ref: &679 + enterprise: *670 + installation: *671 + organization: *672 + ref: &685 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: *667 + repository: *673 sender: *4 required: - action @@ -112957,12 +112961,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *678 - enterprise: *664 - installation: *665 - organization: *666 - ref: *679 - repository: *667 + commit_oid: *684 + enterprise: *670 + installation: *671 + organization: *672 + ref: *685 + repository: *673 sender: *4 required: - action @@ -113060,7 +113064,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *387 + dismissed_comment: *393 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113235,12 +113239,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *678 - enterprise: *664 - installation: *665 - organization: *666 - ref: *679 - repository: *667 + commit_oid: *684 + enterprise: *670 + installation: *671 + organization: *672 + ref: *685 + repository: *673 sender: *4 required: - action @@ -113572,12 +113576,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *678 - enterprise: *664 - installation: *665 - organization: *666 - ref: *679 - repository: *667 + commit_oid: *684 + enterprise: *670 + installation: *671 + organization: *672 + ref: *685 + repository: *673 sender: *4 required: - action @@ -113846,9 +113850,9 @@ webhooks: type: - string - 'null' - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -113856,7 +113860,7 @@ webhooks: type: - string - 'null' - repository: *667 + repository: *673 sender: *4 required: - action @@ -114088,12 +114092,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *678 - enterprise: *664 - installation: *665 - organization: *666 - ref: *679 - repository: *667 + commit_oid: *684 + enterprise: *670 + installation: *671 + organization: *672 + ref: *685 + repository: *673 sender: *4 required: - action @@ -114355,10 +114359,10 @@ webhooks: - updated_at - author_association - body - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -114439,18 +114443,18 @@ webhooks: type: - string - 'null' - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *666 - pusher_type: &680 + organization: *672 + pusher_type: &686 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &681 + ref: &687 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -114460,7 +114464,7 @@ webhooks: enum: - tag - branch - repository: *667 + repository: *673 sender: *4 required: - ref @@ -114542,10 +114546,10 @@ webhooks: type: string enum: - created - definition: *252 - enterprise: *664 - installation: *665 - organization: *666 + definition: *258 + enterprise: *670 + installation: *671 + organization: *672 sender: *4 required: - action @@ -114630,9 +114634,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 sender: *4 required: - action @@ -114709,10 +114713,10 @@ webhooks: type: string enum: - updated - definition: *252 - enterprise: *664 - installation: *665 - organization: *666 + definition: *258 + enterprise: *670 + installation: *671 + organization: *672 sender: *4 required: - action @@ -114789,19 +114793,19 @@ webhooks: type: string enum: - updated - enterprise: *664 - installation: *665 - repository: *667 - organization: *666 + enterprise: *670 + installation: *671 + repository: *673 + organization: *672 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *256 + items: *262 old_property_values: type: array description: The old custom property values for the repository. - items: *256 + items: *262 required: - action - repository @@ -114877,18 +114881,18 @@ webhooks: title: delete event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 - pusher_type: *680 - ref: *681 + enterprise: *670 + installation: *671 + organization: *672 + pusher_type: *686 + ref: *687 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *667 + repository: *673 sender: *4 required: - ref @@ -114972,11 +114976,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115060,11 +115064,11 @@ webhooks: type: string enum: - auto_reopened - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115148,11 +115152,11 @@ webhooks: type: string enum: - created - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115234,11 +115238,11 @@ webhooks: type: string enum: - dismissed - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115320,11 +115324,11 @@ webhooks: type: string enum: - fixed - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115407,11 +115411,11 @@ webhooks: type: string enum: - reintroduced - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115493,11 +115497,11 @@ webhooks: type: string enum: - reopened - alert: *436 - installation: *665 - organization: *666 - enterprise: *664 - repository: *667 + alert: *442 + installation: *671 + organization: *672 + enterprise: *670 + repository: *673 sender: *4 required: - action @@ -115574,9 +115578,9 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - key: &682 + enterprise: *670 + installation: *671 + key: &688 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -115614,8 +115618,8 @@ webhooks: - verified - created_at - read_only - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -115692,11 +115696,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - key: *682 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + key: *688 + organization: *672 + repository: *673 sender: *4 required: - action @@ -116268,12 +116272,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: &686 + workflow: &692 title: Workflow type: - object @@ -117011,13 +117015,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *442 + deployment: *448 pull_requests: type: array - items: *523 - repository: *667 - organization: *666 - installation: *665 + items: *529 + repository: *673 + organization: *672 + installation: *671 sender: *4 responses: '200': @@ -117088,7 +117092,7 @@ webhooks: type: string enum: - approved - approver: &683 + approver: &689 type: object properties: avatar_url: @@ -117131,11 +117135,11 @@ webhooks: type: string comment: type: string - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - reviewers: &684 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + reviewers: &690 type: array items: type: object @@ -117216,7 +117220,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &685 + workflow_job_run: &691 type: object properties: conclusion: @@ -117962,18 +117966,18 @@ webhooks: type: string enum: - rejected - approver: *683 + approver: *689 comment: type: string - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - reviewers: *684 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + reviewers: *690 sender: *4 since: type: string - workflow_job_run: *685 + workflow_job_run: *691 workflow_job_runs: type: array items: @@ -118690,13 +118694,13 @@ webhooks: type: string enum: - requested - enterprise: *664 + enterprise: *670 environment: type: string - installation: *665 - organization: *666 - repository: *667 - requestor: &691 + installation: *671 + organization: *672 + repository: *673 + requestor: &697 title: User type: - object @@ -120639,12 +120643,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: *686 + workflow: *692 workflow_run: title: Deployment Workflow Run type: @@ -121335,7 +121339,7 @@ webhooks: type: string enum: - answered - answer: &689 + answer: &695 type: object properties: author_association: @@ -121495,7 +121499,7 @@ webhooks: - created_at - updated_at - body - discussion: &687 + discussion: &693 title: Discussion description: A Discussion in a repository. type: object @@ -121791,7 +121795,7 @@ webhooks: - id labels: type: array - items: *487 + items: *493 required: - repository_url - category @@ -121813,10 +121817,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -121943,11 +121947,11 @@ webhooks: - from required: - category - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122030,11 +122034,11 @@ webhooks: type: string enum: - closed - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122116,7 +122120,7 @@ webhooks: type: string enum: - created - comment: &688 + comment: &694 type: object properties: author_association: @@ -122276,11 +122280,11 @@ webhooks: - updated_at - body - reactions - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122363,12 +122367,12 @@ webhooks: type: string enum: - deleted - comment: *688 - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + comment: *694 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122463,12 +122467,12 @@ webhooks: - from required: - body - comment: *688 - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + comment: *694 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122552,11 +122556,11 @@ webhooks: type: string enum: - created - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122638,11 +122642,11 @@ webhooks: type: string enum: - deleted - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122742,11 +122746,11 @@ webhooks: type: string required: - from - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122828,10 +122832,10 @@ webhooks: type: string enum: - labeled - discussion: *687 - enterprise: *664 - installation: *665 - label: &690 + discussion: *693 + enterprise: *670 + installation: *671 + label: &696 title: Label type: object properties: @@ -122864,8 +122868,8 @@ webhooks: - color - default - description - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -122948,11 +122952,11 @@ webhooks: type: string enum: - locked - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123034,11 +123038,11 @@ webhooks: type: string enum: - pinned - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123120,11 +123124,11 @@ webhooks: type: string enum: - reopened - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123209,16 +123213,16 @@ webhooks: changes: type: object properties: - new_discussion: *687 - new_repository: *667 + new_discussion: *693 + new_repository: *673 required: - new_discussion - new_repository - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123301,10 +123305,10 @@ webhooks: type: string enum: - unanswered - discussion: *687 - old_answer: *689 - organization: *666 - repository: *667 + discussion: *693 + old_answer: *695 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123386,12 +123390,12 @@ webhooks: type: string enum: - unlabeled - discussion: *687 - enterprise: *664 - installation: *665 - label: *690 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123474,11 +123478,11 @@ webhooks: type: string enum: - unlocked - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123560,11 +123564,11 @@ webhooks: type: string enum: - unpinned - discussion: *687 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + discussion: *693 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -123637,7 +123641,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *664 + enterprise: *670 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -124315,9 +124319,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - forkee @@ -124463,9 +124467,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pages: description: The pages that were updated. type: array @@ -124503,7 +124507,7 @@ webhooks: - action - sha - html_url - repository: *667 + repository: *673 sender: *4 required: - pages @@ -124579,10 +124583,10 @@ webhooks: type: string enum: - created - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: &692 + organization: *672 + repositories: &698 description: An array of repository objects that the installation can access. type: array @@ -124608,8 +124612,8 @@ webhooks: - name - full_name - private - repository: *667 - requester: *691 + repository: *673 + requester: *697 sender: *4 required: - action @@ -124684,11 +124688,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: *692 - repository: *667 + organization: *672 + repositories: *698 + repository: *673 requester: type: - 'null' @@ -124765,11 +124769,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: *692 - repository: *667 + organization: *672 + repositories: *698 + repository: *673 requester: type: - 'null' @@ -124846,10 +124850,10 @@ webhooks: type: string enum: - added - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories_added: &693 + organization: *672 + repositories_added: &699 description: An array of repository objects, which were added to the installation. type: array @@ -124895,15 +124899,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *667 - repository_selection: &694 + repository: *673 + repository_selection: &700 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *691 + requester: *697 sender: *4 required: - action @@ -124982,10 +124986,10 @@ webhooks: type: string enum: - removed - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories_added: *693 + organization: *672 + repositories_added: *699 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -125012,9 +125016,9 @@ webhooks: - name - full_name - private - repository: *667 - repository_selection: *694 - requester: *691 + repository: *673 + repository_selection: *700 + requester: *697 sender: *4 required: - action @@ -125093,11 +125097,11 @@ webhooks: type: string enum: - suspend - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: *692 - repository: *667 + organization: *672 + repositories: *698 + repository: *673 requester: type: - 'null' @@ -125280,10 +125284,10 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 target_type: type: string @@ -125362,11 +125366,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *664 + enterprise: *670 installation: *20 - organization: *666 - repositories: *692 - repository: *667 + organization: *672 + repositories: *698 + repository: *673 requester: type: - 'null' @@ -125614,8 +125618,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126791,8 +126795,8 @@ webhooks: - state - locked - assignee - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -126872,7 +126876,7 @@ webhooks: type: string enum: - deleted - comment: &695 + comment: &701 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -127039,8 +127043,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128214,8 +128218,8 @@ webhooks: - state - locked - assignee - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -128295,7 +128299,7 @@ webhooks: type: string enum: - edited - changes: &720 + changes: &726 description: The changes to the comment. type: object properties: @@ -128307,9 +128311,9 @@ webhooks: type: string required: - from - comment: *695 - enterprise: *664 - installation: *665 + comment: *701 + enterprise: *670 + installation: *671 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129484,8 +129488,8 @@ webhooks: - state - locked - assignee - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -129567,10 +129571,10 @@ webhooks: type: string enum: - assigned - assignee: *691 - enterprise: *664 - installation: *665 - issue: &698 + assignee: *697 + enterprise: *670 + installation: *671 + issue: &704 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130500,8 +130504,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -130581,8 +130585,8 @@ webhooks: type: string enum: - closed - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -131660,8 +131664,8 @@ webhooks: required: - state - closed_at - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -131740,8 +131744,8 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132664,8 +132668,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -132744,8 +132748,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133672,7 +133676,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &696 + milestone: &702 title: Milestone description: A collection of related issues and pull requests. type: object @@ -133815,8 +133819,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -133915,8 +133919,8 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134846,9 +134850,9 @@ webhooks: - active_lock_reason - body - reactions - label: *690 - organization: *666 - repository: *667 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -134928,8 +134932,8 @@ webhooks: type: string enum: - labeled - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135858,9 +135862,9 @@ webhooks: - active_lock_reason - body - reactions - label: *690 - organization: *666 - repository: *667 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -135940,8 +135944,8 @@ webhooks: type: string enum: - locked - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136872,8 +136876,8 @@ webhooks: format: uri user_view_type: type: string - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -136952,8 +136956,8 @@ webhooks: type: string enum: - milestoned - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137878,9 +137882,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *696 - organization: *666 - repository: *667 + milestone: *702 + organization: *672 + repository: *673 sender: *4 required: - action @@ -139366,8 +139370,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140296,8 +140300,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -140377,9 +140381,9 @@ webhooks: type: string enum: - pinned - enterprise: *664 - installation: *665 - issue: &697 + enterprise: *670 + installation: *671 + issue: &703 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -141302,8 +141306,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -141382,8 +141386,8 @@ webhooks: type: string enum: - reopened - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142313,8 +142317,8 @@ webhooks: format: uri user_view_type: type: string - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -143800,11 +143804,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *664 - installation: *665 - issue: *697 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + issue: *703 + organization: *672 + repository: *673 sender: *4 required: - action @@ -143885,7 +143889,7 @@ webhooks: type: string enum: - unassigned - assignee: &723 + assignee: &729 title: User type: - object @@ -143957,11 +143961,11 @@ webhooks: required: - login - id - enterprise: *664 - installation: *665 - issue: *698 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + issue: *704 + organization: *672 + repository: *673 sender: *4 required: - action @@ -144040,12 +144044,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *664 - installation: *665 - issue: *698 - label: *690 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + issue: *704 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -144125,8 +144129,8 @@ webhooks: type: string enum: - unlocked - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145055,8 +145059,8 @@ webhooks: format: uri user_view_type: type: string - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145136,11 +145140,11 @@ webhooks: type: string enum: - unpinned - enterprise: *664 - installation: *665 - issue: *697 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + issue: *703 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145219,11 +145223,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - label: *690 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145301,11 +145305,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - label: *690 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145415,11 +145419,11 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - label: *690 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + label: *696 + organization: *672 + repository: *673 sender: *4 required: - action @@ -145501,9 +145505,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *664 - installation: *665 - marketplace_purchase: &699 + enterprise: *670 + installation: *671 + marketplace_purchase: &705 title: Marketplace Purchase type: object required: @@ -145591,8 +145595,8 @@ webhooks: type: integer unit_count: type: integer - organization: *666 - previous_marketplace_purchase: &700 + organization: *672 + previous_marketplace_purchase: &706 title: Marketplace Purchase type: object properties: @@ -145676,7 +145680,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *667 + repository: *673 sender: *4 required: - action @@ -145756,10 +145760,10 @@ webhooks: - changed effective_date: type: string - enterprise: *664 - installation: *665 - marketplace_purchase: *699 - organization: *666 + enterprise: *670 + installation: *671 + marketplace_purchase: *705 + organization: *672 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -145847,7 +145851,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *667 + repository: *673 sender: *4 required: - action @@ -145929,10 +145933,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *664 - installation: *665 - marketplace_purchase: *699 - organization: *666 + enterprise: *670 + installation: *671 + marketplace_purchase: *705 + organization: *672 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146018,7 +146022,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *667 + repository: *673 sender: *4 required: - action @@ -146099,8 +146103,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 marketplace_purchase: title: Marketplace Purchase type: object @@ -146186,9 +146190,9 @@ webhooks: type: integer unit_count: type: integer - organization: *666 - previous_marketplace_purchase: *700 - repository: *667 + organization: *672 + previous_marketplace_purchase: *706 + repository: *673 sender: *4 required: - action @@ -146268,12 +146272,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *664 - installation: *665 - marketplace_purchase: *699 - organization: *666 - previous_marketplace_purchase: *700 - repository: *667 + enterprise: *670 + installation: *671 + marketplace_purchase: *705 + organization: *672 + previous_marketplace_purchase: *706 + repository: *673 sender: *4 required: - action @@ -146375,11 +146379,11 @@ webhooks: type: string required: - to - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 sender: *4 required: - action @@ -146481,11 +146485,11 @@ webhooks: type: - string - 'null' - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 sender: *4 required: - action @@ -146564,11 +146568,11 @@ webhooks: type: string enum: - removed - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 sender: *4 required: - action @@ -146646,11 +146650,11 @@ webhooks: type: string enum: - added - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 scope: description: The scope of the membership. Currently, can only be `team`. @@ -146728,7 +146732,7 @@ webhooks: required: - login - id - team: &701 + team: &707 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -146921,11 +146925,11 @@ webhooks: type: string enum: - removed - enterprise: *664 - installation: *665 - member: *691 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + member: *697 + organization: *672 + repository: *673 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147004,7 +147008,7 @@ webhooks: required: - login - id - team: *701 + team: *707 required: - action - scope @@ -147086,8 +147090,8 @@ webhooks: type: string enum: - checks_requested - installation: *665 - merge_group: &702 + installation: *671 + merge_group: &708 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -147106,15 +147110,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *379 + head_commit: *385 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147200,10 +147204,10 @@ webhooks: - merged - invalidated - dequeued - installation: *665 - merge_group: *702 - organization: *666 - repository: *667 + installation: *671 + merge_group: *708 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147276,7 +147280,7 @@ webhooks: type: string enum: - deleted - enterprise: *664 + enterprise: *670 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -147384,12 +147388,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *665 - organization: *666 + installation: *671 + organization: *672 repository: anyOf: - type: 'null' - - *667 + - *673 sender: *4 required: - action @@ -147469,11 +147473,11 @@ webhooks: type: string enum: - closed - enterprise: *664 - installation: *665 - milestone: *696 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + milestone: *702 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147552,9 +147556,9 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - milestone: &703 + enterprise: *670 + installation: *671 + milestone: &709 title: Milestone description: A collection of related issues and pull requests. type: object @@ -147696,8 +147700,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147776,11 +147780,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - milestone: *696 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + milestone: *702 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147890,11 +147894,11 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - milestone: *696 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + milestone: *702 + organization: *672 + repository: *673 sender: *4 required: - action @@ -147974,11 +147978,11 @@ webhooks: type: string enum: - opened - enterprise: *664 - installation: *665 - milestone: *703 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + milestone: *709 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148057,11 +148061,11 @@ webhooks: type: string enum: - blocked - blocked_user: *691 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + blocked_user: *697 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148140,11 +148144,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *691 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + blocked_user: *697 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148223,9 +148227,9 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - membership: &704 + enterprise: *670 + installation: *671 + membership: &710 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148319,8 +148323,8 @@ webhooks: - role - organization_url - user - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148398,11 +148402,11 @@ webhooks: type: string enum: - member_added - enterprise: *664 - installation: *665 - membership: *704 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + membership: *710 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148481,8 +148485,8 @@ webhooks: type: string enum: - member_invited - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -148604,10 +148608,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 - user: *691 + user: *697 required: - action - invitation @@ -148685,11 +148689,11 @@ webhooks: type: string enum: - member_removed - enterprise: *664 - installation: *665 - membership: *704 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + membership: *710 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148776,11 +148780,11 @@ webhooks: properties: from: type: string - enterprise: *664 - installation: *665 - membership: *704 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + membership: *710 + organization: *672 + repository: *673 sender: *4 required: - action @@ -148856,9 +148860,9 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 package: description: Information about the package. type: object @@ -149381,7 +149385,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &705 + items: &711 title: Ruby Gems metadata type: object properties: @@ -149478,7 +149482,7 @@ webhooks: - owner - package_version - registry - repository: *667 + repository: *673 sender: *4 required: - action @@ -149554,9 +149558,9 @@ webhooks: type: string enum: - updated - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 package: description: Information about the package. type: object @@ -149918,7 +149922,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *705 + items: *711 source_url: type: string format: uri @@ -149989,7 +149993,7 @@ webhooks: - owner - package_version - registry - repository: *667 + repository: *673 sender: *4 required: - action @@ -150170,12 +150174,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *664 + enterprise: *670 id: type: integer - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - id @@ -150255,7 +150259,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &706 + personal_access_token_request: &712 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -150405,10 +150409,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *664 - organization: *666 + enterprise: *670 + organization: *672 sender: *4 - installation: *665 + installation: *671 required: - action - personal_access_token_request @@ -150487,11 +150491,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *706 - enterprise: *664 - organization: *666 + personal_access_token_request: *712 + enterprise: *670 + organization: *672 sender: *4 - installation: *665 + installation: *671 required: - action - personal_access_token_request @@ -150569,11 +150573,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *706 - enterprise: *664 - organization: *666 + personal_access_token_request: *712 + enterprise: *670 + organization: *672 sender: *4 - installation: *665 + installation: *671 required: - action - personal_access_token_request @@ -150650,11 +150654,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *706 - organization: *666 - enterprise: *664 + personal_access_token_request: *712 + organization: *672 + enterprise: *670 sender: *4 - installation: *665 + installation: *671 required: - action - personal_access_token_request @@ -150758,7 +150762,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *707 + last_response: *713 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -150790,8 +150794,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 zen: description: Random string of GitHub zen. @@ -151036,10 +151040,10 @@ webhooks: - from required: - note - enterprise: *664 - installation: *665 - organization: *666 - project_card: &708 + enterprise: *670 + installation: *671 + organization: *672 + project_card: &714 title: Project Card type: object properties: @@ -151162,7 +151166,7 @@ webhooks: - creator - created_at - updated_at - repository: *667 + repository: *673 sender: *4 required: - action @@ -151243,11 +151247,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - project_card: *708 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project_card: *714 + repository: *673 sender: *4 required: - action @@ -151327,9 +151331,9 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 project_card: title: Project Card type: object @@ -151459,7 +151463,7 @@ webhooks: repository: anyOf: - type: 'null' - - *667 + - *673 sender: *4 required: - action @@ -151553,11 +151557,11 @@ webhooks: - from required: - note - enterprise: *664 - installation: *665 - organization: *666 - project_card: *708 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project_card: *714 + repository: *673 sender: *4 required: - action @@ -151651,9 +151655,9 @@ webhooks: - from required: - column_id - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 project_card: allOf: - title: Project Card @@ -151850,7 +151854,7 @@ webhooks: type: string required: - after_id - repository: *667 + repository: *673 sender: *4 required: - action @@ -151930,10 +151934,10 @@ webhooks: type: string enum: - closed - enterprise: *664 - installation: *665 - organization: *666 - project: &710 + enterprise: *670 + installation: *671 + organization: *672 + project: &716 title: Project type: object properties: @@ -152060,7 +152064,7 @@ webhooks: - creator - created_at - updated_at - repository: *667 + repository: *673 sender: *4 required: - action @@ -152140,10 +152144,10 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - project_column: &709 + enterprise: *670 + installation: *671 + organization: *672 + project_column: &715 title: Project Column type: object properties: @@ -152183,7 +152187,7 @@ webhooks: - name - created_at - updated_at - repository: *667 + repository: *673 sender: *4 required: - action @@ -152262,14 +152266,14 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - project_column: *709 + enterprise: *670 + installation: *671 + organization: *672 + project_column: *715 repository: anyOf: - type: 'null' - - *667 + - *673 sender: *4 required: - action @@ -152358,11 +152362,11 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 - project_column: *709 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project_column: *715 + repository: *673 sender: *4 required: - action @@ -152442,11 +152446,11 @@ webhooks: type: string enum: - moved - enterprise: *664 - installation: *665 - organization: *666 - project_column: *709 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project_column: *715 + repository: *673 sender: *4 required: - action @@ -152526,11 +152530,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - project: *710 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project: *716 + repository: *673 sender: *4 required: - action @@ -152610,14 +152614,14 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - project: *710 + enterprise: *670 + installation: *671 + organization: *672 + project: *716 repository: anyOf: - type: 'null' - - *667 + - *673 sender: *4 required: - action @@ -152718,11 +152722,11 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 - project: *710 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project: *716 + repository: *673 sender: *4 required: - action @@ -152801,11 +152805,11 @@ webhooks: type: string enum: - reopened - enterprise: *664 - installation: *665 - organization: *666 - project: *710 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + project: *716 + repository: *673 sender: *4 required: - action @@ -152886,9 +152890,9 @@ webhooks: type: string enum: - closed - installation: *665 - organization: *666 - projects_v2: &711 + installation: *671 + organization: *672 + projects_v2: &717 title: Projects v2 Project description: A projects v2 project type: object @@ -153036,9 +153040,9 @@ webhooks: type: string enum: - created - installation: *665 - organization: *666 - projects_v2: *711 + installation: *671 + organization: *672 + projects_v2: *717 sender: *4 required: - action @@ -153119,9 +153123,9 @@ webhooks: type: string enum: - deleted - installation: *665 - organization: *666 - projects_v2: *711 + installation: *671 + organization: *672 + projects_v2: *717 sender: *4 required: - action @@ -153242,9 +153246,9 @@ webhooks: type: string to: type: string - installation: *665 - organization: *666 - projects_v2: *711 + installation: *671 + organization: *672 + projects_v2: *717 sender: *4 required: - action @@ -153327,7 +153331,7 @@ webhooks: type: string enum: - archived - changes: &715 + changes: &721 type: object properties: archived_at: @@ -153343,9 +153347,9 @@ webhooks: - string - 'null' format: date-time - installation: *665 - organization: *666 - projects_v2_item: &712 + installation: *671 + organization: *672 + projects_v2_item: &718 title: Projects v2 Item description: An item belonging to a project type: object @@ -153484,9 +153488,9 @@ webhooks: - 'null' to: type: string - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -153568,9 +153572,9 @@ webhooks: type: string enum: - created - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -153651,9 +153655,9 @@ webhooks: type: string enum: - deleted - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -153758,7 +153762,7 @@ webhooks: oneOf: - type: string - type: integer - - &713 + - &719 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -153778,7 +153782,7 @@ webhooks: required: - id - name - - &714 + - &720 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -153807,8 +153811,8 @@ webhooks: oneOf: - type: string - type: integer - - *713 - - *714 + - *719 + - *720 type: - 'null' - string @@ -153831,9 +153835,9 @@ webhooks: - 'null' required: - body - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -153930,9 +153934,9 @@ webhooks: type: - string - 'null' - installation: *665 - organization: *666 - projects_v2_item: *712 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -154015,10 +154019,10 @@ webhooks: type: string enum: - restored - changes: *715 - installation: *665 - organization: *666 - projects_v2_item: *712 + changes: *721 + installation: *671 + organization: *672 + projects_v2_item: *718 sender: *4 required: - action @@ -154100,9 +154104,9 @@ webhooks: type: string enum: - reopened - installation: *665 - organization: *666 - projects_v2: *711 + installation: *671 + organization: *672 + projects_v2: *717 sender: *4 required: - action @@ -154183,9 +154187,9 @@ webhooks: type: string enum: - created - installation: *665 - organization: *666 - projects_v2_status_update: &716 + installation: *671 + organization: *672 + projects_v2_status_update: &722 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -154320,9 +154324,9 @@ webhooks: type: string enum: - deleted - installation: *665 - organization: *666 - projects_v2_status_update: *716 + installation: *671 + organization: *672 + projects_v2_status_update: *722 sender: *4 required: - action @@ -154468,9 +154472,9 @@ webhooks: - string - 'null' format: date - installation: *665 - organization: *666 - projects_v2_status_update: *716 + installation: *671 + organization: *672 + projects_v2_status_update: *722 sender: *4 required: - action @@ -154541,10 +154545,10 @@ webhooks: title: public event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - repository @@ -154621,13 +154625,13 @@ webhooks: type: string enum: - assigned - assignee: *691 - enterprise: *664 - installation: *665 - number: &717 + assignee: *697 + enterprise: *670 + installation: *671 + number: &723 description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -156976,7 +156980,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -157058,11 +157062,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -159404,7 +159408,7 @@ webhooks: - draft reason: type: string - repository: *667 + repository: *673 sender: *4 required: - action @@ -159486,11 +159490,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -161832,7 +161836,7 @@ webhooks: - draft reason: type: string - repository: *667 + repository: *673 sender: *4 required: - action @@ -161914,13 +161918,13 @@ webhooks: type: string enum: - closed - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: &718 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: &724 allOf: - - *523 + - *529 - type: object properties: allow_auto_merge: @@ -161982,7 +161986,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *667 + repository: *673 sender: *4 required: - action @@ -162063,12 +162067,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -162148,11 +162152,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *664 - milestone: *422 - number: *717 - organization: *666 - pull_request: &719 + enterprise: *670 + milestone: *428 + number: *723 + organization: *672 + pull_request: &725 title: Pull Request type: object properties: @@ -164479,7 +164483,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -164558,11 +164562,11 @@ webhooks: type: string enum: - dequeued - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -166908,7 +166912,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *667 + repository: *673 sender: *4 required: - action @@ -167032,12 +167036,12 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -167117,11 +167121,11 @@ webhooks: type: string enum: - enqueued - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -169452,7 +169456,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -169532,11 +169536,11 @@ webhooks: type: string enum: - labeled - enterprise: *664 - installation: *665 - label: *690 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + label: *696 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -171884,7 +171888,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -171965,10 +171969,10 @@ webhooks: type: string enum: - locked - enterprise: *664 - installation: *665 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -174314,7 +174318,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -174394,12 +174398,12 @@ webhooks: type: string enum: - milestoned - enterprise: *664 - milestone: *422 - number: *717 - organization: *666 - pull_request: *719 - repository: *667 + enterprise: *670 + milestone: *428 + number: *723 + organization: *672 + pull_request: *725 + repository: *673 sender: *4 required: - action @@ -174478,12 +174482,12 @@ webhooks: type: string enum: - opened - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -174564,12 +174568,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -174649,12 +174653,12 @@ webhooks: type: string enum: - reopened - enterprise: *664 - installation: *665 - number: *717 - organization: *666 - pull_request: *718 - repository: *667 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 + pull_request: *724 + repository: *673 sender: *4 required: - action @@ -175029,9 +175033,9 @@ webhooks: - start_side - side - reactions - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: type: object properties: @@ -177261,7 +177265,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *667 + repository: *673 sender: *4 required: - action @@ -177341,7 +177345,7 @@ webhooks: type: string enum: - deleted - comment: &721 + comment: &727 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. @@ -177634,9 +177638,9 @@ webhooks: - start_side - side - reactions - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: type: object properties: @@ -179854,7 +179858,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *667 + repository: *673 sender: *4 required: - action @@ -179934,11 +179938,11 @@ webhooks: type: string enum: - edited - changes: *720 - comment: *721 - enterprise: *664 - installation: *665 - organization: *666 + changes: *726 + comment: *727 + enterprise: *670 + installation: *671 + organization: *672 pull_request: type: object properties: @@ -182159,7 +182163,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *667 + repository: *673 sender: *4 required: - action @@ -182240,9 +182244,9 @@ webhooks: type: string enum: - dismissed - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -184475,7 +184479,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 + repository: *673 review: description: The review that was affected. type: object @@ -184721,9 +184725,9 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -186837,8 +186841,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 - review: &722 + repository: *673 + review: &728 description: The review that was affected. type: object properties: @@ -187071,12 +187075,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -189423,7 +189427,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 requested_reviewer: title: User type: @@ -189509,12 +189513,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -191868,7 +191872,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192063,12 +192067,12 @@ webhooks: type: string enum: - review_requested - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -194417,7 +194421,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 requested_reviewer: title: User type: @@ -194504,12 +194508,12 @@ webhooks: type: string enum: - review_requested - enterprise: *664 - installation: *665 + enterprise: *670 + installation: *671 number: description: The pull request number. type: integer - organization: *666 + organization: *672 pull_request: title: Pull Request type: object @@ -196849,7 +196853,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197033,9 +197037,9 @@ webhooks: type: string enum: - submitted - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -199271,8 +199275,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 - review: *722 + repository: *673 + review: *728 sender: *4 required: - action @@ -199352,9 +199356,9 @@ webhooks: type: string enum: - resolved - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -201485,7 +201489,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 + repository: *673 sender: *4 thread: type: object @@ -201877,9 +201881,9 @@ webhooks: type: string enum: - unresolved - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 pull_request: title: Simple Pull Request type: object @@ -203993,7 +203997,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *667 + repository: *673 sender: *4 thread: type: object @@ -204387,10 +204391,10 @@ webhooks: type: string before: type: string - enterprise: *664 - installation: *665 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -206725,7 +206729,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -206807,11 +206811,11 @@ webhooks: type: string enum: - unassigned - assignee: *723 - enterprise: *664 - installation: *665 - number: *717 - organization: *666 + assignee: *729 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -209161,7 +209165,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -209240,11 +209244,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *664 - installation: *665 - label: *690 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + label: *696 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -211583,7 +211587,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -211664,10 +211668,10 @@ webhooks: type: string enum: - unlocked - enterprise: *664 - installation: *665 - number: *717 - organization: *666 + enterprise: *670 + installation: *671 + number: *723 + organization: *672 pull_request: title: Pull Request type: object @@ -213996,7 +214000,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *667 + repository: *673 sender: *4 required: - action @@ -214199,7 +214203,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *664 + enterprise: *670 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214294,8 +214298,8 @@ webhooks: - url - author - committer - installation: *665 - organization: *666 + installation: *671 + organization: *672 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -214883,9 +214887,9 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 registry_package: type: object properties: @@ -215362,7 +215366,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *705 + items: *711 summary: type: string tag_name: @@ -215418,7 +215422,7 @@ webhooks: - owner - package_version - registry - repository: *667 + repository: *673 sender: *4 required: - action @@ -215496,9 +215500,9 @@ webhooks: type: string enum: - updated - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 registry_package: type: object properties: @@ -215810,7 +215814,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *705 + items: *711 summary: type: string tag_name: @@ -215860,7 +215864,7 @@ webhooks: - owner - package_version - registry - repository: *667 + repository: *673 sender: *4 required: - action @@ -215937,10 +215941,10 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - release: &724 + enterprise: *670 + installation: *671 + organization: *672 + release: &730 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216256,7 +216260,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *667 + repository: *673 sender: *4 required: - action @@ -216333,11 +216337,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - release: *724 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + release: *730 + repository: *673 sender: *4 required: - action @@ -216445,11 +216449,11 @@ webhooks: type: boolean required: - to - enterprise: *664 - installation: *665 - organization: *666 - release: *724 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + release: *730 + repository: *673 sender: *4 required: - action @@ -216527,9 +216531,9 @@ webhooks: type: string enum: - prereleased - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -216850,7 +216854,7 @@ webhooks: - string - 'null' format: uri - repository: *667 + repository: *673 sender: *4 required: - action @@ -216926,10 +216930,10 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 - release: &725 + enterprise: *670 + installation: *671 + organization: *672 + release: &731 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -217247,7 +217251,7 @@ webhooks: - string - 'null' format: uri - repository: *667 + repository: *673 sender: *4 required: - action @@ -217323,11 +217327,11 @@ webhooks: type: string enum: - released - enterprise: *664 - installation: *665 - organization: *666 - release: *724 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + release: *730 + repository: *673 sender: *4 required: - action @@ -217403,11 +217407,11 @@ webhooks: type: string enum: - unpublished - enterprise: *664 - installation: *665 - organization: *666 - release: *725 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + release: *731 + repository: *673 sender: *4 required: - action @@ -217483,11 +217487,11 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_advisory: *576 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_advisory: *582 sender: *4 required: - action @@ -217563,11 +217567,11 @@ webhooks: type: string enum: - reported - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_advisory: *576 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_advisory: *582 sender: *4 required: - action @@ -217643,10 +217647,10 @@ webhooks: type: string enum: - archived - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -217723,10 +217727,10 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -217804,10 +217808,10 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -217892,10 +217896,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218010,10 +218014,10 @@ webhooks: - 'null' items: type: string - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218085,10 +218089,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 status: type: string @@ -218169,10 +218173,10 @@ webhooks: type: string enum: - privatized - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218249,10 +218253,10 @@ webhooks: type: string enum: - publicized - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218346,10 +218350,10 @@ webhooks: - name required: - repository - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218429,11 +218433,11 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_ruleset: *266 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_ruleset: *272 sender: *4 required: - action @@ -218511,11 +218515,11 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_ruleset: *266 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_ruleset: *272 sender: *4 required: - action @@ -218593,11 +218597,11 @@ webhooks: type: string enum: - edited - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - repository_ruleset: *266 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + repository_ruleset: *272 changes: type: object properties: @@ -218616,16 +218620,16 @@ webhooks: properties: added: type: array - items: *260 + items: *266 deleted: type: array - items: *260 + items: *266 updated: type: array items: type: object properties: - condition: *260 + condition: *266 changes: type: object properties: @@ -218658,16 +218662,16 @@ webhooks: properties: added: type: array - items: *265 + items: *271 deleted: type: array - items: *265 + items: *271 updated: type: array items: type: object properties: - rule: *265 + rule: *271 changes: type: object properties: @@ -218904,10 +218908,10 @@ webhooks: - from required: - owner - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -218985,10 +218989,10 @@ webhooks: type: string enum: - unarchived - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219066,7 +219070,7 @@ webhooks: type: string enum: - create - alert: &726 + alert: &732 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219190,10 +219194,10 @@ webhooks: type: string enum: - open - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219403,10 +219407,10 @@ webhooks: type: string enum: - dismissed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219484,11 +219488,11 @@ webhooks: type: string enum: - reopen - alert: *726 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *732 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219690,10 +219694,10 @@ webhooks: enum: - fixed - open - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219771,7 +219775,7 @@ webhooks: type: string enum: - created - alert: &727 + alert: &733 type: object properties: number: *81 @@ -219875,10 +219879,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -219959,11 +219963,11 @@ webhooks: type: string enum: - created - alert: *727 - installation: *665 - location: *728 - organization: *666 - repository: *667 + alert: *733 + installation: *671 + location: *734 + organization: *672 + repository: *673 sender: *4 required: - location @@ -220201,11 +220205,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *727 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *733 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -220283,11 +220287,11 @@ webhooks: type: string enum: - reopened - alert: *727 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *733 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -220365,11 +220369,11 @@ webhooks: type: string enum: - resolved - alert: *727 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *733 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -220447,11 +220451,11 @@ webhooks: type: string enum: - validated - alert: *727 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + alert: *733 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -220527,11 +220531,11 @@ webhooks: type: string enum: - published - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - security_advisory: &729 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + security_advisory: &735 description: The details of the security advisory, including summary, description, and severity. type: object @@ -220717,11 +220721,11 @@ webhooks: type: string enum: - updated - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 - security_advisory: *729 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 + security_advisory: *735 sender: *4 required: - action @@ -220794,10 +220798,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -220983,11 +220987,11 @@ webhooks: from: type: object properties: - security_and_analysis: *257 - enterprise: *664 - installation: *665 - organization: *666 - repository: *318 + security_and_analysis: *263 + enterprise: *670 + installation: *671 + organization: *672 + repository: *324 sender: *4 required: - changes @@ -221065,12 +221069,12 @@ webhooks: type: string enum: - cancelled - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: &730 + sponsorship: &736 type: object properties: created_at: @@ -221375,12 +221379,12 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - sponsorship @@ -221468,12 +221472,12 @@ webhooks: type: string required: - from - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - changes @@ -221550,17 +221554,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &731 + effective_date: &737 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: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - sponsorship @@ -221634,7 +221638,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &732 + changes: &738 type: object properties: tier: @@ -221678,13 +221682,13 @@ webhooks: - from required: - tier - effective_date: *731 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + effective_date: *737 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - changes @@ -221761,13 +221765,13 @@ webhooks: type: string enum: - tier_changed - changes: *732 - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + changes: *738 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - sponsorship: *730 + sponsorship: *736 required: - action - changes @@ -221841,10 +221845,10 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -221928,10 +221932,10 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222360,15 +222364,15 @@ webhooks: type: - string - 'null' - enterprise: *664 + enterprise: *670 id: description: The unique identifier of the status. type: integer - installation: *665 + installation: *671 name: type: string - organization: *666 - repository: *667 + organization: *672 + repository: *673 sender: *4 sha: description: The Commit SHA. @@ -222484,9 +222488,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *112 - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -222576,9 +222580,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *112 - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -222668,9 +222672,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *112 - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -222760,9 +222764,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *112 - installation: *665 - organization: *666 - repository: *667 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -222839,12 +222843,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - team: &733 + team: &739 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223037,9 +223041,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -223509,7 +223513,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - team @@ -223585,9 +223589,9 @@ webhooks: type: string enum: - created - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -224057,7 +224061,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - team @@ -224134,9 +224138,9 @@ webhooks: type: string enum: - deleted - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -224606,7 +224610,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - team @@ -224750,9 +224754,9 @@ webhooks: - from required: - permissions - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -225222,7 +225226,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - changes @@ -225300,9 +225304,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *664 - installation: *665 - organization: *666 + enterprise: *670 + installation: *671 + organization: *672 repository: title: Repository description: A git repository @@ -225772,7 +225776,7 @@ webhooks: - topics - visibility sender: *4 - team: *733 + team: *739 required: - action - team @@ -225848,10 +225852,10 @@ webhooks: type: string enum: - started - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 required: - action @@ -225924,17 +225928,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *664 + enterprise: *670 inputs: type: - object - 'null' additionalProperties: true - installation: *665 - organization: *666 + installation: *671 + organization: *672 ref: type: string - repository: *667 + repository: *673 sender: *4 workflow: type: string @@ -226016,10 +226020,10 @@ webhooks: type: string enum: - completed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 workflow_job: allOf: @@ -226275,7 +226279,7 @@ webhooks: type: string required: - conclusion - deployment: *442 + deployment: *448 required: - action - repository @@ -226354,10 +226358,10 @@ webhooks: type: string enum: - in_progress - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 workflow_job: allOf: @@ -226639,7 +226643,7 @@ webhooks: required: - status - steps - deployment: *442 + deployment: *448 required: - action - repository @@ -226718,10 +226722,10 @@ webhooks: type: string enum: - queued - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 workflow_job: type: object @@ -226867,7 +226871,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *442 + deployment: *448 required: - action - repository @@ -226946,10 +226950,10 @@ webhooks: type: string enum: - waiting - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 workflow_job: type: object @@ -227096,7 +227100,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *442 + deployment: *448 required: - action - repository @@ -227176,12 +227180,12 @@ webhooks: type: string enum: - completed - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: *686 + workflow: *692 workflow_run: title: Workflow Run type: object @@ -228200,12 +228204,12 @@ webhooks: type: string enum: - in_progress - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: *686 + workflow: *692 workflow_run: title: Workflow Run type: object @@ -229209,12 +229213,12 @@ webhooks: type: string enum: - requested - enterprise: *664 - installation: *665 - organization: *666 - repository: *667 + enterprise: *670 + installation: *671 + organization: *672 + repository: *673 sender: *4 - workflow: *686 + workflow: *692 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 9bcaaabea..1cb86f345 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -9237,6 +9237,60 @@ "deprecated": true } }, + "/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.\n\n**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/enterprise-cloud@latest//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/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-hour" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -61693,7 +61747,7 @@ "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", + "description": "Lists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", "operationId": "enterprise-admin/list-provisioned-groups-enterprise", "tags": [ "enterprise-admin", @@ -61775,7 +61829,7 @@ }, "post": { "summary": "Provision a SCIM enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nCreates a SCIM group for an enterprise.\n\nWhen members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user.", + "description": "Creates a SCIM group for an enterprise.\n\nWhen members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user.", "operationId": "enterprise-admin/provision-enterprise-group", "tags": [ "enterprise-admin" @@ -61856,7 +61910,7 @@ "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nGets information about a SCIM group.", + "description": "Gets information about a SCIM group.", "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-group", "tags": [ "enterprise-admin" @@ -61920,7 +61974,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nReplaces an existing provisioned group’s information.\n\nYou must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.", + "description": "Replaces an existing provisioned group’s information.\n\nYou must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-group", "tags": [ "enterprise-admin" @@ -62029,7 +62083,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nUpdate a provisioned group’s individual attributes.\n\nTo modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships.\n\nYou can submit group memberships individually or in batches for improved efficiency.\n\n> [!NOTE]\n> Memberships are referenced via a local user id. Ensure users are created before referencing them here.", + "description": "Update a provisioned group’s individual attributes.\n\nTo modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships.\n\nYou can submit group memberships individually or in batches for improved efficiency.\n\n> [!NOTE]\n> Memberships are referenced via a local user id. Ensure users are created before referencing them here.", "operationId": "enterprise-admin/update-attribute-for-enterprise-group", "tags": [ "enterprise-admin" @@ -62148,7 +62202,7 @@ }, "delete": { "summary": "Delete a SCIM group from an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning using the REST API is in public preview and subject to change.\n\nDeletes a SCIM group from an enterprise.", + "description": "Deletes a SCIM group from an enterprise.", "operationId": "enterprise-admin/delete-scim-group-from-enterprise", "tags": [ "enterprise-admin" @@ -62199,7 +62253,7 @@ "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", + "description": "Lists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", "operationId": "enterprise-admin/list-provisioned-identities-enterprise", "tags": [ "enterprise-admin" @@ -62277,7 +62331,7 @@ }, "post": { "summary": "Provision a SCIM enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nCreates an external identity for a new SCIM enterprise user.\n\nSCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML.", + "description": "Creates an external identity for a new SCIM enterprise user.\n\nSCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML.", "operationId": "enterprise-admin/provision-enterprise-user", "tags": [ "enterprise-admin" @@ -62358,7 +62412,7 @@ "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nGets information about a SCIM user.", + "description": "Gets information about a SCIM user.", "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-user", "tags": [ "enterprise-admin" @@ -62419,7 +62473,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nReplaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", + "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-user", "tags": [ "enterprise-admin" @@ -62498,7 +62552,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nUpdate a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", + "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", "operationId": "enterprise-admin/update-attribute-for-enterprise-user", "tags": [ "enterprise-admin" @@ -62635,7 +62689,7 @@ }, "delete": { "summary": "Delete a SCIM user from an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning using the REST API is in public preview and subject to change.\n\nSuspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible.", + "description": "Suspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible.", "operationId": "enterprise-admin/delete-user-from-enterprise", "tags": [ "enterprise-admin" @@ -316217,6 +316271,21 @@ } } }, + "billing_usage_report_org": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-report" + } + } + } + } + }, "no_content": { "description": "A header with no content is returned." }, diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 58d02bf26..6eac17690 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -6534,6 +6534,41 @@ paths: category: orgs subcategory: custom-roles deprecated: true + "/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/enterprise-cloud@latest//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/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-hour" + responses: + '200': + "$ref": "#/components/responses/billing_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -44669,9 +44704,6 @@ paths: get: summary: List provisioned SCIM groups for an enterprise description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Lists provisioned SCIM groups in an enterprise. You can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response. @@ -44728,9 +44760,6 @@ paths: post: summary: Provision a SCIM enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Creates a SCIM group for an enterprise. When members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user. @@ -44785,11 +44814,7 @@ paths: "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": get: summary: Get SCIM provisioning information for an enterprise group - description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - - Gets information about a SCIM group. + description: Gets information about a SCIM group. operationId: enterprise-admin/get-provisioning-information-for-enterprise-group tags: - enterprise-admin @@ -44830,9 +44855,6 @@ paths: put: summary: Set SCIM information for a provisioned enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Replaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead. @@ -44905,9 +44927,6 @@ paths: patch: summary: Update an attribute for a SCIM enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Update a provisioned group’s individual attributes. To modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships. @@ -44987,11 +45006,7 @@ paths: subcategory: scim delete: summary: Delete a SCIM group from an enterprise - description: |- - > [!NOTE] - > SCIM provisioning using the REST API is in public preview and subject to change. - - Deletes a SCIM group from an enterprise. + description: Deletes a SCIM group from an enterprise. operationId: enterprise-admin/delete-scim-group-from-enterprise tags: - enterprise-admin @@ -45025,9 +45040,6 @@ paths: get: summary: List SCIM provisioned identities for an enterprise description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Lists provisioned SCIM enterprise members. When you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list. @@ -45083,9 +45095,6 @@ paths: post: summary: Provision a SCIM enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Creates an external identity for a new SCIM enterprise user. SCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML. @@ -45140,11 +45149,7 @@ paths: "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": get: summary: Get SCIM provisioning information for an enterprise user - description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - - Gets information about a SCIM user. + description: Gets information about a SCIM user. operationId: enterprise-admin/get-provisioning-information-for-enterprise-user tags: - enterprise-admin @@ -45184,9 +45189,6 @@ paths: put: summary: Set SCIM information for a provisioned enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Replaces an existing provisioned user's information. You must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint. @@ -45243,9 +45245,6 @@ paths: patch: summary: Update an attribute for a SCIM enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Update a provisioned user's individual attributes. To modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). @@ -45349,11 +45348,11 @@ paths: subcategory: scim delete: summary: Delete a SCIM user from an enterprise - description: |- - > [!NOTE] - > SCIM provisioning using the REST API is in public preview and subject to change. - - Suspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible. + description: 'Suspends a SCIM user permanently from an enterprise. This action + will: remove all the user''s data, anonymize their login, email, and display + name, erase all external identity SCIM attributes, delete the user''s emails, + avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. + This action is irreversible.' operationId: enterprise-admin/delete-user-from-enterprise tags: - enterprise-admin @@ -236606,6 +236605,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_usage_report_org: + description: Billing usage report response for an organization + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-report" + examples: + default: + "$ref": "#/components/examples/billing-usage-report" no_content: description: A header with no content is returned. package_es_list_error: diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index 9bcaaabea..1cb86f345 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -9237,6 +9237,60 @@ "deprecated": true } }, + "/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.\n\n**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/enterprise-cloud@latest//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/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization" + }, + "parameters": [ + { + "$ref": "#/components/parameters/org" + }, + { + "$ref": "#/components/parameters/billing-usage-report-year" + }, + { + "$ref": "#/components/parameters/billing-usage-report-month" + }, + { + "$ref": "#/components/parameters/billing-usage-report-day" + }, + { + "$ref": "#/components/parameters/billing-usage-report-hour" + } + ], + "responses": { + "200": { + "$ref": "#/components/responses/billing_usage_report_org" + }, + "400": { + "$ref": "#/components/responses/bad_request" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "500": { + "$ref": "#/components/responses/internal_error" + }, + "503": { + "$ref": "#/components/responses/service_unavailable" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "billing", + "subcategory": "enhanced-billing" + } + } + }, "/orgs/{org}": { "get": { "summary": "Get an organization", @@ -61693,7 +61747,7 @@ "/scim/v2/enterprises/{enterprise}/Groups": { "get": { "summary": "List provisioned SCIM groups for an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nLists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", + "description": "Lists provisioned SCIM groups in an enterprise.\n\nYou can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response.", "operationId": "enterprise-admin/list-provisioned-groups-enterprise", "tags": [ "enterprise-admin", @@ -61775,7 +61829,7 @@ }, "post": { "summary": "Provision a SCIM enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nCreates a SCIM group for an enterprise.\n\nWhen members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user.", + "description": "Creates a SCIM group for an enterprise.\n\nWhen members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user.", "operationId": "enterprise-admin/provision-enterprise-group", "tags": [ "enterprise-admin" @@ -61856,7 +61910,7 @@ "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nGets information about a SCIM group.", + "description": "Gets information about a SCIM group.", "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-group", "tags": [ "enterprise-admin" @@ -61920,7 +61974,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nReplaces an existing provisioned group’s information.\n\nYou must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.", + "description": "Replaces an existing provisioned group’s information.\n\nYou must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead.", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-group", "tags": [ "enterprise-admin" @@ -62029,7 +62083,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise group", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nUpdate a provisioned group’s individual attributes.\n\nTo modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships.\n\nYou can submit group memberships individually or in batches for improved efficiency.\n\n> [!NOTE]\n> Memberships are referenced via a local user id. Ensure users are created before referencing them here.", + "description": "Update a provisioned group’s individual attributes.\n\nTo modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships.\n\nYou can submit group memberships individually or in batches for improved efficiency.\n\n> [!NOTE]\n> Memberships are referenced via a local user id. Ensure users are created before referencing them here.", "operationId": "enterprise-admin/update-attribute-for-enterprise-group", "tags": [ "enterprise-admin" @@ -62148,7 +62202,7 @@ }, "delete": { "summary": "Delete a SCIM group from an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning using the REST API is in public preview and subject to change.\n\nDeletes a SCIM group from an enterprise.", + "description": "Deletes a SCIM group from an enterprise.", "operationId": "enterprise-admin/delete-scim-group-from-enterprise", "tags": [ "enterprise-admin" @@ -62199,7 +62253,7 @@ "/scim/v2/enterprises/{enterprise}/Users": { "get": { "summary": "List SCIM provisioned identities for an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nLists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", + "description": "Lists provisioned SCIM enterprise members.\n\nWhen you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list.", "operationId": "enterprise-admin/list-provisioned-identities-enterprise", "tags": [ "enterprise-admin" @@ -62277,7 +62331,7 @@ }, "post": { "summary": "Provision a SCIM enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nCreates an external identity for a new SCIM enterprise user.\n\nSCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML.", + "description": "Creates an external identity for a new SCIM enterprise user.\n\nSCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML.", "operationId": "enterprise-admin/provision-enterprise-user", "tags": [ "enterprise-admin" @@ -62358,7 +62412,7 @@ "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": { "get": { "summary": "Get SCIM provisioning information for an enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nGets information about a SCIM user.", + "description": "Gets information about a SCIM user.", "operationId": "enterprise-admin/get-provisioning-information-for-enterprise-user", "tags": [ "enterprise-admin" @@ -62419,7 +62473,7 @@ }, "put": { "summary": "Set SCIM information for a provisioned enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nReplaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", + "description": "Replaces an existing provisioned user's information.\n\nYou must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.", "operationId": "enterprise-admin/set-information-for-provisioned-enterprise-user", "tags": [ "enterprise-admin" @@ -62498,7 +62552,7 @@ }, "patch": { "summary": "Update an attribute for a SCIM enterprise user", - "description": "> [!NOTE]\n> SCIM provisioning for users and groups using the REST API is in public preview and subject to change.\n\nUpdate a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", + "description": "Update a provisioned user's individual attributes.\n\nTo modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2).\n\n> [!NOTE]\n> Complex SCIM `path` selectors that include filters are not supported. For example, a `path` selector defined as `\"path\": \"emails[type eq \\\"work\\\"]\"` will be ineffective.\n\n> [!WARNING]\n> Setting `active: false` will suspend a user, and their handle and email will be obfuscated.\n> ```\n> {\n> \"Operations\":[{\n> \"op\":\"replace\",\n> \"value\":{\n> \"active\":false\n> }\n> }]\n> }\n> ```", "operationId": "enterprise-admin/update-attribute-for-enterprise-user", "tags": [ "enterprise-admin" @@ -62635,7 +62689,7 @@ }, "delete": { "summary": "Delete a SCIM user from an enterprise", - "description": "> [!NOTE]\n> SCIM provisioning using the REST API is in public preview and subject to change.\n\nSuspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible.", + "description": "Suspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible.", "operationId": "enterprise-admin/delete-user-from-enterprise", "tags": [ "enterprise-admin" @@ -316217,6 +316271,21 @@ } } }, + "billing_usage_report_org": { + "description": "Billing usage report response for an organization", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/billing-usage-report" + }, + "examples": { + "default": { + "$ref": "#/components/examples/billing-usage-report" + } + } + } + } + }, "no_content": { "description": "A header with no content is returned." }, diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 58d02bf26..6eac17690 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -6534,6 +6534,41 @@ paths: category: orgs subcategory: custom-roles deprecated: true + "/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/enterprise-cloud@latest//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/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization + parameters: + - "$ref": "#/components/parameters/org" + - "$ref": "#/components/parameters/billing-usage-report-year" + - "$ref": "#/components/parameters/billing-usage-report-month" + - "$ref": "#/components/parameters/billing-usage-report-day" + - "$ref": "#/components/parameters/billing-usage-report-hour" + responses: + '200': + "$ref": "#/components/responses/billing_usage_report_org" + '400': + "$ref": "#/components/responses/bad_request" + '403': + "$ref": "#/components/responses/forbidden" + '500': + "$ref": "#/components/responses/internal_error" + '503': + "$ref": "#/components/responses/service_unavailable" + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -44669,9 +44704,6 @@ paths: get: summary: List provisioned SCIM groups for an enterprise description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Lists provisioned SCIM groups in an enterprise. You can improve query search time by using the `excludedAttributes` query parameter with a value of `members` to exclude members from the response. @@ -44728,9 +44760,6 @@ paths: post: summary: Provision a SCIM enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Creates a SCIM group for an enterprise. When members are part of the group provisioning payload, they're designated as external group members. Providers are responsible for maintaining a mapping between the `externalId` and `id` for each user. @@ -44785,11 +44814,7 @@ paths: "/scim/v2/enterprises/{enterprise}/Groups/{scim_group_id}": get: summary: Get SCIM provisioning information for an enterprise group - description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - - Gets information about a SCIM group. + description: Gets information about a SCIM group. operationId: enterprise-admin/get-provisioning-information-for-enterprise-group tags: - enterprise-admin @@ -44830,9 +44855,6 @@ paths: put: summary: Set SCIM information for a provisioned enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Replaces an existing provisioned group’s information. You must provide all the information required for the group as if you were provisioning it for the first time. Any existing group information that you don't provide will be removed, including group membership. If you want to only update a specific attribute, use the [Update an attribute for a SCIM enterprise group](#update-an-attribute-for-a-scim-enterprise-group) endpoint instead. @@ -44905,9 +44927,6 @@ paths: patch: summary: Update an attribute for a SCIM enterprise group description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Update a provisioned group’s individual attributes. To modify a group's values, you'll need to use a specific Operations JSON format which must include at least one of the following operations: add, remove, or replace. For examples and more information on this SCIM format, consult the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). The update function can also be used to add group memberships. @@ -44987,11 +45006,7 @@ paths: subcategory: scim delete: summary: Delete a SCIM group from an enterprise - description: |- - > [!NOTE] - > SCIM provisioning using the REST API is in public preview and subject to change. - - Deletes a SCIM group from an enterprise. + description: Deletes a SCIM group from an enterprise. operationId: enterprise-admin/delete-scim-group-from-enterprise tags: - enterprise-admin @@ -45025,9 +45040,6 @@ paths: get: summary: List SCIM provisioned identities for an enterprise description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Lists provisioned SCIM enterprise members. When you remove a user with a SCIM-provisioned external identity from an enterprise using a `patch` with `active` flag to `false`, the user's metadata remains intact. This means they can potentially re-join the enterprise later. Although, while suspended, the user can't sign in. If you want to ensure the user can't re-join in the future, use the delete request. Only users who weren't permanently deleted will appear in the result list. @@ -45083,9 +45095,6 @@ paths: post: summary: Provision a SCIM enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Creates an external identity for a new SCIM enterprise user. SCIM is responsible for user provisioning, not authentication. The actual user authentication is handled by SAML. However, with SCIM enabled, users must first be provisioned via SCIM before they can sign in through SAML. @@ -45140,11 +45149,7 @@ paths: "/scim/v2/enterprises/{enterprise}/Users/{scim_user_id}": get: summary: Get SCIM provisioning information for an enterprise user - description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - - Gets information about a SCIM user. + description: Gets information about a SCIM user. operationId: enterprise-admin/get-provisioning-information-for-enterprise-user tags: - enterprise-admin @@ -45184,9 +45189,6 @@ paths: put: summary: Set SCIM information for a provisioned enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Replaces an existing provisioned user's information. You must supply complete user information, just as you would when provisioning them initially. Any previously existing data not provided will be deleted. To update only a specific attribute, refer to the [Update an attribute for a SCIM user](#update-an-attribute-for-a-scim-enterprise-user) endpoint. @@ -45243,9 +45245,6 @@ paths: patch: summary: Update an attribute for a SCIM enterprise user description: |- - > [!NOTE] - > SCIM provisioning for users and groups using the REST API is in public preview and subject to change. - Update a provisioned user's individual attributes. To modify a user's attributes, you'll need to provide a `Operations` JSON formatted request that includes at least one of the following actions: add, remove, or replace. For specific examples and more information on the SCIM operations format, please refer to the [SCIM specification](https://tools.ietf.org/html/rfc7644#section-3.5.2). @@ -45349,11 +45348,11 @@ paths: subcategory: scim delete: summary: Delete a SCIM user from an enterprise - description: |- - > [!NOTE] - > SCIM provisioning using the REST API is in public preview and subject to change. - - Suspends a SCIM user permanently from an enterprise. This action will: remove all the user's data, anonymize their login, email, and display name, erase all external identity SCIM attributes, delete the user's emails, avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. This action is irreversible. + description: 'Suspends a SCIM user permanently from an enterprise. This action + will: remove all the user''s data, anonymize their login, email, and display + name, erase all external identity SCIM attributes, delete the user''s emails, + avatar, PATs, SSH keys, OAuth authorizations, GPG keys, and SAML mappings. + This action is irreversible.' operationId: enterprise-admin/delete-user-from-enterprise tags: - enterprise-admin @@ -236606,6 +236605,15 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + billing_usage_report_org: + description: Billing usage report response for an organization + content: + application/json: + schema: + "$ref": "#/components/schemas/billing-usage-report" + examples: + default: + "$ref": "#/components/examples/billing-usage-report" no_content: description: A header with no content is returned. package_es_list_error: diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index 360ea85a1..6bd90a701 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -68503,15 +68503,15 @@ }, "/manage/v1/config/init": { "post": { - "summary": "Initialize instance configuration with license upload", - "description": "When you boot a GitHub instance for the first time, you can use this endpoint to upload a license.\n\nNote that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process.\n\nThis endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "summary": "Initialize instance configuration with license and password", + "description": "When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password.\n\n> [!IMPORTANT]\n> To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process)\n\nThe root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/initialize-instance-configuration", "tags": [ "enterprise-admin" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload" + "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password" }, "servers": [ { @@ -68554,7 +68554,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -68749,7 +68749,7 @@ }, "put": { "summary": "Upload an enterprise license", - "description": "Uploads an enterprise license. This operation does not automatically activate the license.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "description": "Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/license-upload", "tags": [ "enterprise-admin" diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index 8829a8498..d28c8e58b 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -19011,13 +19011,14 @@ paths: subcategory: manage-ghes "/manage/v1/config/init": post: - summary: Initialize instance configuration with license upload + summary: Initialize instance configuration with license and password description: |- - When you boot a GitHub instance for the first time, you can use this endpoint to upload a license. + When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password. - Note that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process. + > [!IMPORTANT] + > To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) - This endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console. + The root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). @@ -19026,7 +19027,7 @@ paths: - enterprise-admin externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload + url: https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password servers: - url: "{protocol}://{hostname}" variables: @@ -19057,7 +19058,7 @@ paths: default: value: license: "@enterprise.ghl" - password: secret-password! + password: provide-password-here! responses: '202': description: Response @@ -19202,7 +19203,7 @@ paths: put: summary: Upload an enterprise license description: |- - Uploads an enterprise license. This operation does not automatically activate the license. + Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json index 360ea85a1..6bd90a701 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.json @@ -68503,15 +68503,15 @@ }, "/manage/v1/config/init": { "post": { - "summary": "Initialize instance configuration with license upload", - "description": "When you boot a GitHub instance for the first time, you can use this endpoint to upload a license.\n\nNote that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process.\n\nThis endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "summary": "Initialize instance configuration with license and password", + "description": "When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password.\n\n> [!IMPORTANT]\n> To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process)\n\nThe root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/initialize-instance-configuration", "tags": [ "enterprise-admin" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload" + "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password" }, "servers": [ { @@ -68554,7 +68554,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -68749,7 +68749,7 @@ }, "put": { "summary": "Upload an enterprise license", - "description": "Uploads an enterprise license. This operation does not automatically activate the license.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "description": "Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/license-upload", "tags": [ "enterprise-admin" diff --git a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml index 8829a8498..d28c8e58b 100644 --- a/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml +++ b/descriptions-next/ghes-3.12/dereferenced/ghes-3.12.deref.yaml @@ -19011,13 +19011,14 @@ paths: subcategory: manage-ghes "/manage/v1/config/init": post: - summary: Initialize instance configuration with license upload + summary: Initialize instance configuration with license and password description: |- - When you boot a GitHub instance for the first time, you can use this endpoint to upload a license. + When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password. - Note that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process. + > [!IMPORTANT] + > To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) - This endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console. + The root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). @@ -19026,7 +19027,7 @@ paths: - enterprise-admin externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload + url: https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password servers: - url: "{protocol}://{hostname}" variables: @@ -19057,7 +19058,7 @@ paths: default: value: license: "@enterprise.ghl" - password: secret-password! + password: provide-password-here! responses: '202': description: Response @@ -19202,7 +19203,7 @@ paths: put: summary: Upload an enterprise license description: |- - Uploads an enterprise license. This operation does not automatically activate the license. + Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). diff --git a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json index 021cd6caf..bf8b78d6d 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json +++ b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.json @@ -10427,15 +10427,15 @@ }, "/manage/v1/config/init": { "post": { - "summary": "Initialize instance configuration with license upload", - "description": "When you boot a GitHub instance for the first time, you can use this endpoint to upload a license.\n\nNote that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process.\n\nThis endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "summary": "Initialize instance configuration with license and password", + "description": "When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password.\n\n> [!IMPORTANT]\n> To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process)\n\nThe root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/initialize-instance-configuration", "tags": [ "enterprise-admin" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload" + "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password" }, "servers": [ { @@ -10463,7 +10463,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -10551,7 +10551,7 @@ }, "put": { "summary": "Upload an enterprise license", - "description": "Uploads an enterprise license. This operation does not automatically activate the license.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "description": "Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/license-upload", "tags": [ "enterprise-admin" diff --git a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml index 8f543d6f7..3a9600bd8 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml +++ b/descriptions-next/ghes-3.12/ghes-3.12.2022-11-28.yaml @@ -7300,13 +7300,14 @@ paths: subcategory: manage-ghes "/manage/v1/config/init": post: - summary: Initialize instance configuration with license upload + summary: Initialize instance configuration with license and password description: |- - When you boot a GitHub instance for the first time, you can use this endpoint to upload a license. + When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password. - Note that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process. + > [!IMPORTANT] + > To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) - This endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console. + The root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). @@ -7315,7 +7316,7 @@ paths: - enterprise-admin externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload + url: https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password servers: - url: "{protocol}://{hostname}" variables: @@ -7335,7 +7336,7 @@ paths: default: value: license: "@enterprise.ghl" - password: secret-password! + password: provide-password-here! responses: '202': description: Response @@ -7392,7 +7393,7 @@ paths: put: summary: Upload an enterprise license description: |- - Uploads an enterprise license. This operation does not automatically activate the license. + Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). diff --git a/descriptions-next/ghes-3.12/ghes-3.12.json b/descriptions-next/ghes-3.12/ghes-3.12.json index 021cd6caf..bf8b78d6d 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.json +++ b/descriptions-next/ghes-3.12/ghes-3.12.json @@ -10427,15 +10427,15 @@ }, "/manage/v1/config/init": { "post": { - "summary": "Initialize instance configuration with license upload", - "description": "When you boot a GitHub instance for the first time, you can use this endpoint to upload a license.\n\nNote that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process.\n\nThis endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "summary": "Initialize instance configuration with license and password", + "description": "When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password.\n\n> [!IMPORTANT]\n> To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process)\n\nThe root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/initialize-instance-configuration", "tags": [ "enterprise-admin" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload" + "url": "https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password" }, "servers": [ { @@ -10463,7 +10463,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -10551,7 +10551,7 @@ }, "put": { "summary": "Upload an enterprise license", - "description": "Uploads an enterprise license. This operation does not automatically activate the license.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "description": "Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/license-upload", "tags": [ "enterprise-admin" diff --git a/descriptions-next/ghes-3.12/ghes-3.12.yaml b/descriptions-next/ghes-3.12/ghes-3.12.yaml index 8f543d6f7..3a9600bd8 100644 --- a/descriptions-next/ghes-3.12/ghes-3.12.yaml +++ b/descriptions-next/ghes-3.12/ghes-3.12.yaml @@ -7300,13 +7300,14 @@ paths: subcategory: manage-ghes "/manage/v1/config/init": post: - summary: Initialize instance configuration with license upload + summary: Initialize instance configuration with license and password description: |- - When you boot a GitHub instance for the first time, you can use this endpoint to upload a license. + When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password. - Note that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process. + > [!IMPORTANT] + > To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) - This endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console. + The root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). @@ -7315,7 +7316,7 @@ paths: - enterprise-admin externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload + url: https://docs.github.com/enterprise-server@3.12/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password servers: - url: "{protocol}://{hostname}" variables: @@ -7335,7 +7336,7 @@ paths: default: value: license: "@enterprise.ghl" - password: secret-password! + password: provide-password-here! responses: '202': description: Response @@ -7392,7 +7393,7 @@ paths: put: summary: Upload an enterprise license description: |- - Uploads an enterprise license. This operation does not automatically activate the license. + Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). diff --git a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json index 2fdd764dc..806a9da8f 100644 --- a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.json @@ -68642,15 +68642,15 @@ }, "/manage/v1/config/init": { "post": { - "summary": "Initialize instance configuration with license upload", - "description": "When you boot a GitHub instance for the first time, you can use this endpoint to upload a license.\n\nNote that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process.\n\nThis endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "summary": "Initialize instance configuration with license and password", + "description": "When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password.\n\n> [!IMPORTANT]\n> To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process)\n\nThe root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/initialize-instance-configuration", "tags": [ "enterprise-admin" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload" + "url": "https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password" }, "servers": [ { @@ -68693,7 +68693,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -68888,7 +68888,7 @@ }, "put": { "summary": "Upload an enterprise license", - "description": "Uploads an enterprise license. This operation does not automatically activate the license.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "description": "Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/license-upload", "tags": [ "enterprise-admin" @@ -68915,7 +68915,7 @@ "parameters": [ { "name": "apply", - "description": "Whether to apply changes from the license. Uploading a license does not automatically apply changes. To make the changes effective, you can specify to apply the license too.", + "description": "Whether to instantly apply changes from the license. Otherwise the new license can be applied using the [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) endpoint.", "in": "query", "required": false, "schema": { diff --git a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml index b5cfe7e02..85a12c673 100644 --- a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.2022-11-28.deref.yaml @@ -19025,13 +19025,14 @@ paths: subcategory: manage-ghes "/manage/v1/config/init": post: - summary: Initialize instance configuration with license upload + summary: Initialize instance configuration with license and password description: |- - When you boot a GitHub instance for the first time, you can use this endpoint to upload a license. + When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password. - Note that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process. + > [!IMPORTANT] + > To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) - This endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console. + The root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). @@ -19040,7 +19041,7 @@ paths: - enterprise-admin externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload + url: https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password servers: - url: "{protocol}://{hostname}" variables: @@ -19071,7 +19072,7 @@ paths: default: value: license: "@enterprise.ghl" - password: secret-password! + password: provide-password-here! responses: '202': description: Response @@ -19216,7 +19217,7 @@ paths: put: summary: Upload an enterprise license description: |- - Uploads an enterprise license. This operation does not automatically activate the license. + Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). @@ -19237,9 +19238,9 @@ paths: description: Self-hosted Enterprise Server protocol parameters: - name: apply - description: Whether to apply changes from the license. Uploading a license - does not automatically apply changes. To make the changes effective, you - can specify to apply the license too. + description: Whether to instantly apply changes from the license. Otherwise + the new license can be applied using the [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) + endpoint. in: query required: false schema: diff --git a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.json b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.json index 2fdd764dc..806a9da8f 100644 --- a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.json +++ b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.json @@ -68642,15 +68642,15 @@ }, "/manage/v1/config/init": { "post": { - "summary": "Initialize instance configuration with license upload", - "description": "When you boot a GitHub instance for the first time, you can use this endpoint to upload a license.\n\nNote that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process.\n\nThis endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "summary": "Initialize instance configuration with license and password", + "description": "When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password.\n\n> [!IMPORTANT]\n> To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process)\n\nThe root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/initialize-instance-configuration", "tags": [ "enterprise-admin" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload" + "url": "https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password" }, "servers": [ { @@ -68693,7 +68693,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -68888,7 +68888,7 @@ }, "put": { "summary": "Upload an enterprise license", - "description": "Uploads an enterprise license. This operation does not automatically activate the license.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "description": "Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/license-upload", "tags": [ "enterprise-admin" @@ -68915,7 +68915,7 @@ "parameters": [ { "name": "apply", - "description": "Whether to apply changes from the license. Uploading a license does not automatically apply changes. To make the changes effective, you can specify to apply the license too.", + "description": "Whether to instantly apply changes from the license. Otherwise the new license can be applied using the [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) endpoint.", "in": "query", "required": false, "schema": { diff --git a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.yaml b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.yaml index b5cfe7e02..85a12c673 100644 --- a/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.yaml +++ b/descriptions-next/ghes-3.13/dereferenced/ghes-3.13.deref.yaml @@ -19025,13 +19025,14 @@ paths: subcategory: manage-ghes "/manage/v1/config/init": post: - summary: Initialize instance configuration with license upload + summary: Initialize instance configuration with license and password description: |- - When you boot a GitHub instance for the first time, you can use this endpoint to upload a license. + When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password. - Note that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process. + > [!IMPORTANT] + > To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) - This endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console. + The root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). @@ -19040,7 +19041,7 @@ paths: - enterprise-admin externalDocs: description: API method documentation - url: https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload + url: https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password servers: - url: "{protocol}://{hostname}" variables: @@ -19071,7 +19072,7 @@ paths: default: value: license: "@enterprise.ghl" - password: secret-password! + password: provide-password-here! responses: '202': description: Response @@ -19216,7 +19217,7 @@ paths: put: summary: Upload an enterprise license description: |- - Uploads an enterprise license. This operation does not automatically activate the license. + Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter. > [!NOTE] > The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F). @@ -19237,9 +19238,9 @@ paths: description: Self-hosted Enterprise Server protocol parameters: - name: apply - description: Whether to apply changes from the license. Uploading a license - does not automatically apply changes. To make the changes effective, you - can specify to apply the license too. + description: Whether to instantly apply changes from the license. Otherwise + the new license can be applied using the [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) + endpoint. in: query required: false schema: diff --git a/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.json b/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.json index 156dbbdca..31548169f 100644 --- a/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.json +++ b/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.json @@ -10429,15 +10429,15 @@ }, "/manage/v1/config/init": { "post": { - "summary": "Initialize instance configuration with license upload", - "description": "When you boot a GitHub instance for the first time, you can use this endpoint to upload a license.\n\nNote that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process.\n\nThis endpoint also sets the root site administrator password which is used to authenticate with the GHES Manage API and the Management Console.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "summary": "Initialize instance configuration with license and password", + "description": "When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password.\n\n> [!IMPORTANT]\n> To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process)\n\nThe root site administrator password provided when calling this endpoint is used to authenticate for all other endpoints in the GHES Manage API and the Management Console UI.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/initialize-instance-configuration", "tags": [ "enterprise-admin" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-upload" + "url": "https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password" }, "servers": [ { @@ -10465,7 +10465,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -10553,7 +10553,7 @@ }, "put": { "summary": "Upload an enterprise license", - "description": "Uploads an enterprise license. This operation does not automatically activate the license.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", + "description": "Uploads a new enterprise license. In order to apply it right away, use the `apply` query parameter.\n\n> [!NOTE]\n> The request body for this operation must be submitted as `multipart/form-data` data. You can can reference the license file by prefixing the filename with the `@` symbol using `curl`. For more information, see the [`curl` documentation](https://curl.se/docs/manpage.html#-F).", "operationId": "enterprise-admin/license-upload", "tags": [ "enterprise-admin" @@ -288402,7 +288402,7 @@ }, "license-apply": { "name": "apply", - "description": "Whether to apply changes from the license. Uploading a license does not automatically apply changes. To make the changes effective, you can specify to apply the license too.", + "description": "Whether to instantly apply changes from the license. Otherwise the new license can be applied using the [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) endpoint.", "in": "query", "required": false, "schema": { diff --git a/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.yaml b/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.yaml index 86d96ad28..5214390b1 100644 --- a/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.yaml +++ b/descriptions-next/ghes-3.13/ghes-3.13.2022-11-28.yaml @@ -7304,13 +7304,14 @@ paths: subcategory: manage-ghes "/manage/v1/config/init": post: - summary: Initialize instance configuration with license upload + summary: Initialize instance configuration with license and password description: |- - When you boot a GitHub instance for the first time, you can use this endpoint to upload a license. + When you boot and set up a GitHub instance for the first time, you can use this endpoint to upload a license and set the initial root site administrator password. - Note that you afterwards need to `POST` to [`/manage/v1/config/apply`](https://docs.github.com/enterprise-server@3.13/rest/enterprise-admin/manage-ghes#start-configuration-apply-process) to start the actual configuration process. + > [!IMPORTANT] + > To start the configuration process and apply the license, you need to `POST` to [`/manage/v1/config/apply`](ht{"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}