diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 347805607..02036b4bb 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -5712,6 +5712,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", @@ -98450,6 +98504,75 @@ "description" ] }, + "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", @@ -267124,6 +267247,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", @@ -293002,6 +293144,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.", @@ -294340,6 +294518,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 471458cd0..a982c0520 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -4017,6 +4017,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 @@ -71747,6 +71782,58 @@ components: - public_members_url - avatar_url - description + 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 @@ -200293,6 +200380,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 @@ -222604,6 +222705,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. @@ -223707,6 +223841,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 347805607..02036b4bb 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -5712,6 +5712,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", @@ -98450,6 +98504,75 @@ "description" ] }, + "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", @@ -267124,6 +267247,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", @@ -293002,6 +293144,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.", @@ -294340,6 +294518,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 471458cd0..a982c0520 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -4017,6 +4017,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 @@ -71747,6 +71782,58 @@ components: - public_members_url - avatar_url - description + 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 @@ -200293,6 +200380,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 @@ -222604,6 +222705,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. @@ -223707,6 +223841,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 1ef419b37..cad387514 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -47919,6 +47919,305 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index c1f9d3078..173c9311a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -15194,6 +15194,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: + - &94 + 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': *15 + '403': *29 + '500': *41 + '503': *63 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -15214,13 +15345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - &94 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *94 responses: '200': description: Response diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 1ef419b37..cad387514 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -47919,6 +47919,305 @@ } } }, + "/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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index c1f9d3078..173c9311a 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -15194,6 +15194,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: + - &94 + 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': *15 + '403': *29 + '500': *41 + '503': *63 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -15214,13 +15345,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/orgs/orgs#get-an-organization parameters: - - &94 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *94 responses: '200': description: Response diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index 02cb38d7c..e39b26a86 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -59416,6 +59416,305 @@ "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", @@ -434431,7 +434730,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", @@ -434966,7 +435265,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" @@ -435475,7 +435774,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" @@ -435950,7 +436249,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" @@ -436542,7 +436841,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" @@ -437132,7 +437431,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" @@ -437429,7 +437728,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" @@ -438025,7 +438324,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" @@ -438789,7 +439088,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" @@ -439331,7 +439630,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" @@ -440060,7 +440359,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" @@ -440788,7 +441087,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/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 96f908a4c..1569b7913 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -846,7 +846,7 @@ paths: - subscriptions_url - type - url - type: &289 + type: &295 type: string description: The type of credit the user is receiving. enum: @@ -979,7 +979,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &139 + schema: &145 title: Validation Error Simple description: Validation Error Simple type: object @@ -1012,7 +1012,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: - - &600 + - &606 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1524,7 +1524,7 @@ paths: schema: type: integer default: 30 - - &210 + - &216 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 @@ -1540,7 +1540,7 @@ paths: application/json: schema: type: array - items: &211 + items: &217 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1617,7 +1617,7 @@ paths: - installation_id - repository_id examples: - default: &212 + default: &218 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1649,7 +1649,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &610 + schema: &616 title: Scim Error description: Scim Error type: object @@ -1676,7 +1676,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &138 + schema: &144 title: Validation Error description: Validation Error type: object @@ -1745,7 +1745,7 @@ paths: description: Response content: application/json: - schema: &213 + schema: &219 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1859,7 +1859,7 @@ paths: - request - response examples: - default: &214 + default: &220 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1919,7 +1919,7 @@ paths: parameters: - *17 responses: - '202': &141 + '202': &147 description: Accepted content: application/json: @@ -2840,7 +2840,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &267 + properties: &273 id: description: Unique identifier of the repository example: 42 @@ -3269,7 +3269,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &268 + required: &274 - archive_url - assignees_url - blobs_url @@ -7282,7 +7282,7 @@ paths: description: Response content: application/json: - schema: &142 + schema: &148 type: object properties: total_active_caches_count: @@ -7297,7 +7297,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &143 + default: &149 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7391,7 +7391,7 @@ paths: - all - local_only - selected - selected_actions_url: &146 + selected_actions_url: &152 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` @@ -7759,7 +7759,7 @@ paths: description: Success response content: application/json: - schema: &149 + schema: &155 type: object properties: default_workflow_permissions: &46 @@ -7807,7 +7807,7 @@ paths: required: true content: application/json: - schema: &150 + schema: &156 type: object properties: default_workflow_permissions: *46 @@ -8628,7 +8628,7 @@ paths: application/json: schema: type: array - items: &154 + items: &160 title: Runner Application description: Runner Application type: object @@ -8653,7 +8653,7 @@ paths: - download_url - filename examples: - default: &155 + default: &161 value: - os: osx architecture: x64 @@ -8737,7 +8737,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &156 + '201': &162 description: Response content: application/json: @@ -8847,7 +8847,7 @@ paths: - token - expires_at examples: - default: &157 + default: &163 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -8887,7 +8887,7 @@ paths: application/json: schema: *58 examples: - default: &158 + default: &164 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -8919,7 +8919,7 @@ paths: application/json: schema: *55 examples: - default: &159 + default: &165 value: id: 23 name: MBP @@ -9133,7 +9133,7 @@ paths: - *40 - *54 responses: - '200': &160 + '200': &166 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: parameters: - *40 - *54 - - &161 + - &167 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9280,7 +9280,7 @@ paths: required: true content: application/json: - schema: &168 + schema: &174 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9351,7 +9351,7 @@ paths: required: false schema: type: string - - &169 + - &175 name: include description: |- The event types to include: @@ -9369,7 +9369,7 @@ paths: - web - git - all - - &170 + - &176 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. @@ -9377,7 +9377,7 @@ paths: required: false schema: type: string - - &171 + - &177 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. @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &172 + - &178 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9407,7 +9407,7 @@ paths: application/json: schema: type: array - items: &173 + items: &179 type: object properties: "@timestamp": @@ -9529,7 +9529,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &174 + default: &180 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10091,7 +10091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &176 + - &182 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`, @@ -10101,7 +10101,7 @@ paths: schema: &79 type: string description: The name of the tool used to generate the code scanning analysis. - - &177 + - &183 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 @@ -10124,7 +10124,7 @@ paths: be returned. in: query required: false - schema: &178 + schema: &184 type: string description: State of a code scanning alert. enum: @@ -10149,7 +10149,7 @@ paths: application/json: schema: type: array - items: &179 + items: &185 type: object properties: number: &85 @@ -10178,7 +10178,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &399 + instances_url: &405 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10213,7 +10213,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &400 + dismissed_reason: &406 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -10222,13 +10222,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &401 + dismissed_comment: &407 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &402 + rule: &408 type: object properties: id: @@ -10281,7 +10281,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &403 + tool: &409 type: object properties: name: *79 @@ -10291,15 +10291,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *80 - most_recent_instance: &404 + most_recent_instance: &410 type: object properties: - ref: &397 + ref: &403 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &410 + analysis_key: &416 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10310,7 +10310,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &411 + category: &417 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -10648,7 +10648,7 @@ paths: - most_recent_instance - repository examples: - default: &180 + default: &186 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11288,7 +11288,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &186 + items: &192 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11306,7 +11306,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &232 + - &238 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11365,7 +11365,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &245 + properties: &251 id: description: Unique identifier of the team type: integer @@ -11421,7 +11421,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &246 + required: &252 - id - node_id - url @@ -11532,7 +11532,7 @@ paths: - created_at additionalProperties: false examples: - default: &187 + default: &193 value: total_seats: 2 seats: @@ -12326,7 +12326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &194 + - &200 name: state in: query description: |- @@ -12335,7 +12335,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &195 + - &201 name: severity in: query description: |- @@ -12344,7 +12344,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &196 + - &202 name: ecosystem in: query description: |- @@ -12353,14 +12353,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &197 + - &203 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 - - &198 + - &204 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12370,7 +12370,7 @@ paths: enum: - development - runtime - - &199 + - &205 name: sort in: query description: |- @@ -12386,7 +12386,7 @@ paths: - *78 - *76 - *77 - - &200 + - &206 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12399,7 +12399,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &201 + - &207 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12419,7 +12419,7 @@ paths: application/json: schema: type: array - items: &202 + items: &208 type: object description: A Dependabot alert. properties: @@ -12469,7 +12469,7 @@ paths: enum: - development - runtime - security_advisory: &453 + security_advisory: &459 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12700,7 +12700,7 @@ paths: nullable: true maxLength: 280 fixed_at: *94 - auto_dismissed_at: &454 + auto_dismissed_at: &460 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12726,7 +12726,7 @@ paths: - repository additionalProperties: false examples: - default: &203 + default: &209 value: - number: 2 state: dismissed @@ -13132,7 +13132,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &280 + - &286 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13143,7 +13143,7 @@ paths: enum: - open - resolved - - &281 + - &287 name: secret_type in: query description: |- @@ -13153,7 +13153,7 @@ paths: required: false schema: type: string - - &282 + - &288 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13162,7 +13162,7 @@ paths: required: false schema: type: string - - &283 + - &289 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. @@ -13178,7 +13178,7 @@ paths: - *18 - *76 - *77 - - &284 + - &290 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13187,7 +13187,7 @@ paths: required: false schema: type: string - - &285 + - &291 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13196,7 +13196,7 @@ paths: schema: type: boolean default: false - - &286 + - &292 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13212,7 +13212,7 @@ paths: application/json: schema: type: array - items: &287 + items: &293 type: object properties: number: *85 @@ -13231,14 +13231,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &593 + state: &599 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: &594 + resolution: &600 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -13330,7 +13330,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &288 + default: &294 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13591,7 +13591,7 @@ paths: description: Response content: application/json: - schema: &291 + schema: &297 type: object properties: total_minutes_used: @@ -13661,7 +13661,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &292 + default: &298 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13699,7 +13699,7 @@ paths: description: Success content: application/json: - schema: &293 + schema: &299 type: object properties: total_advanced_security_committers: @@ -13754,7 +13754,7 @@ paths: required: - repositories examples: - default: &294 + default: &300 value: total_advanced_security_committers: 2 total_count: 2 @@ -13905,7 +13905,7 @@ paths: message: Resources successfully added to the cost center. '400': *15 '403': *29 - '409': &140 + '409': &146 description: Conflict content: application/json: @@ -13997,7 +13997,7 @@ paths: description: Response content: application/json: - schema: &295 + schema: &301 type: object properties: total_gigabytes_bandwidth_used: @@ -14015,7 +14015,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &296 + default: &302 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14047,7 +14047,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &303 type: object properties: days_left_in_billing_cycle: @@ -14065,7 +14065,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &298 + default: &304 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14090,7 +14090,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - name: year + - &135 + 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. @@ -14098,21 +14099,24 @@ paths: required: false schema: type: integer - - name: month + - &136 + 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 + - &137 + 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 + - &138 + 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 @@ -14131,7 +14135,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: + schema: &139 type: object properties: usageItems: @@ -14184,7 +14188,7 @@ paths: - netAmount - organizationName examples: - default: + default: &140 value: usageItems: - date: '2023-08-01' @@ -14310,7 +14314,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *40 - - &244 + - &250 name: team_slug description: The slug of the team name. in: path @@ -14350,7 +14354,7 @@ paths: type: array items: *101 examples: - default: &188 + default: &194 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -14567,7 +14571,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &502 + properties: &508 id: type: integer format: int64 @@ -14678,7 +14682,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &438 + properties: &444 url: type: string format: uri @@ -14748,7 +14752,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &439 + required: &445 - closed_issues - creator - description @@ -14889,7 +14893,7 @@ paths: - hooray - eyes - rocket - required: &503 + required: &509 - assignee - closed_at - comments @@ -14911,7 +14915,7 @@ paths: - author_association - created_at - updated_at - comment: &500 + comment: &506 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15476,7 +15480,7 @@ paths: url: type: string format: uri - user: &649 + user: &655 title: Public User description: Public User type: object @@ -17341,7 +17345,7 @@ paths: - closed - all default: open - - &233 + - &239 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17392,7 +17396,7 @@ paths: type: array items: *118 examples: - default: &234 + default: &240 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18761,14 +18765,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: - - &318 + - &324 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &319 + - &325 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18839,7 +18843,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &332 + '301': &338 description: Moved permanently content: application/json: @@ -18861,7 +18865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &531 + - &537 name: all description: If `true`, show notifications marked as read. in: query @@ -18869,7 +18873,7 @@ paths: schema: type: boolean default: false - - &532 + - &538 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18879,7 +18883,7 @@ paths: type: boolean default: false - *108 - - &533 + - &539 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: @@ -18911,11 +18915,11 @@ paths: properties: id: type: string - repository: &153 + repository: &159 title: Minimal Repository description: Minimal Repository type: object - properties: &205 + properties: &211 id: type: integer format: int64 @@ -19191,7 +19195,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &269 + security_and_analysis: &275 nullable: true type: object properties: @@ -19255,7 +19259,7 @@ paths: enum: - enabled - disabled - required: &206 + required: &212 - archive_url - assignees_url - blobs_url @@ -19343,7 +19347,7 @@ paths: - url - subscription_url examples: - default: &534 + default: &540 value: - id: '1' repository: @@ -19889,7 +19893,7 @@ paths: type: array items: *52 examples: - default: &667 + default: &673 value: - login: github id: 1 @@ -19953,7 +19957,7 @@ paths: type: integer custom_roles: type: array - items: &189 + items: &195 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20001,7 +20005,7 @@ paths: - created_at - updated_at examples: - default: &190 + default: &196 value: id: 8030 name: Security Engineer @@ -20033,6 +20037,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: + - &141 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + - *135 + - *136 + - *137 + - *138 + responses: + '200': + description: Billing usage report response for an organization + content: + application/json: + schema: *139 + examples: + default: *140 + '400': *15 + '403': *29 + '500': *84 + '503': *96 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -20053,19 +20099,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - &135 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *141 responses: '200': description: Response content: application/json: - schema: &136 + schema: &142 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -20368,7 +20408,7 @@ paths: - updated_at - archived_at examples: - default-response: &137 + default-response: &143 value: login: github id: 1 @@ -20461,7 +20501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *135 + - *141 requestBody: required: false content: @@ -20684,18 +20724,18 @@ paths: description: Response content: application/json: - schema: *136 + schema: *142 examples: - default: *137 + default: *143 '422': description: Validation failed content: application/json: schema: oneOf: - - *138 - - *139 - '409': *140 + - *144 + - *145 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20718,9 +20758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *135 + - *141 responses: - '202': *141 + '202': *147 '404': *7 '403': *29 x-github: @@ -20743,15 +20783,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *142 + schema: *148 examples: - default: *143 + default: *149 headers: Link: *39 x-github: @@ -20774,7 +20814,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: - - *135 + - *141 - *18 - *20 responses: @@ -20792,7 +20832,7 @@ paths: type: integer repository_cache_usages: type: array - items: &337 + items: &343 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20847,13 +20887,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: - - *135 + - *141 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &144 + schema: &150 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20867,7 +20907,7 @@ paths: required: - include_claim_keys examples: - default: &145 + default: &151 value: include_claim_keys: - repo @@ -20889,20 +20929,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: - - *135 + - *141 requestBody: required: true content: application/json: - schema: *144 + schema: *150 examples: - default: *145 + default: *151 responses: '201': description: Empty response content: application/json: - schema: &164 + schema: &170 title: Empty Object description: An object without any properties. type: object @@ -20932,7 +20972,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: - - *135 + - *141 responses: '200': description: Response @@ -20941,7 +20981,7 @@ paths: schema: type: object properties: - enabled_repositories: &147 + enabled_repositories: &153 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20955,7 +20995,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *42 - selected_actions_url: *146 + selected_actions_url: *152 required: - enabled_repositories examples: @@ -20984,7 +21024,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: - - *135 + - *141 responses: '204': description: Response @@ -20995,7 +21035,7 @@ paths: schema: type: object properties: - enabled_repositories: *147 + enabled_repositories: *153 allowed_actions: *42 required: - enabled_repositories @@ -21023,7 +21063,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: - - *135 + - *141 - *18 - *20 responses: @@ -21043,7 +21083,7 @@ paths: type: array items: *57 examples: - default: &661 + default: &667 value: total_count: 1 repositories: @@ -21183,7 +21223,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: - - *135 + - *141 responses: '204': description: Response @@ -21227,8 +21267,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: - - *135 - - &148 + - *141 + - &154 name: repository_id description: The unique identifier of the repository. in: path @@ -21256,8 +21296,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: - - *135 - - *148 + - *141 + - *154 responses: '204': description: Response @@ -21280,7 +21320,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: - - *135 + - *141 responses: '200': description: Response @@ -21311,7 +21351,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: - - *135 + - *141 responses: '204': description: Response @@ -21343,13 +21383,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *149 + schema: *155 examples: default: *48 x-github: @@ -21372,7 +21412,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: - - *135 + - *141 responses: '204': description: Success response @@ -21383,7 +21423,7 @@ paths: required: false content: application/json: - schema: *150 + schema: *156 examples: default: *48 x-github: @@ -21405,7 +21445,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: - - *135 + - *141 - *18 - *20 - name: visible_to_repository @@ -21430,7 +21470,7 @@ paths: type: number runner_groups: type: array - items: &151 + items: &157 type: object properties: id: @@ -21542,7 +21582,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: - - *135 + - *141 requestBody: required: true content: @@ -21611,9 +21651,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *157 examples: - default: &152 + default: &158 value: id: 2 name: octo-runner-group @@ -21648,14 +21688,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: - - *135 + - *141 - *51 responses: '200': description: Response content: application/json: - schema: *151 + schema: *157 examples: default: value: @@ -21691,7 +21731,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: - - *135 + - *141 - *51 requestBody: required: true @@ -21742,9 +21782,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *157 examples: - default: *152 + default: *158 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21763,7 +21803,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: - - *135 + - *141 - *51 responses: '204': @@ -21787,7 +21827,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: - - *135 + - *141 - *51 - *20 - *18 @@ -21806,9 +21846,9 @@ paths: type: number repositories: type: array - items: *153 + items: *159 examples: - default: &652 + default: &658 value: total_count: 1 repositories: @@ -22060,7 +22100,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: - - *135 + - *141 - *51 requestBody: required: true @@ -22105,9 +22145,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: - - *135 + - *141 - *51 - - *148 + - *154 responses: '204': description: Response @@ -22129,9 +22169,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: - - *135 + - *141 - *51 - - *148 + - *154 responses: '204': description: Response @@ -22154,7 +22194,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: - - *135 + - *141 - *51 - *18 - *20 @@ -22196,7 +22236,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: - - *135 + - *141 - *51 requestBody: required: true @@ -22241,7 +22281,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: - - *135 + - *141 - *51 - *54 responses: @@ -22265,7 +22305,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: - - *135 + - *141 - *51 - *54 responses: @@ -22297,7 +22337,7 @@ paths: in: query schema: type: string - - *135 + - *141 - *18 - *20 responses: @@ -22341,7 +22381,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: - - *135 + - *141 responses: '200': description: Response @@ -22349,9 +22389,9 @@ paths: application/json: schema: type: array - items: *154 + items: *160 examples: - default: *155 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22373,7 +22413,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: - - *135 + - *141 requestBody: required: true content: @@ -22416,7 +22456,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *156 + '201': *162 '404': *7 '422': *8 x-github: @@ -22446,7 +22486,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: - - *135 + - *141 responses: '201': description: Response @@ -22454,7 +22494,7 @@ paths: application/json: schema: *58 examples: - default: *157 + default: *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22482,7 +22522,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: - - *135 + - *141 responses: '201': description: Response @@ -22490,7 +22530,7 @@ paths: application/json: schema: *58 examples: - default: *158 + default: *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22512,7 +22552,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: - - *135 + - *141 - *54 responses: '200': @@ -22521,7 +22561,7 @@ paths: application/json: schema: *55 examples: - default: *159 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22542,7 +22582,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: - - *135 + - *141 - *54 responses: '204': @@ -22568,7 +22608,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: - - *135 + - *141 - *54 responses: '200': *60 @@ -22593,7 +22633,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: - - *135 + - *141 - *54 requestBody: required: true @@ -22642,7 +22682,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: - - *135 + - *141 - *54 requestBody: required: true @@ -22692,10 +22732,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: - - *135 + - *141 - *54 responses: - '200': *160 + '200': *166 '404': *7 x-github: githubCloudOnly: false @@ -22722,9 +22762,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: - - *135 + - *141 - *54 - - *161 + - *167 responses: '200': *60 '404': *7 @@ -22751,7 +22791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *135 + - *141 - *18 - *20 responses: @@ -22769,7 +22809,7 @@ paths: type: integer secrets: type: array - items: &162 + items: &168 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22842,13 +22882,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: &357 + schema: &363 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22877,7 +22917,7 @@ paths: - key_id - key examples: - default: &358 + default: &364 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22902,8 +22942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *135 - - &163 + - *141 + - &169 name: secret_name description: The name of the secret. in: path @@ -22915,7 +22955,7 @@ paths: description: Response content: application/json: - schema: *162 + schema: *168 examples: default: value: @@ -22945,8 +22985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -23001,7 +23041,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -23027,8 +23067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '204': description: Response @@ -23054,8 +23094,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: - - *135 - - *163 + - *141 + - *169 - *20 - *18 responses: @@ -23073,9 +23113,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: &167 + default: &173 value: total_count: 1 repositories: @@ -23167,8 +23207,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: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -23220,8 +23260,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -23254,8 +23294,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -23287,8 +23327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *135 - - &342 + - *141 + - &348 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)." @@ -23312,7 +23352,7 @@ paths: type: integer variables: type: array - items: &165 + items: &171 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23397,7 +23437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *135 + - *141 requestBody: required: true content: @@ -23445,7 +23485,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -23470,8 +23510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *135 - - &166 + - *141 + - &172 name: name description: The name of the variable. in: path @@ -23483,7 +23523,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *171 examples: default: value: @@ -23513,8 +23553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *135 - - *166 + - *141 + - *172 requestBody: required: true content: @@ -23576,8 +23616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *135 - - *166 + - *141 + - *172 responses: '204': description: Response @@ -23603,8 +23643,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: - - *135 - - *166 + - *141 + - *172 - *20 - *18 responses: @@ -23622,9 +23662,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: *167 + default: *173 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23650,8 +23690,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: - - *135 - - *166 + - *141 + - *172 requestBody: required: true content: @@ -23700,8 +23740,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: - - *135 - - *166 + - *141 + - *172 - name: repository_id in: path required: true @@ -23735,8 +23775,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: - - *135 - - *166 + - *141 + - *172 - name: repository_id in: path required: true @@ -23767,7 +23807,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *135 + - *141 responses: '200': description: Response @@ -23794,11 +23834,11 @@ paths: required: true content: application/json: - schema: *168 + schema: *174 examples: default: *63 parameters: - - *135 + - *141 responses: '200': description: Response @@ -23822,7 +23862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *135 + - *141 responses: '204': description: Response @@ -23850,7 +23890,7 @@ paths: - *18 - *76 - *77 - - *135 + - *141 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23891,7 +23931,7 @@ paths: repository_id: type: integer examples: - default: &371 + default: &377 value: attestations: - bundle: @@ -24009,7 +24049,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: - - *135 + - *141 - 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). @@ -24017,10 +24057,10 @@ paths: required: false schema: type: string - - *169 - - *170 - - *171 - - *172 + - *175 + - *176 + - *177 + - *178 - *18 responses: '200': @@ -24029,9 +24069,9 @@ paths: application/json: schema: type: array - items: *173 + items: *179 examples: - default: *174 + default: *180 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24048,7 +24088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *135 + - *141 - *18 - *20 responses: @@ -24060,7 +24100,7 @@ paths: type: array items: *19 examples: - default: &235 + default: &241 value: - login: octocat id: 1 @@ -24098,8 +24138,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: - - *135 - - &175 + - *141 + - &181 name: username description: The handle for the GitHub user account. in: path @@ -24130,8 +24170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -24151,8 +24191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -24177,9 +24217,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: - - *135 - - *176 - - *177 + - *141 + - *182 + - *183 - *76 - *77 - *20 @@ -24190,7 +24230,7 @@ paths: be returned. in: query required: false - schema: *178 + schema: *184 - name: sort description: The property by which to sort the results. in: query @@ -24206,7 +24246,7 @@ paths: be returned. in: query required: false - schema: &398 + schema: &404 type: string description: Severity of a code scanning alert. enum: @@ -24224,9 +24264,9 @@ paths: application/json: schema: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 headers: Link: *39 '404': *7 @@ -24252,7 +24292,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: - - *135 + - *141 - name: target_type in: query description: The target type of the code security configuration @@ -24280,7 +24320,7 @@ paths: application/json: schema: type: array - items: &181 + items: &187 type: object description: A code security configuration properties: @@ -24519,7 +24559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *135 + - *141 requestBody: required: true content: @@ -24691,9 +24731,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *181 + schema: *187 examples: - default: &182 + default: &188 value: id: 1325 target_type: organization @@ -24739,7 +24779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *135 + - *141 responses: '200': description: Response @@ -24759,7 +24799,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *181 + configuration: *187 examples: default: value: @@ -24843,7 +24883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *135 + - *141 requestBody: required: true content: @@ -24866,12 +24906,12 @@ paths: - 32 - 91 responses: - '204': &184 + '204': &190 description: A header with no content is returned. '400': *15 '403': *29 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24893,8 +24933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *135 - - &183 + - *141 + - &189 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -24906,9 +24946,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '304': *37 '403': *29 '404': *7 @@ -24932,8 +24972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *135 - - *183 + - *141 + - *189 requestBody: required: true content: @@ -25085,7 +25125,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *181 + schema: *187 examples: default: value: @@ -25136,14 +25176,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *135 - - *183 + - *141 + - *189 responses: - '204': *184 + '204': *190 '400': *15 '403': *29 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25167,8 +25207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *135 - - *183 + - *141 + - *189 requestBody: required: true content: @@ -25207,7 +25247,7 @@ paths: - 32 - 91 responses: - '202': *141 + '202': *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25231,8 +25271,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: - - *135 - - *183 + - *141 + - *189 requestBody: required: true content: @@ -25272,12 +25312,12 @@ paths: - none - private_and_internal - public - configuration: *181 + configuration: *187 examples: default: value: default_for_new_repos: all - configuration: *182 + configuration: *188 '403': *29 '404': *7 x-github: @@ -25301,8 +25341,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: - - *135 - - *183 + - *141 + - *189 - 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)." @@ -25445,7 +25485,7 @@ paths: parameters: - *18 - *20 - - *135 + - *141 responses: '200': description: Response @@ -25461,7 +25501,7 @@ paths: type: integer codespaces: type: array - items: &236 + items: &242 type: object title: Codespace description: A codespace. @@ -25486,12 +25526,12 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *153 + repository: *159 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &424 + properties: &430 name: type: string description: The name of the machine. @@ -25533,7 +25573,7 @@ paths: - ready - in_progress nullable: true - required: &425 + required: &431 - name - display_name - operating_system @@ -25738,7 +25778,7 @@ paths: - pulls_url - recent_folders examples: - default: &237 + default: &243 value: total_count: 3 codespaces: @@ -26170,7 +26210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *135 + - *141 deprecated: true requestBody: required: true @@ -26237,7 +26277,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: - - *135 + - *141 deprecated: true requestBody: required: true @@ -26292,7 +26332,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *135 + - *141 requestBody: required: true content: @@ -26344,7 +26384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *135 + - *141 - *18 - *20 responses: @@ -26362,7 +26402,7 @@ paths: type: integer secrets: type: array - items: &185 + items: &191 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26401,7 +26441,7 @@ paths: - updated_at - visibility examples: - default: &426 + default: &432 value: total_count: 2 secrets: @@ -26433,13 +26473,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: &427 + schema: &433 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26468,7 +26508,7 @@ paths: - key_id - key examples: - default: &428 + default: &434 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26491,16 +26531,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '200': description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: &430 + default: &436 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26527,8 +26567,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: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -26583,7 +26623,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -26609,8 +26649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '204': description: Response @@ -26635,8 +26675,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: - - *135 - - *163 + - *141 + - *169 - *20 - *18 responses: @@ -26654,9 +26694,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: *167 + default: *173 '404': *7 x-github: githubCloudOnly: false @@ -26678,8 +26718,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: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -26729,8 +26769,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -26763,8 +26803,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -26803,7 +26843,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: - - *135 + - *141 responses: '200': description: OK @@ -26946,7 +26986,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: - - *135 + - *141 - *20 - name: per_page description: The number of results per page (max 100). For more information, @@ -26969,9 +27009,9 @@ paths: currently being billed. seats: type: array - items: *186 + items: *192 examples: - default: *187 + default: *193 headers: Link: *39 '500': *84 @@ -27009,7 +27049,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: - - *135 + - *141 requestBody: content: application/json: @@ -27090,7 +27130,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: - - *135 + - *141 requestBody: content: application/json: @@ -27172,7 +27212,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: - - *135 + - *141 requestBody: content: application/json: @@ -27252,7 +27292,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: - - *135 + - *141 requestBody: content: application/json: @@ -27333,7 +27373,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: - - *135 + - *141 - 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`). @@ -27402,7 +27442,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: - - *135 + - *141 - 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`). @@ -27436,7 +27476,7 @@ paths: type: array items: *101 examples: - default: *188 + default: *194 '500': *84 '401': *25 '403': *29 @@ -27462,7 +27502,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: - - *135 + - *141 - *18 - name: page description: Page token @@ -27606,7 +27646,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: - - *135 + - *141 - name: credential_id in: path required: true @@ -27637,7 +27677,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: - - *135 + - *141 responses: '200': description: Response - list of custom role names @@ -27652,7 +27692,7 @@ paths: type: integer custom_roles: type: array - items: *189 + items: *195 examples: default: value: @@ -27739,12 +27779,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *135 + - *141 requestBody: required: true content: application/json: - schema: &192 + schema: &198 type: object properties: name: @@ -27785,9 +27825,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '422': *16 '404': *7 x-github: @@ -27811,8 +27851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *135 - - &191 + - *141 + - &197 name: role_id description: The unique identifier of the role. in: path @@ -27824,9 +27864,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '404': *7 x-github: githubCloudOnly: true @@ -27848,13 +27888,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *135 - - *191 + - *141 + - *197 requestBody: required: true content: application/json: - schema: &193 + schema: &199 type: object properties: name: @@ -27892,9 +27932,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '422': *16 '404': *7 x-github: @@ -27918,8 +27958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *135 - - *191 + - *141 + - *197 responses: '204': description: Response @@ -27947,12 +27987,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: - - *135 + - *141 requestBody: required: true content: application/json: - schema: *192 + schema: *198 examples: default: value: @@ -27966,9 +28006,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '422': *16 '404': *7 x-github: @@ -27998,16 +28038,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: - - *135 - - *191 + - *141 + - *197 responses: '200': description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '404': *7 x-github: githubCloudOnly: true @@ -28035,13 +28075,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: - - *135 - - *191 + - *141 + - *197 requestBody: required: true content: application/json: - schema: *193 + schema: *199 examples: default: value: @@ -28056,9 +28096,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '422': *16 '404': *7 x-github: @@ -28088,8 +28128,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: - - *135 - - *191 + - *141 + - *197 responses: '204': description: Response @@ -28117,18 +28157,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *135 - - *194 - - *195 - - *196 - - *197 - - *198 - - *199 + - *141 + - *200 + - *201 + - *202 + - *203 + - *204 + - *205 - *78 - *76 - *77 - - *200 - - *201 + - *206 + - *207 - *18 responses: '200': @@ -28137,9 +28177,9 @@ paths: application/json: schema: type: array - items: *202 + items: *208 examples: - default: *203 + default: *209 '304': *37 '400': *15 '403': *29 @@ -28165,7 +28205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *135 + - *141 - *18 - *20 responses: @@ -28183,7 +28223,7 @@ paths: type: integer secrets: type: array - items: &204 + items: &210 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28254,13 +28294,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: &457 + schema: &463 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28277,7 +28317,7 @@ paths: - key_id - key examples: - default: &458 + default: &464 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28300,14 +28340,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: default: value: @@ -28335,8 +28375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -28391,7 +28431,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -28415,8 +28455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '204': description: Response @@ -28440,8 +28480,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: - - *135 - - *163 + - *141 + - *169 - *20 - *18 responses: @@ -28459,9 +28499,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: *167 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28482,8 +28522,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: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -28533,8 +28573,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -28565,8 +28605,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -28596,7 +28636,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: - - *135 + - *141 responses: '200': description: Response @@ -28604,7 +28644,7 @@ paths: application/json: schema: type: array - items: &248 + items: &254 title: Package description: A software package type: object @@ -28654,8 +28694,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *205 - required: *206 + properties: *211 + required: *212 nullable: true created_at: type: string @@ -28674,7 +28714,7 @@ paths: - created_at - updated_at examples: - default: &249 + default: &255 value: - id: 197 name: hello_docker @@ -28752,7 +28792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *135 + - *141 - *18 - *20 responses: @@ -28832,7 +28872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *135 + - *141 - name: group_id description: The unique identifier of the group. in: path @@ -28858,7 +28898,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &319 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28939,7 +28979,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &314 + default: &320 value: group_id: '123' group_name: Octocat admins @@ -28977,7 +29017,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: - - *135 + - *141 - *18 - name: page description: Page token @@ -28994,7 +29034,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &317 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29031,7 +29071,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &312 + default: &318 value: groups: - group_id: '123' @@ -29065,7 +29105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *135 + - *141 - *18 - *20 responses: @@ -29075,7 +29115,7 @@ paths: application/json: schema: type: array - items: &229 + items: &235 title: Organization Invitation description: Organization Invitation type: object @@ -29122,7 +29162,7 @@ paths: - invitation_teams_url - node_id examples: - default: &230 + default: &236 value: - id: 1 login: monalisa @@ -29181,7 +29221,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: - - *135 + - *141 responses: '200': description: Response @@ -29189,7 +29229,7 @@ paths: application/json: schema: type: array - items: &270 + items: &276 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -29203,7 +29243,7 @@ paths: - name - description examples: - default: &271 + default: &277 value: - name: add_assignee description: Assign or remove a user @@ -29234,7 +29274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *135 + - *141 - *18 - *20 responses: @@ -29244,7 +29284,7 @@ paths: application/json: schema: type: array - items: &207 + items: &213 title: Org Hook description: Org Hook type: object @@ -29353,7 +29393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *135 + - *141 requestBody: required: true content: @@ -29413,9 +29453,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *213 examples: - default: &208 + default: &214 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29459,8 +29499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *135 - - &209 + - *141 + - &215 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. @@ -29473,9 +29513,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *213 examples: - default: *208 + default: *214 '404': *7 x-github: githubCloudOnly: false @@ -29496,8 +29536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *135 - - *209 + - *141 + - *215 requestBody: required: false content: @@ -29542,7 +29582,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *213 examples: default: value: @@ -29581,8 +29621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *135 - - *209 + - *141 + - *215 responses: '204': description: Response @@ -29607,8 +29647,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: - - *135 - - *209 + - *141 + - *215 responses: '200': description: Response @@ -29636,8 +29676,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: - - *135 - - *209 + - *141 + - *215 requestBody: required: false content: @@ -29685,10 +29725,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *135 - - *209 + - *141 + - *215 - *18 - - *210 + - *216 responses: '200': description: Response @@ -29696,9 +29736,9 @@ paths: application/json: schema: type: array - items: *211 + items: *217 examples: - default: *212 + default: *218 '400': *15 '422': *16 x-github: @@ -29721,17 +29761,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: - - *135 - - *209 + - *141 + - *215 - *17 responses: '200': description: Response content: application/json: - schema: *213 + schema: *219 examples: - default: *214 + default: *220 '400': *15 '422': *16 x-github: @@ -29754,11 +29794,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: - - *135 - - *209 + - *141 + - *215 - *17 responses: - '202': *141 + '202': *147 '400': *15 '422': *16 x-github: @@ -29781,8 +29821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *135 - - *209 + - *141 + - *215 responses: '204': description: Response @@ -29804,8 +29844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *135 - - &219 + - *141 + - &225 name: actor_type in: path description: The type of the actor @@ -29818,14 +29858,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &220 + - &226 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &215 + - &221 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`.' @@ -29833,7 +29873,7 @@ paths: required: true schema: type: string - - &216 + - &222 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) @@ -29919,13 +29959,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *135 - - *215 - - *216 + - *141 + - *221 + - *222 - *20 - *18 - *78 - - &225 + - &231 name: sort description: The property to sort the results by. in: query @@ -29996,15 +30036,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *135 - - *215 - - *216 + - *141 + - *221 + - *222 responses: '200': description: Response content: application/json: - schema: &217 + schema: &223 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30020,7 +30060,7 @@ paths: type: integer format: int64 examples: - default: &218 + default: &224 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30040,24 +30080,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *135 - - &221 + - *141 + - &227 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *215 - - *216 + - *221 + - *222 responses: '200': description: Response content: application/json: - schema: *217 + schema: *223 examples: - default: *218 + default: *224 x-github: enabledForGitHubApps: true category: orgs @@ -30075,19 +30115,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *135 - - *215 - - *216 - - *219 - - *220 + - *141 + - *221 + - *222 + - *225 + - *226 responses: '200': description: Response content: application/json: - schema: *217 + schema: *223 examples: - default: *218 + default: *224 x-github: enabledForGitHubApps: true category: orgs @@ -30104,10 +30144,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *135 - - *215 - - *216 - - &222 + - *141 + - *221 + - *222 + - &228 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30120,7 +30160,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &229 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30136,7 +30176,7 @@ paths: type: integer format: int64 examples: - default: &224 + default: &230 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30172,19 +30212,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *135 + - *141 + - *227 - *221 - - *215 - - *216 - *222 + - *228 responses: '200': description: Response content: application/json: - schema: *223 + schema: *229 examples: - default: *224 + default: *230 x-github: enabledForGitHubApps: true category: orgs @@ -30201,20 +30241,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *135 - - *219 - - *220 - - *215 - - *216 + - *141 + - *225 + - *226 + - *221 - *222 + - *228 responses: '200': description: Response content: application/json: - schema: *223 + schema: *229 examples: - default: *224 + default: *230 x-github: enabledForGitHubApps: true category: orgs @@ -30231,14 +30271,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *135 + - *141 + - *227 - *221 - - *215 - - *216 + - *222 - *20 - *18 - *78 - - *225 + - *231 responses: '200': description: Response @@ -30304,7 +30344,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: - - *135 + - *141 responses: '200': description: Response @@ -30312,7 +30352,7 @@ paths: application/json: schema: *22 examples: - default: &496 + default: &502 value: id: 1 account: @@ -30381,7 +30421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *135 + - *141 - *18 - *20 responses: @@ -30470,7 +30510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *135 + - *141 responses: '200': description: Response @@ -30478,12 +30518,12 @@ paths: application/json: schema: anyOf: - - &227 + - &233 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &226 + limit: &232 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30508,7 +30548,7 @@ paths: properties: {} additionalProperties: false examples: - default: &228 + default: &234 value: limit: collaborators_only origin: organization @@ -30532,18 +30572,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *135 + - *141 requestBody: required: true content: application/json: - schema: &497 + schema: &503 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *226 + limit: *232 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30567,9 +30607,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *228 + default: *234 '422': *16 x-github: githubCloudOnly: false @@ -30587,7 +30627,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *135 + - *141 responses: '204': description: Response @@ -30613,7 +30653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *135 + - *141 - *18 - *20 - name: role @@ -30647,9 +30687,9 @@ paths: application/json: schema: type: array - items: *229 + items: *235 examples: - default: *230 + default: *236 headers: Link: *39 '404': *7 @@ -30673,7 +30713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *135 + - *141 requestBody: required: false content: @@ -30727,7 +30767,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *235 examples: default: value: @@ -30783,8 +30823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *135 - - &231 + - *141 + - &237 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30817,8 +30857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *135 - - *231 + - *141 + - *237 - *18 - *20 responses: @@ -30828,9 +30868,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: &247 + default: &253 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30875,7 +30915,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: - - *135 + - *141 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -30905,7 +30945,7 @@ paths: - closed - all default: open - - *233 + - *239 - name: sort description: What to sort results by. in: query @@ -30930,7 +30970,7 @@ paths: type: array items: *118 examples: - default: *234 + default: *240 headers: Link: *39 '404': *7 @@ -30952,7 +30992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *135 + - *141 - 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) @@ -30988,7 +31028,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '422': *16 @@ -31008,8 +31048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response if requester is an organization member and user is @@ -31040,8 +31080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -31067,8 +31107,8 @@ paths: parameters: - *18 - *20 - - *135 - - *175 + - *141 + - *181 responses: '200': description: Response @@ -31084,9 +31124,9 @@ paths: type: integer codespaces: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 '304': *37 '500': *84 '401': *25 @@ -31111,9 +31151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *135 - - *175 - - &238 + - *141 + - *181 + - &244 name: codespace_name in: path required: true @@ -31121,7 +31161,7 @@ paths: schema: type: string responses: - '202': *141 + '202': *147 '304': *37 '500': *84 '401': *25 @@ -31146,17 +31186,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: - - *135 - - *175 - - *238 + - *141 + - *181 + - *244 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: &423 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31329,14 +31369,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: - - *135 - - *175 + - *141 + - *181 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *186 + schema: *192 examples: default: value: @@ -31404,14 +31444,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *135 - - *175 + - *141 + - *181 responses: '200': description: Response content: application/json: - schema: &239 + schema: &245 title: Org Membership description: Org Membership type: object @@ -31463,7 +31503,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &240 + response-if-user-has-an-active-admin-membership-with-organization: &246 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31531,8 +31571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *135 - - *175 + - *141 + - *181 requestBody: required: false content: @@ -31560,9 +31600,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *245 examples: - response-if-user-already-had-membership-with-organization: *240 + response-if-user-already-had-membership-with-organization: *246 '422': *16 '403': *29 x-github: @@ -31583,8 +31623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -31609,7 +31649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *135 + - *141 - *18 - *20 - name: exclude @@ -31630,7 +31670,7 @@ paths: application/json: schema: type: array - items: &241 + items: &247 title: Migration description: A migration. type: object @@ -31883,7 +31923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *135 + - *141 requestBody: required: true content: @@ -31959,7 +31999,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *247 examples: default: value: @@ -32137,8 +32177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *135 - - &242 + - *141 + - &248 name: migration_id description: The unique identifier of the migration. in: path @@ -32165,7 +32205,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *241 + schema: *247 examples: default: value: @@ -32334,8 +32374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *135 - - *242 + - *141 + - *248 responses: '302': description: Response @@ -32356,8 +32396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *135 - - *242 + - *141 + - *248 responses: '204': description: Response @@ -32380,9 +32420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *135 - - *242 - - &666 + - *141 + - *248 + - &672 name: repo_name description: repo_name parameter in: path @@ -32409,8 +32449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *135 - - *242 + - *141 + - *248 - *18 - *20 responses: @@ -32420,9 +32460,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: &254 + default: &260 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32561,7 +32601,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: - - *135 + - *141 responses: '200': description: Response @@ -32615,7 +32655,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: - - *135 + - *141 responses: '200': description: Response - list of organization roles @@ -32631,7 +32671,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &243 + items: &249 title: Organization Role description: Organization roles type: object @@ -32791,7 +32831,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *135 + - *141 requestBody: required: true content: @@ -32838,7 +32878,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *249 examples: default: value: @@ -32867,7 +32907,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *16 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32889,8 +32929,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: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -32915,9 +32955,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: - - *135 - - *244 - - *191 + - *141 + - *250 + - *197 responses: '204': description: Response @@ -32946,9 +32986,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: - - *135 - - *244 - - *191 + - *141 + - *250 + - *197 responses: '204': description: Response @@ -32973,8 +33013,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -32999,9 +33039,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: - - *135 - - *175 - - *191 + - *141 + - *181 + - *197 responses: '204': description: Response @@ -33031,9 +33071,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: - - *135 - - *175 - - *191 + - *141 + - *181 + - *197 responses: '204': description: Response @@ -33061,14 +33101,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *135 - - *191 + - *141 + - *197 responses: '200': description: Response content: application/json: - schema: *243 + schema: *249 examples: default: value: @@ -33125,8 +33165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *135 - - *191 + - *141 + - *197 requestBody: required: true content: @@ -33165,7 +33205,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *249 examples: default: value: @@ -33193,7 +33233,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *16 - '409': *140 + '409': *146 '404': *7 x-github: githubCloudOnly: true @@ -33218,8 +33258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *135 - - *191 + - *141 + - *197 responses: '204': description: Response @@ -33244,8 +33284,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: - - *135 - - *191 + - *141 + - *197 - *18 - *20 responses: @@ -33323,8 +33363,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *245 - required: *246 + properties: *251 + required: *252 nullable: true required: - id @@ -33339,7 +33379,7 @@ paths: - slug - parent examples: - default: *247 + default: *253 headers: Link: *39 '404': @@ -33368,8 +33408,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: - - *135 - - *191 + - *141 + - *197 - *18 - *20 responses: @@ -33397,13 +33437,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &290 + items: &296 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *245 - required: *246 + properties: *251 + required: *252 name: nullable: true type: string @@ -33498,7 +33538,7 @@ paths: - type - url examples: - default: *235 + default: *241 headers: Link: *39 '404': @@ -33522,7 +33562,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: - - *135 + - *141 - 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) @@ -33546,7 +33586,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -33571,8 +33611,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: - - *135 - - *175 + - *141 + - *181 requestBody: required: false content: @@ -33629,8 +33669,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -33687,8 +33727,8 @@ paths: - docker - nuget - container - - *135 - - &668 + - *141 + - &674 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33724,12 +33764,12 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: *249 + default: *255 '403': *29 '401': *25 - '400': &670 + '400': &676 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33751,7 +33791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &250 + - &256 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 @@ -33769,20 +33809,20 @@ paths: - docker - nuget - container - - &251 + - &257 name: package_name description: The name of the package. in: path required: true schema: type: string - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *248 + schema: *254 examples: default: value: @@ -33834,9 +33874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *250 - - *251 - - *135 + - *256 + - *257 + - *141 responses: '204': description: Response @@ -33868,9 +33908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *250 - - *251 - - *135 + - *256 + - *257 + - *141 - name: token description: package token schema: @@ -33902,9 +33942,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: - - *250 - - *251 - - *135 + - *256 + - *257 + - *141 - *20 - *18 - name: state @@ -33924,7 +33964,7 @@ paths: application/json: schema: type: array - items: &252 + items: &258 title: Package Version description: A version of a software package type: object @@ -34049,10 +34089,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: - - *250 - - *251 - - *135 - - &253 + - *256 + - *257 + - *141 + - &259 name: package_version_id description: Unique identifier of the package version. in: path @@ -34064,7 +34104,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *258 examples: default: value: @@ -34100,10 +34140,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *250 - - *251 - - *135 - - *253 + - *256 + - *257 + - *141 + - *259 responses: '204': description: Response @@ -34135,10 +34175,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *250 - - *251 - - *135 - - *253 + - *256 + - *257 + - *141 + - *259 responses: '204': description: Response @@ -34165,10 +34205,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: - - *135 + - *141 - *18 - *20 - - &255 + - &261 name: sort description: The property by which to sort the results. in: query @@ -34179,7 +34219,7 @@ paths: - created_at default: created_at - *78 - - &256 + - &262 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34190,7 +34230,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &257 + - &263 name: repository description: The name of the repository to use to filter the results. in: query @@ -34198,7 +34238,7 @@ paths: schema: type: string example: Hello-World - - &258 + - &264 name: permission description: The permission to use to filter the results. in: query @@ -34206,7 +34246,7 @@ paths: schema: type: string example: issues_read - - &259 + - &265 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) @@ -34216,7 +34256,7 @@ paths: schema: type: string format: date-time - - &260 + - &266 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) @@ -34379,7 +34419,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: - - *135 + - *141 requestBody: required: true content: @@ -34424,7 +34464,7 @@ paths: '422': *16 '404': *7 '403': *29 - '202': *141 + '202': *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34445,7 +34485,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: - - *135 + - *141 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34485,7 +34525,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': *184 + '204': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34506,7 +34546,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: - - *135 + - *141 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34526,9 +34566,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -34551,16 +34591,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: - - *135 + - *141 - *18 - *20 - - *255 + - *261 - *78 - - *256 - - *257 - - *258 - - *259 - - *260 + - *262 + - *263 + - *264 + - *265 + - *266 responses: '500': *84 '422': *16 @@ -34709,7 +34749,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: - - *135 + - *141 requestBody: required: true content: @@ -34746,7 +34786,7 @@ paths: responses: '500': *84 '404': *7 - '202': *141 + '202': *147 '403': *29 '422': *16 x-github: @@ -34769,7 +34809,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: - - *135 + - *141 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -34799,7 +34839,7 @@ paths: responses: '500': *84 '404': *7 - '204': *184 + '204': *190 '403': *29 '422': *16 x-github: @@ -34821,7 +34861,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: - - *135 + - *141 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -34840,9 +34880,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -34864,7 +34904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *135 + - *141 - name: state description: Indicates the state of the projects to return. in: query @@ -34885,7 +34925,7 @@ paths: application/json: schema: type: array - items: &261 + items: &267 title: Project description: Projects are a way to organize columns and cards of work. @@ -35029,7 +35069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *135 + - *141 requestBody: required: true content: @@ -35055,7 +35095,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *267 examples: default: value: @@ -35093,7 +35133,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &329 + '410': &335 description: Gone content: application/json: @@ -35117,7 +35157,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: - - *135 + - *141 responses: '200': description: Response @@ -35125,7 +35165,7 @@ paths: application/json: schema: type: array - items: &262 + items: &268 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -35191,7 +35231,7 @@ paths: - property_name - value_type examples: - default: &263 + default: &269 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35235,7 +35275,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: - - *135 + - *141 requestBody: required: true content: @@ -35246,7 +35286,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *262 + items: *268 minItems: 1 maxItems: 100 required: @@ -35276,9 +35316,9 @@ paths: application/json: schema: type: array - items: *262 + items: *268 examples: - default: *263 + default: *269 '403': *29 '404': *7 x-github: @@ -35299,8 +35339,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: - - *135 - - &264 + - *141 + - &270 name: custom_property_name description: The custom property name in: path @@ -35312,9 +35352,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *268 examples: - default: &265 + default: &271 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35348,8 +35388,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: - - *135 - - *264 + - *141 + - *270 requestBody: required: true content: @@ -35408,9 +35448,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *268 examples: - default: *265 + default: *271 '403': *29 '404': *7 x-github: @@ -35433,10 +35473,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: - - *135 - - *264 + - *141 + - *270 responses: - '204': *184 + '204': *190 '403': *29 '404': *7 x-github: @@ -35457,7 +35497,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: - - *135 + - *141 - *18 - *20 - name: repository_query @@ -35495,7 +35535,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &266 + items: &272 title: Custom Property Value description: Custom property name and associated value type: object @@ -35562,7 +35602,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: - - *135 + - *141 requestBody: required: true content: @@ -35582,7 +35622,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *266 + items: *272 required: - repository_names - properties @@ -35623,7 +35663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *135 + - *141 - *18 - *20 responses: @@ -35635,7 +35675,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -35654,8 +35694,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response if user is a public member @@ -35679,8 +35719,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -35701,8 +35741,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -35726,7 +35766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *135 + - *141 - 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 @@ -35773,9 +35813,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -35796,7 +35836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *135 + - *141 requestBody: required: true content: @@ -35978,7 +36018,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &337 title: Full Repository description: Full Repository type: object @@ -36255,8 +36295,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *267 - required: *268 + properties: *273 + required: *274 nullable: true temp_clone_token: type: string @@ -36371,7 +36411,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &445 + properties: &451 url: type: string format: uri @@ -36387,12 +36427,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &446 + required: &452 - url - key - name - html_url - security_and_analysis: *269 + security_and_analysis: *275 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36476,7 +36516,7 @@ paths: - network_count - subscribers_count examples: - default: &333 + default: &339 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36994,7 +37034,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: - - *135 + - *141 responses: '200': description: Response @@ -37002,9 +37042,9 @@ paths: application/json: schema: type: array - items: *270 + items: *276 examples: - default: *271 + default: *277 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37026,10 +37066,10 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 - *18 - *20 - - &580 + - &586 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37047,7 +37087,7 @@ paths: application/json: schema: type: array - items: &278 + items: &284 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -37080,7 +37120,7 @@ paths: source: type: string description: The name of the source - enforcement: &274 + enforcement: &280 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -37092,7 +37132,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &275 + items: &281 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -37159,7 +37199,7 @@ paths: conditions: nullable: true anyOf: - - &272 + - &278 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -37183,7 +37223,7 @@ paths: match. items: type: string - - &276 + - &282 title: Organization ruleset conditions type: object description: |- @@ -37196,7 +37236,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *272 + - *278 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -37230,7 +37270,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *272 + - *278 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -37252,7 +37292,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *272 + - *278 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -37265,7 +37305,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &273 + items: &279 title: Repository ruleset property targeting definition type: object @@ -37298,17 +37338,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *273 + items: *279 required: - repository_property rules: type: array - items: &277 + items: &283 title: Repository Rule type: object description: A repository rule. oneOf: - - &562 + - &568 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37320,7 +37360,7 @@ paths: type: string enum: - creation - - &563 + - &569 title: update description: Only allow users with bypass permission to update matching refs. @@ -37341,7 +37381,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &565 + - &571 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37353,7 +37393,7 @@ paths: type: string enum: - deletion - - &566 + - &572 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37365,7 +37405,7 @@ paths: type: string enum: - required_linear_history - - &567 + - &573 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37443,7 +37483,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &568 + - &574 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37467,7 +37507,7 @@ paths: type: string required: - required_deployment_environments - - &569 + - &575 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37479,7 +37519,7 @@ paths: type: string enum: - required_signatures - - &570 + - &576 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37525,7 +37565,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &571 + - &577 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37573,7 +37613,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &572 + - &578 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37585,7 +37625,7 @@ paths: type: string enum: - non_fast_forward - - &573 + - &579 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37621,7 +37661,7 @@ paths: required: - operator - pattern - - &574 + - &580 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37657,7 +37697,7 @@ paths: required: - operator - pattern - - &575 + - &581 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37693,7 +37733,7 @@ paths: required: - operator - pattern - - &576 + - &582 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37729,7 +37769,7 @@ paths: required: - operator - pattern - - &577 + - &583 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37855,7 +37895,7 @@ paths: maximum: 100 required: - max_file_size - - &578 + - &584 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37905,7 +37945,7 @@ paths: - repository_id required: - workflows - - &579 + - &585 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -38018,7 +38058,7 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 requestBody: description: Request body required: true @@ -38038,16 +38078,16 @@ paths: - tag - push default: branch - enforcement: *274 + enforcement: *280 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *275 - conditions: *276 + items: *281 + conditions: *282 rules: type: array description: An array of rules within the ruleset. - items: *277 + items: *283 required: - name - enforcement @@ -38085,9 +38125,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: &279 + default: &285 value: id: 21 name: super cool ruleset @@ -38141,8 +38181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *135 - - &581 + - *141 + - &587 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 @@ -38158,7 +38198,7 @@ paths: in: query schema: type: integer - - &582 + - &588 name: time_period description: |- The time period to filter by. @@ -38174,14 +38214,14 @@ paths: - week - month default: day - - &583 + - &589 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 - - &584 + - &590 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38201,7 +38241,7 @@ paths: description: Response content: application/json: - schema: &585 + schema: &591 title: Rule Suites description: Response type: array @@ -38256,7 +38296,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &586 + default: &592 value: - id: 21 actor_id: 12 @@ -38299,8 +38339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *135 - - &587 + - *141 + - &593 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38316,7 +38356,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &594 title: Rule Suite description: Response type: object @@ -38415,7 +38455,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &589 + default: &595 value: id: 21 actor_id: 12 @@ -38476,7 +38516,7 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38488,9 +38528,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *279 + default: *285 '404': *7 '500': *84 put: @@ -38508,7 +38548,7 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38533,16 +38573,16 @@ paths: - branch - tag - push - enforcement: *274 + enforcement: *280 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *275 - conditions: *276 + items: *281 + conditions: *282 rules: description: An array of rules within the ruleset. type: array - items: *277 + items: *283 examples: default: value: @@ -38577,9 +38617,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *279 + default: *285 '404': *7 '500': *84 delete: @@ -38597,7 +38637,7 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38625,15 +38665,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: - - *135 - - *280 - - *281 - - *282 - - *283 + - *141 + - *286 + - *287 + - *288 + - *289 - *78 - *20 - *18 - - &591 + - &597 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 @@ -38643,7 +38683,7 @@ paths: required: false schema: type: string - - &592 + - &598 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 @@ -38653,9 +38693,9 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 + - *290 + - *291 + - *292 responses: '200': description: Response @@ -38663,9 +38703,9 @@ paths: application/json: schema: type: array - items: *287 + items: *293 examples: - default: *288 + default: *294 headers: Link: *39 '404': *7 @@ -38691,7 +38731,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: - - *135 + - *141 - *78 - name: sort description: The property to sort the results by. @@ -38735,7 +38775,7 @@ paths: application/json: schema: type: array - items: &598 + items: &604 description: A repository security advisory. type: object properties: @@ -38955,7 +38995,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *295 credits_detailed: type: array nullable: true @@ -38965,7 +39005,7 @@ paths: type: object properties: user: *19 - type: *289 + type: *295 state: type: string description: The state of the user's acceptance of the @@ -38989,7 +39029,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *232 + items: *238 private_fork: readOnly: true nullable: true @@ -39026,7 +39066,7 @@ paths: - private_fork additionalProperties: false examples: - default: &599 + default: &605 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39408,7 +39448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *135 + - *141 responses: '200': description: Response @@ -39416,9 +39456,9 @@ paths: application/json: schema: type: array - items: *290 + items: *296 examples: - default: *247 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39441,8 +39481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -39467,8 +39507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -39494,15 +39534,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39526,7 +39566,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: - - *135 + - *141 - *18 - *20 responses: @@ -39534,9 +39574,9 @@ paths: description: Success content: application/json: - schema: *293 + schema: *299 examples: - default: *294 + default: *300 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39558,15 +39598,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *295 + schema: *301 examples: - default: *296 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39588,15 +39628,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *297 + schema: *303 examples: - default: *298 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39613,7 +39653,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: - - *135 + - *141 - *18 - name: page description: Page token @@ -39632,7 +39672,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &326 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -39678,7 +39718,7 @@ paths: type: string nullable: true examples: - default: &321 + default: &327 value: groups: - group_id: '123' @@ -39723,8 +39763,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: - - *135 - - *244 + - *141 + - *250 - 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`). @@ -39796,8 +39836,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: - - *135 - - *244 + - *141 + - *250 - 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`). @@ -39831,7 +39871,7 @@ paths: type: array items: *101 examples: - default: *188 + default: *194 '500': *84 '401': *25 '403': *29 @@ -39853,7 +39893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *135 + - *141 - *18 - *20 responses: @@ -39863,9 +39903,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 headers: Link: *39 '403': *29 @@ -39887,7 +39927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *135 + - *141 requestBody: required: true content: @@ -39959,7 +39999,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &305 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -40022,8 +40062,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *245 - required: *246 + properties: *251 + required: *252 nullable: true members_count: type: integer @@ -40269,7 +40309,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &306 value: id: 1 node_id: MDQ6VGVhbTE= @@ -40339,16 +40379,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *135 - - *244 + - *141 + - *250 responses: '200': description: Response content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '404': *7 x-github: githubCloudOnly: false @@ -40369,8 +40409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *135 - - *244 + - *141 + - *250 requestBody: required: false content: @@ -40432,16 +40472,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '201': description: Response content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '404': *7 '422': *16 '403': *29 @@ -40466,8 +40506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -40493,8 +40533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *135 - - *244 + - *141 + - *250 - *78 - *18 - *20 @@ -40511,7 +40551,7 @@ paths: application/json: schema: type: array - items: &301 + items: &307 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -40610,7 +40650,7 @@ paths: - updated_at - url examples: - default: &639 + default: &645 value: - author: login: octocat @@ -40684,8 +40724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *135 - - *244 + - *141 + - *250 requestBody: required: true content: @@ -40719,9 +40759,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: &302 + default: &308 value: author: login: octocat @@ -40793,9 +40833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *135 - - *244 - - &303 + - *141 + - *250 + - &309 name: discussion_number description: The number that identifies the discussion. in: path @@ -40807,9 +40847,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: *302 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40831,9 +40871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 requestBody: required: false content: @@ -40856,9 +40896,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: &640 + default: &646 value: author: login: octocat @@ -40928,9 +40968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 responses: '204': description: Response @@ -40956,9 +40996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 - *78 - *18 - *20 @@ -40969,7 +41009,7 @@ paths: application/json: schema: type: array - items: &304 + items: &310 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -41041,7 +41081,7 @@ paths: - updated_at - url examples: - default: &641 + default: &647 value: - author: login: octocat @@ -41109,9 +41149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 requestBody: required: true content: @@ -41133,9 +41173,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: &305 + default: &311 value: author: login: octocat @@ -41201,10 +41241,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *135 - - *244 - - *303 - - &306 + - *141 + - *250 + - *309 + - &312 name: comment_number description: The number that identifies the comment. in: path @@ -41216,9 +41256,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: *305 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41240,10 +41280,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *135 - - *244 - - *303 - - *306 + - *141 + - *250 + - *309 + - *312 requestBody: required: true content: @@ -41265,9 +41305,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: &642 + default: &648 value: author: login: octocat @@ -41331,10 +41371,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *135 - - *244 - - *303 - - *306 + - *141 + - *250 + - *309 + - *312 responses: '204': description: Response @@ -41360,10 +41400,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: - - *135 - - *244 - - *303 - - *306 + - *141 + - *250 + - *309 + - *312 - 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. @@ -41389,7 +41429,7 @@ paths: application/json: schema: type: array - items: &307 + items: &313 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -41432,7 +41472,7 @@ paths: - content - created_at examples: - default: &309 + default: &315 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41482,10 +41522,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: - - *135 - - *244 - - *303 - - *306 + - *141 + - *250 + - *309 + - *312 requestBody: required: true content: @@ -41518,9 +41558,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *313 examples: - default: &308 + default: &314 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41549,9 +41589,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41574,11 +41614,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *135 - - *244 - - *303 - - *306 - - &310 + - *141 + - *250 + - *309 + - *312 + - &316 name: reaction_id description: The unique identifier of the reaction. in: path @@ -41610,9 +41650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 - 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. @@ -41638,9 +41678,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 x-github: @@ -41666,9 +41706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 requestBody: required: true content: @@ -41700,16 +41740,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41732,10 +41772,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *135 - - *244 - - *303 - - *310 + - *141 + - *250 + - *309 + - *316 responses: '204': description: Response @@ -41758,16 +41798,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: - - *135 - - *244 + - *141 + - *250 responses: '200': description: Response content: application/json: - schema: *311 + schema: *317 examples: - default: *312 + default: *318 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41786,8 +41826,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: - - *135 - - *244 + - *141 + - *250 requestBody: required: true content: @@ -41810,9 +41850,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *319 examples: - default: *314 + default: *320 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41831,8 +41871,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: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -41856,8 +41896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *135 - - *244 + - *141 + - *250 - *18 - *20 responses: @@ -41867,9 +41907,9 @@ paths: application/json: schema: type: array - items: *229 + items: *235 examples: - default: *230 + default: *236 headers: Link: *39 x-github: @@ -41891,8 +41931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *135 - - *244 + - *141 + - *250 - name: role description: Filters members returned by their role in the team. in: query @@ -41915,7 +41955,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -41945,15 +41985,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *135 - - *244 - - *175 + - *141 + - *250 + - *181 responses: '200': description: Response content: application/json: - schema: &315 + schema: &321 title: Team Membership description: Team Membership type: object @@ -41980,7 +42020,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &643 + response-if-user-is-a-team-maintainer: &649 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42016,9 +42056,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: - - *135 - - *244 - - *175 + - *141 + - *250 + - *181 requestBody: required: false content: @@ -42043,9 +42083,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: &644 + response-if-users-membership-with-team-is-now-pending: &650 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42080,9 +42120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *135 - - *244 - - *175 + - *141 + - *250 + - *181 responses: '204': description: Response @@ -42108,8 +42148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *135 - - *244 + - *141 + - *250 - *18 - *20 responses: @@ -42119,7 +42159,7 @@ paths: application/json: schema: type: array - items: &316 + items: &322 title: Team Project description: A team's access to a project. type: object @@ -42187,7 +42227,7 @@ paths: - updated_at - permissions examples: - default: &645 + default: &651 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42248,9 +42288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *135 - - *244 - - &317 + - *141 + - *250 + - &323 name: project_id description: The unique identifier of the project. in: path @@ -42262,9 +42302,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *322 examples: - default: &646 + default: &652 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42324,9 +42364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *135 - - *244 - - *317 + - *141 + - *250 + - *323 requestBody: required: false content: @@ -42390,9 +42430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *135 - - *244 - - *317 + - *141 + - *250 + - *323 responses: '204': description: Response @@ -42416,8 +42456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *135 - - *244 + - *141 + - *250 - *18 - *20 responses: @@ -42427,9 +42467,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -42458,16 +42498,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *135 - - *244 - - *318 - - *319 + - *141 + - *250 + - *324 + - *325 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &647 + schema: &653 title: Team Repository description: A team's access to a repository. type: object @@ -43036,10 +43076,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *135 - - *244 - - *318 - - *319 + - *141 + - *250 + - *324 + - *325 requestBody: required: false content: @@ -43084,10 +43124,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *135 - - *244 - - *318 - - *319 + - *141 + - *250 + - *324 + - *325 responses: '204': description: Response @@ -43113,16 +43153,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: - - *135 - - *244 + - *141 + - *250 responses: '200': description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: *321 + default: *327 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43144,8 +43184,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: - - *135 - - *244 + - *141 + - *250 requestBody: required: true content: @@ -43188,7 +43228,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: default: value: @@ -43220,8 +43260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *135 - - *244 + - *141 + - *250 - *18 - *20 responses: @@ -43231,9 +43271,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - response-if-child-teams-exist: &648 + response-if-child-teams-exist: &654 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -43286,7 +43326,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: - - *135 + - *141 - name: security_product in: path description: The security feature to enable or disable. @@ -43357,7 +43397,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &322 + - &328 name: card_id description: The unique identifier of the card. in: path @@ -43369,7 +43409,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &329 title: Project Card description: Project cards represent a scope of work. type: object @@ -43436,7 +43476,7 @@ paths: - created_at - updated_at examples: - default: &324 + default: &330 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -43486,7 +43526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *322 + - *328 requestBody: required: false content: @@ -43513,9 +43553,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *329 examples: - default: *324 + default: *330 '304': *37 '403': *29 '401': *25 @@ -43536,7 +43576,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *322 + - *328 responses: '204': description: Response @@ -43574,7 +43614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *322 + - *328 requestBody: required: true content: @@ -43679,7 +43719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &325 + - &331 name: column_id description: The unique identifier of the column. in: path @@ -43691,7 +43731,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &332 title: Project Column description: Project columns contain cards of work. type: object @@ -43737,7 +43777,7 @@ paths: - created_at - updated_at examples: - default: &327 + default: &333 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43766,7 +43806,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *325 + - *331 requestBody: required: true content: @@ -43790,9 +43830,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: *327 + default: *333 '304': *37 '403': *29 '401': *25 @@ -43811,7 +43851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *325 + - *331 responses: '204': description: Response @@ -43834,7 +43874,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *325 + - *331 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43855,7 +43895,7 @@ paths: application/json: schema: type: array - items: *323 + items: *329 examples: default: value: @@ -43908,7 +43948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *325 + - *331 requestBody: required: true content: @@ -43948,9 +43988,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *329 examples: - default: *324 + default: *330 '304': *37 '403': *29 '401': *25 @@ -43960,8 +44000,8 @@ paths: application/json: schema: oneOf: - - *138 - - *139 + - *144 + - *145 '503': description: Response content: @@ -44000,7 +44040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *325 + - *331 requestBody: required: true content: @@ -44056,15 +44096,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *317 + - *323 responses: '200': description: Response content: application/json: - schema: *261 + schema: *267 examples: - default: &328 + default: &334 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44117,7 +44157,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *317 + - *323 requestBody: required: false content: @@ -44163,9 +44203,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *267 examples: - default: *328 + default: *334 '404': description: Not Found if the authenticated user does not have access to the project @@ -44186,7 +44226,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *335 '422': *8 x-github: githubCloudOnly: false @@ -44204,7 +44244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *317 + - *323 responses: '204': description: Delete Success @@ -44225,7 +44265,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *335 '404': *7 x-github: githubCloudOnly: false @@ -44248,7 +44288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *317 + - *323 - 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 @@ -44275,7 +44315,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '404': *7 @@ -44300,8 +44340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *317 - - *175 + - *323 + - *181 requestBody: required: false content: @@ -44348,8 +44388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *317 - - *175 + - *323 + - *181 responses: '204': description: Response @@ -44377,8 +44417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *317 - - *175 + - *323 + - *181 responses: '200': description: Response @@ -44445,7 +44485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *317 + - *323 - *18 - *20 responses: @@ -44455,7 +44495,7 @@ paths: application/json: schema: type: array - items: *326 + items: *332 examples: default: value: @@ -44487,7 +44527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *317 + - *323 requestBody: required: true content: @@ -44510,7 +44550,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: default: value: @@ -44571,7 +44611,7 @@ paths: resources: type: object properties: - core: &330 + core: &336 title: Rate Limit type: object properties: @@ -44588,19 +44628,19 @@ paths: - remaining - reset - used - graphql: *330 - search: *330 - code_search: *330 - source_import: *330 - integration_manifest: *330 - code_scanning_upload: *330 - actions_runner_registration: *330 - scim: *330 - dependency_snapshots: *330 + graphql: *336 + search: *336 + code_search: *336 + source_import: *336 + integration_manifest: *336 + code_scanning_upload: *336 + actions_runner_registration: *336 + scim: *336 + dependency_snapshots: *336 required: - core - search - rate: *330 + rate: *336 required: - rate - resources @@ -44699,14 +44739,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *331 + schema: *337 examples: default-response: summary: Default response @@ -45211,7 +45251,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *332 + '301': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45229,8 +45269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -45476,10 +45516,10 @@ paths: description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 - '307': &334 + default: *339 + '307': &340 description: Temporary Redirect content: application/json: @@ -45508,8 +45548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -45531,7 +45571,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': *334 + '307': *340 '404': *7 x-github: githubCloudOnly: false @@ -45554,11 +45594,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 - - &349 + - &355 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -45581,7 +45621,7 @@ paths: type: integer artifacts: type: array - items: &335 + items: &341 title: Artifact description: An artifact type: object @@ -45652,7 +45692,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &356 value: total_count: 2 artifacts: @@ -45711,9 +45751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *318 - - *319 - - &336 + - *324 + - *325 + - &342 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45725,7 +45765,7 @@ paths: description: Response content: application/json: - schema: *335 + schema: *341 examples: default: value: @@ -45762,9 +45802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *318 - - *319 - - *336 + - *324 + - *325 + - *342 responses: '204': description: Response @@ -45788,9 +45828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *318 - - *319 - - *336 + - *324 + - *325 + - *342 - name: archive_format in: path required: true @@ -45804,7 +45844,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': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45827,14 +45867,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *337 + schema: *343 examples: default: value: @@ -45860,11 +45900,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: - - *318 - - *319 + - *324 + - *325 - *18 - *20 - - &338 + - &344 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 @@ -45898,7 +45938,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &345 title: Repository actions caches description: Repository actions caches type: object @@ -45940,7 +45980,7 @@ paths: - total_count - actions_caches examples: - default: &340 + default: &346 value: total_count: 1 actions_caches: @@ -45972,23 +46012,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: - - *318 - - *319 + - *324 + - *325 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *340 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46008,8 +46048,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: - - *318 - - *319 + - *324 + - *325 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -46040,9 +46080,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: - - *318 - - *319 - - &341 + - *324 + - *325 + - &347 name: job_id description: The unique identifier of the job. in: path @@ -46054,7 +46094,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &359 title: Job description: Information of a job execution in a workflow run type: object @@ -46361,9 +46401,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: - - *318 - - *319 - - *341 + - *324 + - *325 + - *347 responses: '302': description: Response @@ -46391,9 +46431,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: - - *318 - - *319 - - *341 + - *324 + - *325 + - *347 requestBody: required: false content: @@ -46414,7 +46454,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -46438,8 +46478,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Status response @@ -46489,8 +46529,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -46524,7 +46564,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -46553,8 +46593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -46572,7 +46612,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &361 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -46592,7 +46632,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &362 value: total_count: 2 secrets: @@ -46625,9 +46665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *318 - - *319 - - *342 + - *324 + - *325 + - *348 - *20 responses: '200': @@ -46644,7 +46684,7 @@ paths: type: integer variables: type: array - items: &359 + items: &365 title: Actions Variable type: object properties: @@ -46674,7 +46714,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &366 value: total_count: 2 variables: @@ -46707,8 +46747,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -46717,11 +46757,11 @@ paths: schema: type: object properties: - enabled: &343 + enabled: &349 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 - selected_actions_url: *146 + selected_actions_url: *152 required: - enabled examples: @@ -46750,8 +46790,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -46762,7 +46802,7 @@ paths: schema: type: object properties: - enabled: *343 + enabled: *349 allowed_actions: *42 required: - enabled @@ -46793,14 +46833,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &344 + schema: &350 type: object properties: access_level: @@ -46818,7 +46858,7 @@ paths: required: - access_level examples: - default: &345 + default: &351 value: access_level: organization x-github: @@ -46843,15 +46883,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: application/json: - schema: *344 + schema: *350 examples: - default: *345 + default: *351 responses: '204': description: Response @@ -46875,8 +46915,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -46907,8 +46947,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -46940,14 +46980,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *149 + schema: *155 examples: default: *48 x-github: @@ -46970,8 +47010,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Success response @@ -46982,7 +47022,7 @@ paths: required: true content: application/json: - schema: *150 + schema: *156 examples: default: *48 x-github: @@ -47011,8 +47051,8 @@ paths: in: query schema: type: string - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -47056,8 +47096,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -47065,9 +47105,9 @@ paths: application/json: schema: type: array - items: *154 + items: *160 examples: - default: *155 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47089,8 +47129,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -47133,7 +47173,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *156 + '201': *162 '404': *7 '422': *8 x-github: @@ -47163,8 +47203,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: - - *318 - - *319 + - *324 + - *325 responses: '201': description: Response @@ -47172,7 +47212,7 @@ paths: application/json: schema: *58 examples: - default: *157 + default: *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47200,8 +47240,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: - - *318 - - *319 + - *324 + - *325 responses: '201': description: Response @@ -47209,7 +47249,7 @@ paths: application/json: schema: *58 examples: - default: *158 + default: *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47231,8 +47271,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: - - *318 - - *319 + - *324 + - *325 - *54 responses: '200': @@ -47241,7 +47281,7 @@ paths: application/json: schema: *55 examples: - default: *159 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47262,8 +47302,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: - - *318 - - *319 + - *324 + - *325 - *54 responses: '204': @@ -47289,8 +47329,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: - - *318 - - *319 + - *324 + - *325 - *54 responses: '200': *60 @@ -47315,8 +47355,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: - - *318 - - *319 + - *324 + - *325 - *54 requestBody: required: true @@ -47365,8 +47405,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: - - *318 - - *319 + - *324 + - *325 - *54 requestBody: required: true @@ -47416,11 +47456,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: - - *318 - - *319 + - *324 + - *325 - *54 responses: - '200': *160 + '200': *166 '404': *7 x-github: githubCloudOnly: false @@ -47447,10 +47487,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: - - *318 - - *319 + - *324 + - *325 - *54 - - *161 + - *167 responses: '200': *60 '404': *7 @@ -47478,9 +47518,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: - - *318 - - *319 - - &363 + - *324 + - *325 + - &369 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -47488,7 +47528,7 @@ paths: required: false schema: type: string - - &364 + - &370 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -47496,7 +47536,7 @@ paths: required: false schema: type: string - - &365 + - &371 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -47505,7 +47545,7 @@ paths: required: false schema: type: string - - &366 + - &372 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -47532,7 +47572,7 @@ paths: - pending - *18 - *20 - - &367 + - &373 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -47541,7 +47581,7 @@ paths: schema: type: string format: date-time - - &346 + - &352 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -47550,13 +47590,13 @@ paths: schema: type: boolean default: false - - &368 + - &374 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &369 + - &375 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -47579,7 +47619,7 @@ paths: type: integer workflow_runs: type: array - items: &347 + items: &353 title: Workflow Run description: An invocation of a workflow type: object @@ -47674,7 +47714,7 @@ paths: that triggered the run. type: array nullable: true - items: &388 + items: &394 title: Pull Request Minimal type: object properties: @@ -47793,7 +47833,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &392 + properties: &398 id: type: string description: SHA for the commit @@ -47844,7 +47884,7 @@ paths: - name - email nullable: true - required: &393 + required: &399 - id - tree_id - message @@ -47852,8 +47892,8 @@ paths: - author - committer nullable: true - repository: *153 - head_repository: *153 + repository: *159 + head_repository: *159 head_repository_id: type: integer example: 5 @@ -47891,7 +47931,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &376 value: total_count: 1 workflow_runs: @@ -48127,24 +48167,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *318 - - *319 - - &348 + - *324 + - *325 + - &354 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *346 + - *352 responses: '200': description: Response content: application/json: - schema: *347 + schema: *353 examples: - default: &351 + default: &357 value: id: 30433642 name: Build @@ -48385,9 +48425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '204': description: Response @@ -48410,9 +48450,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '200': description: Response @@ -48531,15 +48571,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '201': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -48566,12 +48606,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 - *18 - *20 - - *349 + - *355 responses: '200': description: Response @@ -48587,9 +48627,9 @@ paths: type: integer artifacts: type: array - items: *335 + items: *341 examples: - default: *350 + default: *356 headers: Link: *39 x-github: @@ -48613,25 +48653,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *318 - - *319 - - *348 - - &352 + - *324 + - *325 + - *354 + - &358 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *346 + - *352 responses: '200': description: Response content: application/json: - schema: *347 + schema: *353 examples: - default: *351 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48654,10 +48694,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: - - *318 - - *319 - - *348 - - *352 + - *324 + - *325 + - *354 + - *358 - *18 - *20 responses: @@ -48675,9 +48715,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *359 examples: - default: &354 + default: &360 value: total_count: 1 jobs: @@ -48790,10 +48830,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *318 - - *319 - - *348 - - *352 + - *324 + - *325 + - *354 + - *358 responses: '302': description: Response @@ -48821,19 +48861,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '202': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48856,9 +48896,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 requestBody: required: true content: @@ -48925,19 +48965,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '202': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48960,9 +49000,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -48992,9 +49032,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *359 examples: - default: *354 + default: *360 headers: Link: *39 x-github: @@ -49019,9 +49059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '302': description: Response @@ -49048,9 +49088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '204': description: Response @@ -49077,9 +49117,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '200': description: Response @@ -49139,7 +49179,7 @@ paths: items: type: object properties: - type: &466 + type: &472 type: string description: The type of reviewer. enum: @@ -49149,7 +49189,7 @@ paths: reviewer: anyOf: - *19 - - *232 + - *238 required: - environment - wait_timer @@ -49224,9 +49264,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 requestBody: required: true content: @@ -49273,7 +49313,7 @@ paths: application/json: schema: type: array - items: &461 + items: &467 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -49379,7 +49419,7 @@ paths: - created_at - updated_at examples: - default: &462 + default: &468 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -49435,9 +49475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 requestBody: required: false content: @@ -49458,7 +49498,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -49481,9 +49521,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 requestBody: required: false content: @@ -49504,7 +49544,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -49529,9 +49569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '200': description: Response @@ -49668,8 +49708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -49687,9 +49727,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *361 examples: - default: *356 + default: *362 headers: Link: *39 x-github: @@ -49714,16 +49754,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *357 + schema: *363 examples: - default: *358 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49745,17 +49785,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '200': description: Response content: application/json: - schema: *355 + schema: *361 examples: - default: &479 + default: &485 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49781,9 +49821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 requestBody: required: true content: @@ -49811,7 +49851,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -49837,9 +49877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '204': description: Response @@ -49864,9 +49904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *318 - - *319 - - *342 + - *324 + - *325 + - *348 - *20 responses: '200': @@ -49883,9 +49923,9 @@ paths: type: integer variables: type: array - items: *359 + items: *365 examples: - default: *360 + default: *366 headers: Link: *39 x-github: @@ -49908,8 +49948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -49936,7 +49976,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -49961,17 +50001,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *318 - - *319 - - *166 + - *324 + - *325 + - *172 responses: '200': description: Response content: application/json: - schema: *359 + schema: *365 examples: - default: &480 + default: &486 value: name: USERNAME value: octocat @@ -49997,9 +50037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *318 - - *319 - - *166 + - *324 + - *325 + - *172 requestBody: required: true content: @@ -50041,9 +50081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *318 - - *319 - - *166 + - *324 + - *325 + - *172 responses: '204': description: Response @@ -50068,8 +50108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -50087,7 +50127,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &367 title: Workflow description: A GitHub Actions workflow type: object @@ -50194,9 +50234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *318 - - *319 - - &362 + - *324 + - *325 + - &368 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -50211,7 +50251,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *367 examples: default: value: @@ -50244,9 +50284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *318 - - *319 - - *362 + - *324 + - *325 + - *368 responses: '204': description: Response @@ -50271,9 +50311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *318 - - *319 - - *362 + - *324 + - *325 + - *368 responses: '204': description: Response @@ -50324,9 +50364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *318 - - *319 - - *362 + - *324 + - *325 + - *368 responses: '204': description: Response @@ -50351,19 +50391,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: - - *318 - - *319 - - *362 - - *363 - - *364 - - *365 - - *366 - - *18 - - *20 - - *367 - - *346 + - *324 + - *325 - *368 - *369 + - *370 + - *371 + - *372 + - *18 + - *20 + - *373 + - *352 + - *374 + - *375 responses: '200': description: Response @@ -50379,9 +50419,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *353 examples: - default: *370 + default: *376 headers: Link: *39 x-github: @@ -50407,9 +50447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *318 - - *319 - - *362 + - *324 + - *325 + - *368 responses: '200': description: Response @@ -50470,8 +50510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *318 - - *319 + - *324 + - *325 - *78 - *18 - *76 @@ -50635,8 +50675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -50648,7 +50688,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '404': *7 @@ -50673,8 +50713,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: - - *318 - - *319 + - *324 + - *325 - name: assignee in: path required: true @@ -50710,8 +50750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -50823,8 +50863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *76 - *77 @@ -50868,7 +50908,7 @@ paths: repository_id: type: integer examples: - default: *371 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50888,8 +50928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -50897,7 +50937,7 @@ paths: application/json: schema: type: array - items: &372 + items: &378 title: Autolink reference description: An autolink reference. type: object @@ -50947,8 +50987,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -50987,9 +51027,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *378 examples: - default: &373 + default: &379 value: id: 1 key_prefix: TICKET- @@ -51020,9 +51060,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: - - *318 - - *319 - - &374 + - *324 + - *325 + - &380 name: autolink_id description: The unique identifier of the autolink. in: path @@ -51034,9 +51074,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *378 examples: - default: *373 + default: *379 '404': *7 x-github: githubCloudOnly: false @@ -51056,9 +51096,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: - - *318 - - *319 - - *374 + - *324 + - *325 + - *380 responses: '204': description: Response @@ -51082,8 +51122,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response if Dependabot is enabled @@ -51131,8 +51171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -51153,8 +51193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -51174,8 +51214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *318 - - *319 + - *324 + - *325 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -51213,7 +51253,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &382 title: Branch Protection description: Branch Protection type: object @@ -51255,7 +51295,7 @@ paths: required: - contexts - checks - enforce_admins: &379 + enforce_admins: &385 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -51270,7 +51310,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &381 + required_pull_request_reviews: &387 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -51291,7 +51331,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *232 + items: *238 apps: description: The list of apps with review dismissal access. @@ -51320,7 +51360,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *232 + items: *238 apps: description: The list of apps allowed to bypass pull request requirements. @@ -51346,7 +51386,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &378 + restrictions: &384 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51653,9 +51693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *318 - - *319 - - &377 + - *324 + - *325 + - &383 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -51669,14 +51709,14 @@ paths: description: Response content: application/json: - schema: &387 + schema: &393 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &434 + commit: &440 title: Commit description: Commit type: object @@ -51710,7 +51750,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &375 + properties: &381 name: type: string example: '"Chris Wanstrath"' @@ -51725,7 +51765,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *375 + properties: *381 nullable: true message: type: string @@ -51746,7 +51786,7 @@ paths: required: - sha - url - verification: &486 + verification: &492 title: Verification type: object properties: @@ -51776,12 +51816,12 @@ paths: nullable: true oneOf: - *19 - - *164 + - *170 committer: nullable: true oneOf: - *19 - - *164 + - *170 parents: type: array items: @@ -51812,7 +51852,7 @@ paths: type: integer files: type: array - items: &449 + items: &455 title: Diff Entry description: Diff Entry type: object @@ -51895,7 +51935,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *382 protection_url: type: string format: uri @@ -52001,7 +52041,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *332 + '301': *338 '404': *7 x-github: githubCloudOnly: false @@ -52023,15 +52063,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *376 + schema: *382 examples: default: value: @@ -52225,9 +52265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -52482,7 +52522,7 @@ paths: url: type: string format: uri - required_status_checks: &384 + required_status_checks: &390 title: Status Check Policy description: Status Check Policy type: object @@ -52558,7 +52598,7 @@ paths: items: *19 teams: type: array - items: *232 + items: *238 apps: type: array items: *6 @@ -52576,7 +52616,7 @@ paths: items: *19 teams: type: array - items: *232 + items: *238 apps: type: array items: *6 @@ -52634,7 +52674,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *384 required_conversation_resolution: type: object properties: @@ -52746,9 +52786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -52773,17 +52813,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *379 + schema: *385 examples: - default: &380 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52805,17 +52845,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *379 + schema: *385 examples: - default: *380 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52834,9 +52874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -52861,17 +52901,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *381 + schema: *387 examples: - default: &382 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -52967,9 +53007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -53067,9 +53107,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *387 examples: - default: *382 + default: *388 '422': *16 x-github: githubCloudOnly: false @@ -53090,9 +53130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -53119,17 +53159,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *379 + schema: *385 examples: - default: &383 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -53152,17 +53192,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *379 + schema: *385 examples: - default: *383 + default: *389 '404': *7 x-github: githubCloudOnly: false @@ -53182,9 +53222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -53209,17 +53249,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *384 + schema: *390 examples: - default: &385 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -53245,9 +53285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -53299,9 +53339,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *390 examples: - default: *385 + default: *391 '404': *7 '422': *16 x-github: @@ -53323,9 +53363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -53349,9 +53389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response @@ -53385,9 +53425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -53454,9 +53494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -53520,9 +53560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: content: application/json: @@ -53588,15 +53628,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *378 + schema: *384 examples: default: value: @@ -53687,9 +53727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -53712,9 +53752,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: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response @@ -53724,7 +53764,7 @@ paths: type: array items: *6 examples: - default: &386 + default: &392 value: - id: 1 slug: octoapp @@ -53781,9 +53821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -53817,7 +53857,7 @@ paths: type: array items: *6 examples: - default: *386 + default: *392 '422': *16 x-github: githubCloudOnly: false @@ -53838,9 +53878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -53874,7 +53914,7 @@ paths: type: array items: *6 examples: - default: *386 + default: *392 '422': *16 x-github: githubCloudOnly: false @@ -53895,9 +53935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -53931,7 +53971,7 @@ paths: type: array items: *6 examples: - default: *386 + default: *392 '422': *16 x-github: githubCloudOnly: false @@ -53953,9 +53993,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: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response @@ -53963,9 +54003,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 '404': *7 x-github: githubCloudOnly: false @@ -53985,9 +54025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -54023,9 +54063,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 '422': *16 x-github: githubCloudOnly: false @@ -54046,9 +54086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -54084,9 +54124,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 '422': *16 x-github: githubCloudOnly: false @@ -54107,9 +54147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: content: application/json: @@ -54144,9 +54184,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 '422': *16 x-github: githubCloudOnly: false @@ -54168,9 +54208,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: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response @@ -54180,7 +54220,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '404': *7 x-github: githubCloudOnly: false @@ -54204,9 +54244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -54239,7 +54279,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '422': *16 x-github: githubCloudOnly: false @@ -54264,9 +54304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -54299,7 +54339,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '422': *16 x-github: githubCloudOnly: false @@ -54324,9 +54364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -54359,7 +54399,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '422': *16 x-github: githubCloudOnly: false @@ -54386,9 +54426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -54410,7 +54450,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *393 examples: default: value: @@ -54525,8 +54565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -54805,7 +54845,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &395 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54924,8 +54964,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *388 - deployment: &699 + items: *394 + deployment: &705 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55205,9 +55245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *318 - - *319 - - &390 + - *324 + - *325 + - &396 name: check_run_id description: The unique identifier of the check run. in: path @@ -55219,9 +55259,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *395 examples: - default: &391 + default: &397 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -55321,9 +55361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *318 - - *319 - - *390 + - *324 + - *325 + - *396 requestBody: required: true content: @@ -55563,9 +55603,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *395 examples: - default: *391 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55585,9 +55625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *318 - - *319 - - *390 + - *324 + - *325 + - *396 - *18 - *20 responses: @@ -55684,15 +55724,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *318 - - *319 - - *390 + - *324 + - *325 + - *396 responses: '201': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -55730,8 +55770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -55753,7 +55793,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &394 + schema: &400 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55817,7 +55857,7 @@ paths: nullable: true pull_requests: type: array - items: *388 + items: *394 nullable: true app: title: GitHub app @@ -55830,7 +55870,7 @@ paths: nullable: true properties: *103 required: *104 - repository: *153 + repository: *159 created_at: type: string format: date-time @@ -55839,12 +55879,12 @@ paths: type: string format: date-time nullable: true - head_commit: &725 + head_commit: &731 title: Simple Commit description: A commit. type: object - properties: *392 - required: *393 + properties: *398 + required: *399 latest_check_runs_count: type: integer check_runs_url: @@ -55872,7 +55912,7 @@ paths: - check_runs_url - pull_requests examples: - default: &395 + default: &401 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -56163,9 +56203,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *394 + schema: *400 examples: - default: *395 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56184,8 +56224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -56246,7 +56286,7 @@ paths: required: - app_id - setting - repository: *153 + repository: *159 examples: default: value: @@ -56494,9 +56534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *318 - - *319 - - &396 + - *324 + - *325 + - &402 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56508,9 +56548,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *400 examples: - default: *395 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56533,17 +56573,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: - - *318 - - *319 - - *396 - - &442 + - *324 + - *325 + - *402 + - &448 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &443 + - &449 name: status description: Returns check runs with the specified `status`. in: query @@ -56582,9 +56622,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *395 examples: - default: &444 + default: &450 value: total_count: 1 check_runs: @@ -56686,15 +56726,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *318 - - *319 - - *396 + - *324 + - *325 + - *402 responses: '201': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -56721,21 +56761,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: - - *318 - - *319 - - *176 - - *177 + - *324 + - *325 + - *182 + - *183 - *20 - *18 - - &408 + - &414 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: *397 - - &409 + schema: *403 + - &415 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56760,13 +56800,13 @@ paths: be returned. in: query required: false - schema: *178 + schema: *184 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *398 + schema: *404 responses: '200': description: Response @@ -56782,7 +56822,7 @@ paths: updated_at: *92 url: *89 html_url: *90 - instances_url: *399 + instances_url: *405 state: *81 fixed_at: *94 dismissed_by: @@ -56793,11 +56833,11 @@ paths: required: *5 nullable: true dismissed_at: *93 - dismissed_reason: *400 - dismissed_comment: *401 - rule: *402 - tool: *403 - most_recent_instance: *404 + dismissed_reason: *406 + dismissed_comment: *407 + rule: *408 + tool: *409 + most_recent_instance: *410 required: - number - created_at @@ -56913,7 +56953,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &405 + '403': &411 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -56940,9 +56980,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: - - *318 - - *319 - - &406 + - *324 + - *325 + - &412 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -56956,7 +56996,7 @@ paths: description: Response content: application/json: - schema: &407 + schema: &413 type: object properties: number: *85 @@ -56964,7 +57004,7 @@ paths: updated_at: *92 url: *89 html_url: *90 - instances_url: *399 + instances_url: *405 state: *81 fixed_at: *94 dismissed_by: @@ -56975,8 +57015,8 @@ paths: required: *5 nullable: true dismissed_at: *93 - dismissed_reason: *400 - dismissed_comment: *401 + dismissed_reason: *406 + dismissed_comment: *407 rule: type: object properties: @@ -57030,8 +57070,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *403 - most_recent_instance: *404 + tool: *409 + most_recent_instance: *410 required: - number - created_at @@ -57120,7 +57160,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57140,9 +57180,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 requestBody: required: true content: @@ -57157,8 +57197,8 @@ paths: enum: - open - dismissed - dismissed_reason: *400 - dismissed_comment: *401 + dismissed_reason: *406 + dismissed_comment: *407 required: - state examples: @@ -57173,7 +57213,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *413 examples: default: value: @@ -57248,7 +57288,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &414 + '403': &420 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -57275,13 +57315,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 - *20 - *18 - - *408 - - *409 + - *414 + - *415 responses: '200': description: Response @@ -57289,7 +57329,7 @@ paths: application/json: schema: type: array - items: *404 + items: *410 examples: default: value: @@ -57328,7 +57368,7 @@ paths: end_column: 50 classifications: - source - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57362,25 +57402,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: - - *318 - - *319 - - *176 - - *177 + - *324 + - *325 + - *182 + - *183 - *20 - *18 - - *409 + - *415 - 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: *397 + schema: *403 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &412 + schema: &418 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -57401,23 +57441,23 @@ paths: application/json: schema: type: array - items: &413 + items: &419 type: object properties: - ref: *397 - commit_sha: &422 + ref: *403 + commit_sha: &428 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: *410 + analysis_key: *416 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *411 + category: *417 error: type: string example: error reading field xyz @@ -57441,8 +57481,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *412 - tool: *403 + sarif_id: *418 + tool: *409 deletable: type: boolean warning: @@ -57503,7 +57543,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57539,8 +57579,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: - - *318 - - *319 + - *324 + - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57553,7 +57593,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *419 examples: response: summary: application/json response @@ -57607,7 +57647,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57689,8 +57729,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: - - *318 - - *319 + - *324 + - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57743,7 +57783,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': *15 - '403': *414 + '403': *420 '404': *7 '503': *96 x-github: @@ -57765,8 +57805,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -57774,7 +57814,7 @@ paths: application/json: schema: type: array - items: &415 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -57885,7 +57925,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': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57914,8 +57954,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: - - *318 - - *319 + - *324 + - *325 - name: language in: path description: The language of the CodeQL database. @@ -57927,7 +57967,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *421 examples: default: value: @@ -57959,9 +57999,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': &451 + '302': &457 description: Found - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57983,8 +58023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *318 - - *319 + - *324 + - *325 - name: language in: path description: The language of the CodeQL database. @@ -57994,7 +58034,7 @@ paths: responses: '204': description: Response - '403': *414 + '403': *420 '404': *7 '503': *96 x-github: @@ -58022,8 +58062,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -58032,7 +58072,7 @@ paths: type: object additionalProperties: false properties: - language: &416 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -58110,7 +58150,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &420 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -58120,7 +58160,7 @@ paths: description: The ID of the variant analysis. controller_repo: *95 actor: *19 - query_language: *416 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -58167,7 +58207,7 @@ paths: items: type: object properties: - repository: &417 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -58203,7 +58243,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &421 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -58235,7 +58275,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &418 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -58249,7 +58289,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: *417 + items: *423 required: - repository_count - repositories @@ -58271,8 +58311,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *418 - over_limit_repos: *418 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -58288,7 +58328,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &419 + value: &425 summary: Default response value: id: 1 @@ -58440,10 +58480,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *419 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *419 + value: *425 '404': *7 '422': description: Unable to process variant analysis submission @@ -58471,8 +58511,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: - - *318 - - *319 + - *324 + - *325 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -58484,9 +58524,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *426 examples: - default: *419 + default: *425 '404': *7 '503': *96 x-github: @@ -58509,7 +58549,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: - - *318 + - *324 - name: repo in: path description: The name of the controller repository. @@ -58544,7 +58584,7 @@ paths: type: object properties: repository: *95 - analysis_status: *421 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58669,8 +58709,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -58731,7 +58771,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -58752,8 +58792,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -58798,7 +58838,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -58823,7 +58863,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *414 + '403': *420 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -58888,8 +58928,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -58897,7 +58937,7 @@ paths: schema: type: object properties: - commit_sha: *422 + commit_sha: *428 ref: type: string description: |- @@ -58955,7 +58995,7 @@ paths: schema: type: object properties: - id: *412 + id: *418 url: type: string description: The REST API URL for checking the status of the upload. @@ -58969,7 +59009,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': *414 + '403': *420 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -58992,8 +59032,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: - - *318 - - *319 + - *324 + - *325 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -59039,7 +59079,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': *405 + '403': *411 '404': description: Not Found if the sarif id does not match any upload '503': *96 @@ -59064,8 +59104,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -59089,7 +59129,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *181 + configuration: *187 examples: default: value: @@ -59118,7 +59158,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': *184 + '204': *190 '304': *37 '403': *29 '404': *7 @@ -59143,8 +59183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *318 - - *319 + - *324 + - *325 - 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 @@ -59264,8 +59304,8 @@ paths: parameters: - *18 - *20 - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -59281,7 +59321,7 @@ paths: type: integer codespaces: type: array - items: *236 + items: *242 examples: default: value: @@ -59579,8 +59619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -59643,17 +59683,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '400': *15 '401': *25 '403': *29 @@ -59682,8 +59722,8 @@ paths: parameters: - *18 - *20 - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -59747,8 +59787,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: - - *318 - - *319 + - *324 + - *325 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -59783,14 +59823,14 @@ paths: type: integer machines: type: array - items: &655 + items: &661 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *424 - required: *425 + properties: *430 + required: *431 examples: - default: &656 + default: &662 value: total_count: 2 machines: @@ -59830,8 +59870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *318 - - *319 + - *324 + - *325 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59915,8 +59955,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: - - *318 - - *319 + - *324 + - *325 - 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 @@ -59982,8 +60022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -60001,7 +60041,7 @@ paths: type: integer secrets: type: array - items: &429 + items: &435 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -60021,7 +60061,7 @@ paths: - created_at - updated_at examples: - default: *426 + default: *432 headers: Link: *39 x-github: @@ -60044,16 +60084,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *427 + schema: *433 examples: - default: *428 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60073,17 +60113,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '200': description: Response content: application/json: - schema: *429 + schema: *435 examples: - default: *430 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60103,9 +60143,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: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 requestBody: required: true content: @@ -60133,7 +60173,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -60157,9 +60197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '204': description: Response @@ -60187,8 +60227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *318 - - *319 + - *324 + - *325 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -60230,7 +60270,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &431 + properties: &437 login: type: string example: octocat @@ -60323,7 +60363,7 @@ paths: user_view_type: type: string example: public - required: &432 + required: &438 - avatar_url - events_url - followers_url @@ -60397,9 +60437,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: - - *318 - - *319 - - *175 + - *324 + - *325 + - *181 responses: '204': description: Response if user is a collaborator @@ -60441,9 +60481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *318 - - *319 - - *175 + - *324 + - *325 + - *181 requestBody: required: false content: @@ -60469,7 +60509,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &499 + schema: &505 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60480,7 +60520,7 @@ paths: example: 42 type: integer format: int64 - repository: *153 + repository: *159 invitee: title: Simple User description: A GitHub user. @@ -60691,9 +60731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *318 - - *319 - - *175 + - *324 + - *325 + - *181 responses: '204': description: No Content when collaborator was removed from the repository. @@ -60722,9 +60762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *318 - - *319 - - *175 + - *324 + - *325 + - *181 responses: '200': description: if user has admin permissions @@ -60744,8 +60784,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *431 - required: *432 + properties: *437 + required: *438 nullable: true required: - permission @@ -60800,8 +60840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -60811,7 +60851,7 @@ paths: application/json: schema: type: array - items: &433 + items: &439 title: Commit Comment description: Commit Comment type: object @@ -60869,7 +60909,7 @@ paths: - created_at - updated_at examples: - default: &436 + default: &442 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60928,17 +60968,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 responses: '200': description: Response content: application/json: - schema: *433 + schema: *439 examples: - default: &437 + default: &443 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60995,8 +61035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -61019,7 +61059,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *439 examples: default: value: @@ -61070,8 +61110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 responses: '204': @@ -61093,8 +61133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -61121,9 +61161,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 @@ -61144,8 +61184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -61178,16 +61218,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Reaction created content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -61209,10 +61249,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *318 - - *319 + - *324 + - *325 - *117 - - *310 + - *316 responses: '204': description: Response @@ -61260,8 +61300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *318 - - *319 + - *324 + - *325 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -61317,9 +61357,9 @@ paths: application/json: schema: type: array - items: *434 + items: *440 examples: - default: &549 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61392,7 +61432,7 @@ paths: '500': *84 '400': *15 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61412,9 +61452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *318 - - *319 - - &435 + - *324 + - *325 + - &441 name: commit_sha description: The SHA of the commit. in: path @@ -61461,7 +61501,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61486,9 +61526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *318 - - *319 - - *435 + - *324 + - *325 + - *441 - *18 - *20 responses: @@ -61498,9 +61538,9 @@ paths: application/json: schema: type: array - items: *433 + items: *439 examples: - default: *436 + default: *442 headers: Link: *39 x-github: @@ -61528,9 +61568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *318 - - *319 - - *435 + - *324 + - *325 + - *441 requestBody: required: true content: @@ -61565,9 +61605,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *439 examples: - default: *437 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61595,9 +61635,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: - - *318 - - *319 - - *435 + - *324 + - *325 + - *441 - *18 - *20 responses: @@ -61607,7 +61647,7 @@ paths: application/json: schema: type: array - items: &540 + items: &546 title: Pull Request Simple description: Pull Request Simple type: object @@ -61713,8 +61753,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *444 + required: *445 nullable: true active_lock_reason: type: string @@ -61759,7 +61799,7 @@ paths: nullable: true requested_teams: type: array - items: *232 + items: *238 nullable: true head: type: object @@ -61810,7 +61850,7 @@ paths: _links: type: object properties: - comments: &440 + comments: &446 title: Link description: Hypermedia Link type: object @@ -61819,13 +61859,13 @@ paths: type: string required: - href - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + commits: *446 + statuses: *446 + html: *446 + issue: *446 + review_comments: *446 + review_comment: *446 + self: *446 required: - comments - commits @@ -61836,7 +61876,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: &542 + auto_merge: &548 title: Auto merge description: The status of auto merging a pull request. type: object @@ -61899,7 +61939,7 @@ paths: - author_association - auto_merge examples: - default: &541 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62379,7 +62419,7 @@ paths: draft: false headers: Link: *39 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62435,11 +62475,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *318 - - *319 + - *324 + - *325 - *20 - *18 - - &441 + - &447 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)" @@ -62454,9 +62494,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *440 examples: - default: &527 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62543,7 +62583,7 @@ paths: '404': *7 '500': *84 '503': *96 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62568,11 +62608,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: - - *318 - - *319 - - *441 - - *442 - - *443 + - *324 + - *325 + - *447 + - *448 + - *449 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -62606,9 +62646,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *395 examples: - default: *444 + default: *450 headers: Link: *39 x-github: @@ -62633,9 +62673,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: - - *318 - - *319 - - *441 + - *324 + - *325 + - *447 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62643,7 +62683,7 @@ paths: schema: type: integer example: 1 - - *442 + - *448 - *18 - *20 responses: @@ -62661,7 +62701,7 @@ paths: type: integer check_suites: type: array - items: *394 + items: *400 examples: default: value: @@ -62861,9 +62901,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: - - *318 - - *319 - - *441 + - *324 + - *325 + - *447 - *18 - *20 responses: @@ -62930,7 +62970,7 @@ paths: type: string total_count: type: integer - repository: *153 + repository: *159 commit_url: type: string format: uri @@ -63061,9 +63101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *318 - - *319 - - *441 + - *324 + - *325 + - *447 - *18 - *20 responses: @@ -63073,7 +63113,7 @@ paths: application/json: schema: type: array - items: &603 + items: &609 title: Status description: The status of a commit. type: object @@ -63154,7 +63194,7 @@ paths: site_admin: false headers: Link: *39 - '301': *332 + '301': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63182,8 +63222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -63212,20 +63252,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *445 - required: *446 + properties: *451 + required: *452 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &447 + properties: &453 url: type: string format: uri html_url: type: string format: uri - required: &448 + required: &454 - url - html_url nullable: true @@ -63239,26 +63279,26 @@ paths: contributing: title: Community Health File type: object - properties: *447 - required: *448 + properties: *453 + required: *454 nullable: true readme: title: Community Health File type: object - properties: *447 - required: *448 + properties: *453 + required: *454 nullable: true issue_template: title: Community Health File type: object - properties: *447 - required: *448 + properties: *453 + required: *454 nullable: true pull_request_template: title: Community Health File type: object - properties: *447 - required: *448 + properties: *453 + required: *454 nullable: true required: - code_of_conduct @@ -63384,8 +63424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *318 - - *319 + - *324 + - *325 - *20 - *18 - name: basehead @@ -63428,8 +63468,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *434 - merge_base_commit: *434 + base_commit: *440 + merge_base_commit: *440 status: type: string enum: @@ -63449,10 +63489,10 @@ paths: example: 6 commits: type: array - items: *434 + items: *440 files: type: array - items: *449 + items: *455 required: - url - html_url @@ -63735,8 +63775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *318 - - *319 + - *324 + - *325 - name: path description: path parameter in: path @@ -63877,7 +63917,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &450 + response-if-content-is-a-file: &456 summary: Response if content is a file value: type: file @@ -64009,7 +64049,7 @@ paths: - size - type - url - - &554 + - &560 title: Content File description: Content File type: object @@ -64210,7 +64250,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *450 + response-if-content-is-a-file: *456 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64279,7 +64319,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *451 + '302': *457 '304': *37 x-github: githubCloudOnly: false @@ -64302,8 +64342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *318 - - *319 + - *324 + - *325 - name: path description: path parameter in: path @@ -64396,7 +64436,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &458 title: File Commit description: File Commit type: object @@ -64544,7 +64584,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *458 examples: example-for-creating-a-file: value: @@ -64597,7 +64637,7 @@ paths: schema: oneOf: - *3 - - &481 + - &487 description: Repository rule violation was detected type: object properties: @@ -64618,7 +64658,7 @@ paths: items: type: object properties: - placeholder_id: &596 + placeholder_id: &602 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64650,8 +64690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *318 - - *319 + - *324 + - *325 - name: path description: path parameter in: path @@ -64712,7 +64752,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *458 examples: default: value: @@ -64745,7 +64785,7 @@ paths: payload: '422': *16 '404': *7 - '409': *140 + '409': *146 '503': *96 x-github: githubCloudOnly: false @@ -64766,8 +64806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *318 - - *319 + - *324 + - *325 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64890,20 +64930,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *318 - - *319 - - *194 - - *195 - - *196 - - *197 + - *324 + - *325 + - *200 + - *201 + - *202 + - *203 - 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 - - *198 - - *199 + - *204 + - *205 - *78 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -64923,8 +64963,8 @@ paths: default: 30 - *76 - *77 - - *200 - - *201 + - *206 + - *207 responses: '200': description: Response @@ -64932,7 +64972,7 @@ paths: application/json: schema: type: array - items: &455 + items: &461 type: object description: A Dependabot alert. properties: @@ -64965,7 +65005,7 @@ paths: enum: - development - runtime - security_advisory: *453 + security_advisory: *459 security_vulnerability: *88 url: *89 html_url: *90 @@ -64996,7 +65036,7 @@ paths: nullable: true maxLength: 280 fixed_at: *94 - auto_dismissed_at: *454 + auto_dismissed_at: *460 required: - number - state @@ -65223,9 +65263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *318 - - *319 - - &456 + - *324 + - *325 + - &462 name: alert_number in: path description: |- @@ -65240,7 +65280,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *461 examples: default: value: @@ -65350,9 +65390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *318 - - *319 - - *456 + - *324 + - *325 + - *462 requestBody: required: true content: @@ -65397,7 +65437,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *461 examples: default: value: @@ -65503,7 +65543,7 @@ paths: '400': *15 '403': *29 '404': *7 - '409': *140 + '409': *146 '422': *8 x-github: githubCloudOnly: false @@ -65526,8 +65566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -65545,7 +65585,7 @@ paths: type: integer secrets: type: array - items: &459 + items: &465 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -65598,16 +65638,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *457 + schema: *463 examples: - default: *458 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65627,15 +65667,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '200': description: Response content: application/json: - schema: *459 + schema: *465 examples: default: value: @@ -65661,9 +65701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 requestBody: required: true content: @@ -65691,7 +65731,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -65715,9 +65755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '204': description: Response @@ -65739,8 +65779,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: - - *318 - - *319 + - *324 + - *325 - 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 @@ -65900,8 +65940,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -66140,8 +66180,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -66216,7 +66256,7 @@ paths: - version - url additionalProperties: false - metadata: &460 + metadata: &466 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66249,7 +66289,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *460 + metadata: *466 resolved: type: object description: A collection of resolved package dependencies. @@ -66262,7 +66302,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *460 + metadata: *466 relationship: type: string description: A notation of whether a dependency is requested @@ -66391,8 +66431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *318 - - *319 + - *324 + - *325 - name: sha description: The SHA recorded at creation time. in: query @@ -66432,9 +66472,9 @@ paths: application/json: schema: type: array - items: *461 + items: *467 examples: - default: *462 + default: *468 headers: Link: *39 x-github: @@ -66500,8 +66540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -66582,7 +66622,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *467 examples: simple-example: summary: Simple example @@ -66655,9 +66695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *318 - - *319 - - &463 + - *324 + - *325 + - &469 name: deployment_id description: deployment_id parameter in: path @@ -66669,7 +66709,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *467 examples: default: value: @@ -66734,9 +66774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *318 - - *319 - - *463 + - *324 + - *325 + - *469 responses: '204': description: Response @@ -66758,9 +66798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *318 - - *319 - - *463 + - *324 + - *325 + - *469 - *18 - *20 responses: @@ -66770,7 +66810,7 @@ paths: application/json: schema: type: array - items: &464 + items: &470 title: Deployment Status description: The status of a deployment. type: object @@ -66931,9 +66971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *318 - - *319 - - *463 + - *324 + - *325 + - *469 requestBody: required: true content: @@ -67008,9 +67048,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *470 examples: - default: &465 + default: &471 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67066,9 +67106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *318 - - *319 - - *463 + - *324 + - *325 + - *469 - name: status_id in: path required: true @@ -67079,9 +67119,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *470 examples: - default: *465 + default: *471 '404': *7 x-github: githubCloudOnly: false @@ -67106,8 +67146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -67164,8 +67204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -67182,7 +67222,7 @@ paths: type: integer environments: type: array - items: &467 + items: &473 title: Environment description: Details of a deployment environment type: object @@ -67234,7 +67274,7 @@ paths: type: type: string example: wait_timer - wait_timer: &469 + wait_timer: &475 type: integer example: 30 description: The amount of time to delay a job after @@ -67271,11 +67311,11 @@ paths: items: type: object properties: - type: *466 + type: *472 reviewer: anyOf: - *19 - - *232 + - *238 required: - id - node_id @@ -67295,7 +67335,7 @@ paths: - id - node_id - type - deployment_branch_policy: &470 + deployment_branch_policy: &476 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -67411,9 +67451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *318 - - *319 - - &468 + - *324 + - *325 + - &474 name: environment_name in: path required: true @@ -67426,9 +67466,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *473 examples: - default: &471 + default: &477 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -67512,9 +67552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 requestBody: required: false content: @@ -67523,7 +67563,7 @@ paths: type: object nullable: true properties: - wait_timer: *469 + wait_timer: *475 prevent_self_review: type: boolean example: false @@ -67540,13 +67580,13 @@ paths: items: type: object properties: - type: *466 + type: *472 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *470 + deployment_branch_policy: *476 additionalProperties: false examples: default: @@ -67566,9 +67606,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *473 examples: - default: *471 + default: *477 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -67592,9 +67632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 responses: '204': description: Default response @@ -67619,9 +67659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 - *18 - *20 responses: @@ -67639,7 +67679,7 @@ paths: example: 2 branch_policies: type: array - items: &472 + items: &478 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67696,9 +67736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 requestBody: required: true content: @@ -67744,9 +67784,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *478 examples: - example-wildcard: &473 + example-wildcard: &479 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67788,10 +67828,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *318 - - *319 - - *468 - - &474 + - *324 + - *325 + - *474 + - &480 name: branch_policy_id in: path required: true @@ -67803,9 +67843,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *478 examples: - default: *473 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67824,10 +67864,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *318 - - *319 - - *468 + - *324 + - *325 - *474 + - *480 requestBody: required: true content: @@ -67855,9 +67895,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *478 examples: - default: *473 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67876,10 +67916,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *318 - - *319 - - *468 + - *324 + - *325 - *474 + - *480 responses: '204': description: Response @@ -67904,9 +67944,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: - - *468 - - *319 - - *318 + - *474 + - *325 + - *324 responses: '200': description: List of deployment protection rules @@ -67922,7 +67962,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &475 + items: &481 title: Deployment protection rule description: Deployment protection rule type: object @@ -67941,7 +67981,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &476 + app: &482 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -68040,9 +68080,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: - - *468 - - *319 - - *318 + - *474 + - *325 + - *324 requestBody: content: application/json: @@ -68063,9 +68103,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *475 + schema: *481 examples: - default: &477 + default: &483 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -68100,9 +68140,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: - - *468 - - *319 - - *318 + - *474 + - *325 + - *324 - *20 - *18 responses: @@ -68121,7 +68161,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *476 + items: *482 examples: default: value: @@ -68156,10 +68196,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: - - *318 - - *319 - - *468 - - &478 + - *324 + - *325 + - *474 + - &484 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -68171,9 +68211,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *481 examples: - default: *477 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68194,10 +68234,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: - - *468 - - *319 - - *318 - - *478 + - *474 + - *325 + - *324 + - *484 responses: '204': description: Response @@ -68223,9 +68263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 - *18 - *20 responses: @@ -68243,9 +68283,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *361 examples: - default: *356 + default: *362 headers: Link: *39 x-github: @@ -68270,17 +68310,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 responses: '200': description: Response content: application/json: - schema: *357 + schema: *363 examples: - default: *358 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68302,18 +68342,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *318 - - *319 - - *468 - - *163 + - *324 + - *325 + - *474 + - *169 responses: '200': description: Response content: application/json: - schema: *355 + schema: *361 examples: - default: *479 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68335,10 +68375,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *318 - - *319 - - *468 - - *163 + - *324 + - *325 + - *474 + - *169 requestBody: required: true content: @@ -68369,7 +68409,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -68395,10 +68435,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *318 - - *319 - - *468 - - *163 + - *324 + - *325 + - *474 + - *169 responses: '204': description: Default response @@ -68423,10 +68463,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *318 - - *319 - - *468 - - *342 + - *324 + - *325 + - *474 + - *348 - *20 responses: '200': @@ -68443,9 +68483,9 @@ paths: type: integer variables: type: array - items: *359 + items: *365 examples: - default: *360 + default: *366 headers: Link: *39 x-github: @@ -68468,9 +68508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 requestBody: required: true content: @@ -68497,7 +68537,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -68522,18 +68562,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *318 - - *319 - - *468 - - *166 + - *324 + - *325 + - *474 + - *172 responses: '200': description: Response content: application/json: - schema: *359 + schema: *365 examples: - default: *480 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68554,10 +68594,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *318 - - *319 - - *166 - - *468 + - *324 + - *325 + - *172 + - *474 requestBody: required: true content: @@ -68599,10 +68639,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *318 - - *319 - - *166 - - *468 + - *324 + - *325 + - *172 + - *474 responses: '204': description: Response @@ -68624,8 +68664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -68702,8 +68742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *318 - - *319 + - *324 + - *325 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68725,7 +68765,7 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: default: value: @@ -68862,8 +68902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -68895,9 +68935,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 + default: *339 '400': *15 '422': *16 '403': *29 @@ -68918,8 +68958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -68970,7 +69010,7 @@ paths: schema: type: string '404': *7 - '409': *140 + '409': *146 '403': *29 '422': description: Validation failed @@ -68978,8 +69018,8 @@ paths: application/json: schema: oneOf: - - *138 - - *481 + - *144 + - *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69004,8 +69044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *318 - - *319 + - *324 + - *325 - name: file_sha in: path required: true @@ -69056,7 +69096,7 @@ paths: '404': *7 '422': *16 '403': *29 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69103,8 +69143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -69213,7 +69253,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &488 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69372,7 +69412,7 @@ paths: type: string '422': *16 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69421,15 +69461,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *318 - - *319 - - *435 + - *324 + - *325 + - *441 responses: '200': description: Response content: application/json: - schema: *482 + schema: *488 examples: default: value: @@ -69459,7 +69499,7 @@ paths: signature: payload: '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69484,9 +69524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *318 - - *319 - - &483 + - *324 + - *325 + - &489 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. @@ -69503,7 +69543,7 @@ paths: application/json: schema: type: array - items: &484 + items: &490 title: Git Reference description: Git references within a repository type: object @@ -69557,7 +69597,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *39 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69578,17 +69618,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *318 - - *319 - - *483 + - *324 + - *325 + - *489 responses: '200': description: Response content: application/json: - schema: *484 + schema: *490 examples: - default: &485 + default: &491 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69598,7 +69638,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69617,8 +69657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -69647,16 +69687,16 @@ paths: description: Response content: application/json: - schema: *484 + schema: *490 examples: - default: *485 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69675,9 +69715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *318 - - *319 - - *483 + - *324 + - *325 + - *489 requestBody: required: true content: @@ -69706,11 +69746,11 @@ paths: description: Response content: application/json: - schema: *484 + schema: *490 examples: - default: *485 + default: *491 '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69726,14 +69766,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *318 - - *319 - - *483 + - *324 + - *325 + - *489 responses: '204': description: Response '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69780,8 +69820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -69848,7 +69888,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &493 title: Git Tag description: Metadata for a Git tag type: object @@ -69899,7 +69939,7 @@ paths: - sha - type - url - verification: *486 + verification: *492 required: - sha - url @@ -69909,7 +69949,7 @@ paths: - tag - message examples: - default: &488 + default: &494 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69935,7 +69975,7 @@ paths: schema: type: string '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69980,8 +70020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *318 - - *319 + - *324 + - *325 - name: tag_sha in: path required: true @@ -69992,11 +70032,11 @@ paths: description: Response content: application/json: - schema: *487 + schema: *493 examples: - default: *488 + default: *494 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70018,8 +70058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -70092,7 +70132,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &495 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -70181,7 +70221,7 @@ paths: '422': *16 '404': *7 '403': *29 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70204,8 +70244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *318 - - *319 + - *324 + - *325 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -70228,7 +70268,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *495 examples: default-response: summary: Default response @@ -70269,7 +70309,7 @@ paths: truncated: false '422': *16 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70287,8 +70327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -70298,7 +70338,7 @@ paths: application/json: schema: type: array - items: &490 + items: &496 title: Webhook description: Webhooks for repositories. type: object @@ -70352,7 +70392,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &733 + last_response: &739 title: Hook Response type: object properties: @@ -70426,8 +70466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -70479,9 +70519,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: - default: &491 + default: &497 value: type: Repository id: 12345678 @@ -70529,17 +70569,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '200': description: Response content: application/json: - schema: *490 + schema: *496 examples: - default: *491 + default: *497 '404': *7 x-github: githubCloudOnly: false @@ -70559,9 +70599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 requestBody: required: true content: @@ -70606,9 +70646,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: - default: *491 + default: *497 '422': *16 '404': *7 x-github: @@ -70626,9 +70666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '204': description: Response @@ -70652,9 +70692,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: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '200': description: Response @@ -70681,9 +70721,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: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 requestBody: required: false content: @@ -70727,11 +70767,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 - *18 - - *210 + - *216 responses: '200': description: Response @@ -70739,9 +70779,9 @@ paths: application/json: schema: type: array - items: *211 + items: *217 examples: - default: *212 + default: *218 '400': *15 '422': *16 x-github: @@ -70760,18 +70800,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: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 - *17 responses: '200': description: Response content: application/json: - schema: *213 + schema: *219 examples: - default: *214 + default: *220 '400': *15 '422': *16 x-github: @@ -70790,12 +70830,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: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 - *17 responses: - '202': *141 + '202': *147 '400': *15 '422': *16 x-github: @@ -70815,9 +70855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '204': description: Response @@ -70842,9 +70882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '204': description: Response @@ -70902,14 +70942,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &492 + schema: &498 title: Import description: A repository import from an external source. type: object @@ -71008,7 +71048,7 @@ paths: - html_url - authors_url examples: - default: &495 + default: &501 value: vcs: subversion use_lfs: true @@ -71024,7 +71064,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &493 + '503': &499 description: Unavailable due to service under maintenance. content: application/json: @@ -71053,8 +71093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -71102,7 +71142,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *498 examples: default: value: @@ -71127,7 +71167,7 @@ paths: type: string '422': *16 '404': *7 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71155,8 +71195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -71205,7 +71245,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *498 examples: example-1: summary: Example 1 @@ -71253,7 +71293,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': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71276,12 +71316,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71307,9 +71347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *318 - - *319 - - &679 + - *324 + - *325 + - &685 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71323,7 +71363,7 @@ paths: application/json: schema: type: array - items: &494 + items: &500 title: Porter Author description: Porter Author type: object @@ -71377,7 +71417,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71402,8 +71442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *318 - - *319 + - *324 + - *325 - name: author_id in: path required: true @@ -71433,7 +71473,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *500 examples: default: value: @@ -71446,7 +71486,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71470,8 +71510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -71512,7 +71552,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71540,8 +71580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -71568,11 +71608,11 @@ paths: description: Response content: application/json: - schema: *492 + schema: *498 examples: - default: *495 + default: *501 '422': *16 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71595,8 +71635,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -71604,8 +71644,8 @@ paths: application/json: schema: *22 examples: - default: *496 - '301': *332 + default: *502 + '301': *338 '404': *7 x-github: githubCloudOnly: false @@ -71625,8 +71665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -71634,12 +71674,12 @@ paths: application/json: schema: anyOf: - - *227 + - *233 - type: object properties: {} additionalProperties: false examples: - default: &498 + default: &504 value: limit: collaborators_only origin: repository @@ -71664,13 +71704,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: application/json: - schema: *497 + schema: *503 examples: default: summary: Example request body @@ -71682,9 +71722,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *498 + default: *504 '409': description: Response x-github: @@ -71706,8 +71746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -71730,8 +71770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -71741,9 +71781,9 @@ paths: application/json: schema: type: array - items: *499 + items: *505 examples: - default: &672 + default: &678 value: - id: 1 repository: @@ -71874,9 +71914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *318 - - *319 - - *231 + - *324 + - *325 + - *237 requestBody: required: false content: @@ -71905,7 +71945,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *505 examples: default: value: @@ -72036,9 +72076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *318 - - *319 - - *231 + - *324 + - *325 + - *237 responses: '204': description: Response @@ -72069,8 +72109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *318 - - *319 + - *324 + - *325 - 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 @@ -72110,7 +72150,7 @@ paths: required: false schema: type: string - - *233 + - *239 - name: sort description: What to sort results by. in: query @@ -72283,7 +72323,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *332 + '301': *338 '422': *16 '404': *7 x-github: @@ -72312,8 +72352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -72390,7 +72430,7 @@ paths: application/json: schema: *118 examples: - default: &505 + default: &511 value: id: 1 node_id: MDU6SXNzdWUx @@ -72546,7 +72586,7 @@ paths: '422': *16 '503': *96 '404': *7 - '410': *329 + '410': *335 x-github: triggersNotification: true githubCloudOnly: false @@ -72574,8 +72614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *128 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -72596,9 +72636,9 @@ paths: application/json: schema: type: array - items: *500 + items: *506 examples: - default: &507 + default: &513 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72656,17 +72696,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 responses: '200': description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: &501 + default: &507 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72720,8 +72760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -72744,9 +72784,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: *501 + default: *507 '422': *16 x-github: githubCloudOnly: false @@ -72764,8 +72804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 responses: '204': @@ -72786,8 +72826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -72814,9 +72854,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 @@ -72837,8 +72877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -72871,16 +72911,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Reaction created content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -72902,10 +72942,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *318 - - *319 + - *324 + - *325 - *117 - - *310 + - *316 responses: '204': description: Response @@ -72925,8 +72965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -72936,7 +72976,7 @@ paths: application/json: schema: type: array - items: &504 + items: &510 title: Issue Event description: Issue Event type: object @@ -72979,8 +73019,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *502 - required: *503 + properties: *508 + required: *509 nullable: true label: title: Issue Event Label @@ -73024,7 +73064,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *232 + requested_team: *238 dismissed_review: title: Issue Event Dismissed Review type: object @@ -73287,8 +73327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *318 - - *319 + - *324 + - *325 - name: event_id in: path required: true @@ -73299,7 +73339,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *510 examples: default: value: @@ -73492,7 +73532,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *329 + '410': *335 '403': *29 x-github: githubCloudOnly: false @@ -73526,9 +73566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *318 - - *319 - - &506 + - *324 + - *325 + - &512 name: issue_number description: The number that identifies the issue. in: path @@ -73542,10 +73582,10 @@ paths: application/json: schema: *118 examples: - default: *505 - '301': *332 + default: *511 + '301': *338 '404': *7 - '410': *329 + '410': *335 '304': *37 x-github: githubCloudOnly: false @@ -73570,9 +73610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -73669,13 +73709,13 @@ paths: application/json: schema: *118 examples: - default: *505 + default: *511 '422': *16 '503': *96 '403': *29 - '301': *332 + '301': *338 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73693,9 +73733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -73723,7 +73763,7 @@ paths: application/json: schema: *118 examples: - default: *505 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73739,9 +73779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: content: application/json: @@ -73768,7 +73808,7 @@ paths: application/json: schema: *118 examples: - default: *505 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73790,9 +73830,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: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - name: assignee in: path required: true @@ -73832,9 +73872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - *108 - *18 - *20 @@ -73845,13 +73885,13 @@ paths: application/json: schema: type: array - items: *500 + items: *506 examples: - default: *507 + default: *513 headers: Link: *39 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73880,9 +73920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: true content: @@ -73904,16 +73944,16 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: *501 + default: *507 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *329 + '410': *335 '422': *16 '404': *7 x-github: @@ -73933,9 +73973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - *18 - *20 responses: @@ -73949,7 +73989,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &510 + - &516 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74003,7 +74043,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &517 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74139,7 +74179,7 @@ paths: - performed_via_github_app - assignee - assigner - - &512 + - &518 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74190,7 +74230,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &519 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74241,7 +74281,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &520 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74295,7 +74335,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &521 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74329,7 +74369,7 @@ paths: properties: *103 required: *104 review_requester: *19 - requested_team: *232 + requested_team: *238 requested_reviewer: *19 required: - review_requester @@ -74342,7 +74382,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &522 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74376,7 +74416,7 @@ paths: properties: *103 required: *104 review_requester: *19 - requested_team: *232 + requested_team: *238 requested_reviewer: *19 required: - review_requester @@ -74389,7 +74429,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &523 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74449,7 +74489,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &524 title: Locked Issue Event description: Locked Issue Event type: object @@ -74497,7 +74537,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &525 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74563,7 +74603,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &526 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74629,7 +74669,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &527 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74695,7 +74735,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &528 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74786,7 +74826,7 @@ paths: color: red headers: Link: *39 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74803,9 +74843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - *18 - *20 responses: @@ -74815,7 +74855,7 @@ paths: application/json: schema: type: array - items: &508 + items: &514 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74862,7 +74902,7 @@ paths: - color - default examples: - default: &509 + default: &515 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74880,9 +74920,9 @@ paths: default: false headers: Link: *39 - '301': *332 + '301': *338 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74899,9 +74939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -74960,12 +75000,12 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: - default: *509 - '301': *332 + default: *515 + '301': *338 '404': *7 - '410': *329 + '410': *335 '422': *16 x-github: githubCloudOnly: false @@ -74982,9 +75022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -75044,12 +75084,12 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: - default: *509 - '301': *332 + default: *515 + '301': *338 '404': *7 - '410': *329 + '410': *335 '422': *16 x-github: githubCloudOnly: false @@ -75066,15 +75106,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 responses: '204': description: Response - '301': *332 + '301': *338 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75093,9 +75133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - name: name in: path required: true @@ -75108,7 +75148,7 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: default: value: @@ -75119,9 +75159,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *332 + '301': *338 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75141,9 +75181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -75171,7 +75211,7 @@ paths: '204': description: Response '403': *29 - '410': *329 + '410': *335 '404': *7 '422': *16 x-github: @@ -75189,9 +75229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 responses: '204': description: Response @@ -75213,9 +75253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - 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. @@ -75241,13 +75281,13 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75265,9 +75305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: true content: @@ -75299,16 +75339,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -75330,10 +75370,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *318 - - *319 - - *506 - - *310 + - *324 + - *325 + - *512 + - *316 responses: '204': description: Response @@ -75353,9 +75393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - *18 - *20 responses: @@ -75370,12 +75410,6 @@ paths: description: Timeline Event type: object anyOf: - - *510 - - *511 - - *512 - - *513 - - *514 - - *515 - *516 - *517 - *518 @@ -75383,6 +75417,12 @@ paths: - *520 - *521 - *522 + - *523 + - *524 + - *525 + - *526 + - *527 + - *528 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75683,7 +75723,7 @@ paths: type: string comments: type: array - items: &543 + items: &549 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -75892,7 +75932,7 @@ paths: type: string comments: type: array - items: *433 + items: *439 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76181,7 +76221,7 @@ paths: headers: Link: *39 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76198,8 +76238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -76209,7 +76249,7 @@ paths: application/json: schema: type: array - items: &523 + items: &529 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76274,8 +76314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -76311,9 +76351,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: &524 + default: &530 value: id: 1 key: ssh-rsa AAA... @@ -76347,9 +76387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *318 - - *319 - - &525 + - *324 + - *325 + - &531 name: key_id description: The unique identifier of the key. in: path @@ -76361,9 +76401,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '404': *7 x-github: githubCloudOnly: false @@ -76381,9 +76421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *318 - - *319 - - *525 + - *324 + - *325 + - *531 responses: '204': description: Response @@ -76403,8 +76443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -76414,9 +76454,9 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: - default: *509 + default: *515 headers: Link: *39 '404': *7 @@ -76437,8 +76477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -76474,9 +76514,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: &526 + default: &532 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76508,8 +76548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *318 - - *319 + - *324 + - *325 - name: name in: path required: true @@ -76520,9 +76560,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: *526 + default: *532 '404': *7 x-github: githubCloudOnly: false @@ -76539,8 +76579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *318 - - *319 + - *324 + - *325 - name: name in: path required: true @@ -76579,7 +76619,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: default: value: @@ -76605,8 +76645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *318 - - *319 + - *324 + - *325 - name: name in: path required: true @@ -76632,8 +76672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -76669,10 +76709,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: - '202': *141 + '202': *147 '403': description: |- We will return a 403 with one of the following messages: @@ -76698,8 +76738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -76725,9 +76765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *318 - - *319 - - *408 + - *324 + - *325 + - *414 responses: '200': description: Response @@ -76872,8 +76912,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -76938,8 +76978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -76973,9 +77013,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *434 + schema: *440 examples: - default: *527 + default: *533 '204': description: Response when already merged '404': @@ -77000,8 +77040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *318 - - *319 + - *324 + - *325 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -77042,12 +77082,12 @@ paths: application/json: schema: type: array - items: &528 + items: &534 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *444 + required: *445 examples: default: value: @@ -77103,8 +77143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -77144,9 +77184,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: &529 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77205,9 +77245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *318 - - *319 - - &530 + - *324 + - *325 + - &536 name: milestone_number description: The number that identifies the milestone. in: path @@ -77219,9 +77259,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *529 + default: *535 '404': *7 x-github: githubCloudOnly: false @@ -77238,9 +77278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *318 - - *319 - - *530 + - *324 + - *325 + - *536 requestBody: required: false content: @@ -77278,9 +77318,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *529 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77296,9 +77336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *318 - - *319 - - *530 + - *324 + - *325 + - *536 responses: '204': description: Response @@ -77319,9 +77359,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: - - *318 - - *319 - - *530 + - *324 + - *325 + - *536 - *18 - *20 responses: @@ -77331,9 +77371,9 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: - default: *509 + default: *515 headers: Link: *39 x-github: @@ -77352,12 +77392,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: - - *318 - - *319 - - *531 - - *532 + - *324 + - *325 + - *537 + - *538 - *108 - - *533 + - *539 - *18 - *20 responses: @@ -77369,7 +77409,7 @@ paths: type: array items: *131 examples: - default: *534 + default: *540 headers: Link: *39 x-github: @@ -77393,8 +77433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -77452,14 +77492,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &535 + schema: &541 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77584,7 +77624,7 @@ paths: - custom_404 - public examples: - default: &536 + default: &542 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77625,8 +77665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -77680,11 +77720,11 @@ paths: description: Response content: application/json: - schema: *535 + schema: *541 examples: - default: *536 + default: *542 '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77705,8 +77745,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -77792,7 +77832,7 @@ paths: description: Response '422': *16 '400': *15 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77813,14 +77853,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response '422': *16 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77840,8 +77880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -77851,7 +77891,7 @@ paths: application/json: schema: type: array - items: &537 + items: &543 title: Page Build description: Page Build type: object @@ -77945,8 +77985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *318 - - *319 + - *324 + - *325 responses: '201': description: Response @@ -77991,16 +78031,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: &538 + default: &544 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78048,8 +78088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *318 - - *319 + - *324 + - *325 - name: build_id in: path required: true @@ -78060,9 +78100,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: *538 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78082,8 +78122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -78189,9 +78229,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: - - *318 - - *319 - - &539 + - *324 + - *325 + - &545 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78249,11 +78289,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *318 - - *319 - - *539 + - *324 + - *325 + - *545 responses: - '204': *184 + '204': *190 '404': *7 x-github: githubCloudOnly: false @@ -78278,8 +78318,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -78510,7 +78550,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -78537,8 +78577,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Private vulnerability reporting status @@ -78575,10 +78615,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: - - *318 - - *319 + - *324 + - *325 responses: - '204': *184 + '204': *190 '422': *15 x-github: githubCloudOnly: false @@ -78597,10 +78637,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: - - *318 - - *319 + - *324 + - *325 responses: - '204': *184 + '204': *190 '422': *15 x-github: githubCloudOnly: false @@ -78621,8 +78661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *318 - - *319 + - *324 + - *325 - name: state description: Indicates the state of the projects to return. in: query @@ -78643,7 +78683,7 @@ paths: application/json: schema: type: array - items: *261 + items: *267 examples: default: value: @@ -78683,7 +78723,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *329 + '410': *335 '422': *8 x-github: githubCloudOnly: false @@ -78703,8 +78743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -78730,13 +78770,13 @@ paths: description: Response content: application/json: - schema: *261 + schema: *267 examples: - default: *328 + default: *334 '401': *25 '403': *29 '404': *7 - '410': *329 + '410': *335 '422': *8 x-github: githubCloudOnly: false @@ -78756,8 +78796,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -78765,7 +78805,7 @@ paths: application/json: schema: type: array - items: *266 + items: *272 examples: default: value: @@ -78796,8 +78836,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -78809,7 +78849,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *266 + items: *272 required: - properties examples: @@ -78859,8 +78899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *318 - - *319 + - *324 + - *325 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78920,9 +78960,9 @@ paths: application/json: schema: type: array - items: *540 + items: *546 examples: - default: *541 + default: *547 headers: Link: *39 '304': *37 @@ -78954,8 +78994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -79020,7 +79060,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &551 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79131,8 +79171,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *444 + required: *445 nullable: true active_lock_reason: type: string @@ -79177,7 +79217,7 @@ paths: nullable: true requested_teams: type: array - items: *290 + items: *296 nullable: true head: type: object @@ -79216,14 +79256,14 @@ paths: _links: type: object properties: - comments: *440 - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + comments: *446 + commits: *446 + statuses: *446 + html: *446 + issue: *446 + review_comments: *446 + review_comment: *446 + self: *446 required: - comments - commits @@ -79234,7 +79274,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: *542 + auto_merge: *548 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -79326,7 +79366,7 @@ paths: - merged_by - review_comments examples: - default: &546 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79853,8 +79893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - name: sort in: query required: false @@ -79883,9 +79923,9 @@ paths: application/json: schema: type: array - items: *543 + items: *549 examples: - default: &548 + default: &554 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79962,17 +80002,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: - - *318 - - *319 + - *324 + - *325 - *117 responses: '200': description: Response content: application/json: - schema: *543 + schema: *549 examples: - default: &544 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80047,8 +80087,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: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -80071,9 +80111,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80089,8 +80129,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: - - *318 - - *319 + - *324 + - *325 - *117 responses: '204': @@ -80112,8 +80152,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: - - *318 - - *319 + - *324 + - *325 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80140,9 +80180,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 @@ -80163,8 +80203,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: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -80197,16 +80237,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Reaction created content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -80228,10 +80268,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *318 - - *319 + - *324 + - *325 - *117 - - *310 + - *316 responses: '204': description: Response @@ -80274,9 +80314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *318 - - *319 - - &547 + - *324 + - *325 + - &553 name: pull_number description: The number that identifies the pull request. in: path @@ -80289,9 +80329,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *545 + schema: *551 examples: - default: *546 + default: *552 '304': *37 '404': *7 '406': @@ -80326,9 +80366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -80370,9 +80410,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *551 examples: - default: *546 + default: *552 '422': *16 '403': *29 x-github: @@ -80394,9 +80434,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: true content: @@ -80456,17 +80496,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '401': *25 '403': *29 '404': *7 @@ -80496,9 +80536,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *128 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -80519,9 +80559,9 @@ paths: application/json: schema: type: array - items: *543 + items: *549 examples: - default: *548 + default: *554 headers: Link: *39 x-github: @@ -80554,9 +80594,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: true content: @@ -80661,7 +80701,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: example-for-a-multi-line-comment: value: @@ -80749,9 +80789,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *117 requestBody: required: true @@ -80774,7 +80814,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: default: value: @@ -80860,9 +80900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *18 - *20 responses: @@ -80872,9 +80912,9 @@ paths: application/json: schema: type: array - items: *434 + items: *440 examples: - default: *549 + default: *555 headers: Link: *39 x-github: @@ -80904,9 +80944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *18 - *20 responses: @@ -80916,7 +80956,7 @@ paths: application/json: schema: type: array - items: *449 + items: *455 examples: default: value: @@ -80954,9 +80994,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 responses: '204': description: Response if pull request has been merged @@ -80979,9 +81019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -81092,9 +81132,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 responses: '200': description: Response @@ -81110,7 +81150,7 @@ paths: items: *19 teams: type: array - items: *232 + items: *238 required: - users - teams @@ -81169,9 +81209,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -81208,7 +81248,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: default: value: @@ -81744,9 +81784,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: true content: @@ -81780,7 +81820,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: default: value: @@ -82285,9 +82325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *18 - *20 responses: @@ -82297,7 +82337,7 @@ paths: application/json: schema: type: array - items: &550 + items: &556 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82448,9 +82488,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -82536,9 +82576,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: &552 + default: &558 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82601,10 +82641,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: - - *318 - - *319 - - *547 - - &551 + - *324 + - *325 + - *553 + - &557 name: review_id description: The unique identifier of the review. in: path @@ -82616,9 +82656,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: &553 + default: &559 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82677,10 +82717,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 requestBody: required: true content: @@ -82703,7 +82743,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: default: value: @@ -82765,18 +82805,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 responses: '200': description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: *552 + default: *558 '422': *8 '404': *7 x-github: @@ -82803,10 +82843,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 - *18 - *20 responses: @@ -82889,9 +82929,9 @@ paths: _links: type: object properties: - self: *440 - html: *440 - pull_request: *440 + self: *446 + html: *446 + pull_request: *446 required: - self - html @@ -83034,10 +83074,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 requestBody: required: true content: @@ -83065,7 +83105,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: default: value: @@ -83128,10 +83168,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 requestBody: required: true content: @@ -83166,9 +83206,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: *553 + default: *559 '404': *7 '422': *8 '403': *29 @@ -83190,9 +83230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -83255,8 +83295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *318 - - *319 + - *324 + - *325 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83269,9 +83309,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *560 examples: - default: &555 + default: &561 value: type: file encoding: base64 @@ -83313,8 +83353,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: - - *318 - - *319 + - *324 + - *325 - name: dir description: The alternate path to look for a README file in: path @@ -83334,9 +83374,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *560 examples: - default: *555 + default: *561 '404': *7 '422': *16 x-github: @@ -83358,8 +83398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -83369,7 +83409,7 @@ paths: application/json: schema: type: array - items: &556 + items: &562 title: Release description: A release. type: object @@ -83432,7 +83472,7 @@ paths: author: *19 assets: type: array - items: &557 + items: &563 title: Release Asset description: Data related to a release. type: object @@ -83613,8 +83653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -83690,9 +83730,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: &560 + default: &566 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83795,9 +83835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *318 - - *319 - - &558 + - *324 + - *325 + - &564 name: asset_id description: The unique identifier of the asset. in: path @@ -83809,9 +83849,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *563 examples: - default: &559 + default: &565 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 @@ -83845,7 +83885,7 @@ paths: type: User site_admin: false '404': *7 - '302': *451 + '302': *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83861,9 +83901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *318 - - *319 - - *558 + - *324 + - *325 + - *564 requestBody: required: false content: @@ -83891,9 +83931,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *563 examples: - default: *559 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83909,9 +83949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *318 - - *319 - - *558 + - *324 + - *325 + - *564 responses: '204': description: Response @@ -83935,8 +83975,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -84021,16 +84061,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: *560 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84047,8 +84087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *318 - - *319 + - *324 + - *325 - name: tag description: tag parameter in: path @@ -84061,9 +84101,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: *560 + default: *566 '404': *7 x-github: githubCloudOnly: false @@ -84085,9 +84125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *318 - - *319 - - &561 + - *324 + - *325 + - &567 name: release_id description: The unique identifier of the release. in: path @@ -84101,9 +84141,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: *556 + schema: *562 examples: - default: *560 + default: *566 '401': description: Unauthorized x-github: @@ -84121,9 +84161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 requestBody: required: false content: @@ -84187,9 +84227,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: *560 + default: *566 '404': description: Not Found if the discussion category name is invalid content: @@ -84210,9 +84250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 responses: '204': description: Response @@ -84232,9 +84272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 - *18 - *20 responses: @@ -84244,7 +84284,7 @@ paths: application/json: schema: type: array - items: *557 + items: *563 examples: default: value: @@ -84325,9 +84365,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: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 - name: name in: query required: true @@ -84353,7 +84393,7 @@ paths: description: Response for successful upload content: application/json: - schema: *557 + schema: *563 examples: response-for-successful-upload: value: @@ -84407,9 +84447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 - 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. @@ -84433,9 +84473,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 @@ -84456,9 +84496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 requestBody: required: true content: @@ -84488,16 +84528,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Reaction created content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -84519,10 +84559,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *318 - - *319 - - *561 - - *310 + - *324 + - *325 + - *567 + - *316 responses: '204': description: Response @@ -84546,9 +84586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 - *18 - *20 responses: @@ -84564,8 +84604,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *562 - - &564 + - *568 + - &570 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84584,54 +84624,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *563 - - *564 - - allOf: - - *565 - - *564 - - allOf: - - *566 - - *564 - - allOf: - - *567 - - *564 - - allOf: - - *568 - - *564 - allOf: - *569 - - *564 - - allOf: - *570 - - *564 - allOf: - *571 - - *564 + - *570 - allOf: - *572 - - *564 + - *570 - allOf: - *573 - - *564 + - *570 - allOf: - *574 - - *564 + - *570 - allOf: - *575 - - *564 + - *570 - allOf: - *576 - - *564 + - *570 - allOf: - *577 - - *564 + - *570 - allOf: - *578 - - *564 + - *570 - allOf: - *579 - - *564 + - *570 + - allOf: + - *580 + - *570 + - allOf: + - *581 + - *570 + - allOf: + - *582 + - *570 + - allOf: + - *583 + - *570 + - allOf: + - *584 + - *570 + - allOf: + - *585 + - *570 examples: default: value: @@ -84670,8 +84710,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 - name: includes_parents @@ -84682,7 +84722,7 @@ paths: schema: type: boolean default: true - - *580 + - *586 responses: '200': description: Response @@ -84690,7 +84730,7 @@ paths: application/json: schema: type: array - items: *278 + items: *284 examples: default: value: @@ -84737,8 +84777,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 requestBody: description: Request body required: true @@ -84758,16 +84798,16 @@ paths: - tag - push default: branch - enforcement: *274 + enforcement: *280 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *275 - conditions: *272 + items: *281 + conditions: *278 rules: type: array description: An array of rules within the ruleset. - items: *277 + items: *283 required: - name - enforcement @@ -84798,9 +84838,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: &590 + default: &596 value: id: 42 name: super cool ruleset @@ -84847,12 +84887,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *318 - - *319 - - *581 - - *582 - - *583 - - *584 + - *324 + - *325 + - *587 + - *588 + - *589 + - *590 - *18 - *20 responses: @@ -84860,9 +84900,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *591 examples: - default: *586 + default: *592 '404': *7 '500': *84 x-github: @@ -84883,17 +84923,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *318 - - *319 - - *587 + - *324 + - *325 + - *593 responses: '200': description: Response content: application/json: - schema: *588 + schema: *594 examples: - default: *589 + default: *595 '404': *7 '500': *84 x-github: @@ -84921,8 +84961,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84942,9 +84982,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *590 + default: *596 '404': *7 '500': *84 put: @@ -84962,8 +85002,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84988,16 +85028,16 @@ paths: - branch - tag - push - enforcement: *274 + enforcement: *280 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *275 - conditions: *272 + items: *281 + conditions: *278 rules: description: An array of rules within the ruleset. type: array - items: *277 + items: *283 examples: default: value: @@ -85025,9 +85065,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *590 + default: *596 '404': *7 '500': *84 delete: @@ -85045,8 +85085,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85074,20 +85114,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: - - *318 - - *319 - - *280 - - *281 - - *282 - - *283 + - *324 + - *325 + - *286 + - *287 + - *288 + - *289 - *78 - *20 - *18 - - *591 - - *592 - - *284 - - *285 - - *286 + - *597 + - *598 + - *290 + - *291 + - *292 responses: '200': description: Response @@ -85095,7 +85135,7 @@ paths: application/json: schema: type: array - items: &595 + items: &601 type: object properties: number: *85 @@ -85114,8 +85154,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *593 - resolution: *594 + state: *599 + resolution: *600 resolved_at: type: string format: date-time @@ -85321,15 +85361,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 responses: '200': description: Response content: application/json: - schema: *595 + schema: *601 examples: default: value: @@ -85380,9 +85420,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 requestBody: required: true content: @@ -85390,8 +85430,8 @@ paths: schema: type: object properties: - state: *593 - resolution: *594 + state: *599 + resolution: *600 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85409,7 +85449,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: default: value: @@ -85483,9 +85523,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 - *20 - *18 responses: @@ -85496,7 +85536,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &754 + items: &760 type: object properties: type: @@ -85855,8 +85895,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -85864,14 +85904,14 @@ paths: schema: type: object properties: - reason: &597 + reason: &603 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *596 + placeholder_id: *602 required: - reason - placeholder_id @@ -85888,7 +85928,7 @@ paths: schema: type: object properties: - reason: *597 + reason: *603 expire_at: type: string format: date-time @@ -85933,8 +85973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *318 - - *319 + - *324 + - *325 - *78 - name: sort description: The property to sort the results by. @@ -85978,9 +86018,9 @@ paths: application/json: schema: type: array - items: *598 + items: *604 examples: - default: *599 + default: *605 '400': *15 '404': *7 x-github: @@ -86003,8 +86043,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -86077,7 +86117,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *295 required: - login - type @@ -86164,9 +86204,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: &601 + default: &607 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86399,8 +86439,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -86504,7 +86544,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: default: value: @@ -86651,17 +86691,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: - - *318 - - *319 - - *600 + - *324 + - *325 + - *606 responses: '200': description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *601 + default: *607 '403': *29 '404': *7 x-github: @@ -86685,9 +86725,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: - - *318 - - *319 - - *600 + - *324 + - *325 + - *606 requestBody: required: true content: @@ -86760,7 +86800,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *295 required: - login - type @@ -86846,17 +86886,17 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *601 - add_credit: *601 + default: *607 + add_credit: *607 '403': *29 '404': *7 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *138 + schema: *144 examples: invalid_state_transition: value: @@ -86887,11 +86927,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: - - *318 - - *319 - - *600 + - *324 + - *325 + - *606 responses: - '202': *141 + '202': *147 '400': *15 '403': *29 '404': *7 @@ -86916,17 +86956,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: - - *318 - - *319 - - *600 + - *324 + - *325 + - *606 responses: '202': description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 + default: *339 '400': *15 '422': *16 '403': *29 @@ -86952,8 +86992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -87052,8 +87092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87062,7 +87102,7 @@ paths: application/json: schema: type: array - items: &602 + items: &608 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87074,8 +87114,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *141 - '204': *184 + '202': *147 + '204': *190 '422': description: Repository contains more than 10,000 commits x-github: @@ -87095,8 +87135,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -87144,8 +87184,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *141 - '204': *184 + '202': *147 + '204': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,8 +87212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -87246,8 +87286,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *141 - '204': *184 + '202': *147 + '204': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87269,8 +87309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -87424,8 +87464,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -87435,7 +87475,7 @@ paths: application/json: schema: type: array - items: *602 + items: *608 examples: default: value: @@ -87448,7 +87488,7 @@ paths: - - 0 - 2 - 21 - '204': *184 + '204': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87468,8 +87508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *318 - - *319 + - *324 + - *325 - name: sha in: path required: true @@ -87523,7 +87563,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *609 examples: default: value: @@ -87577,8 +87617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -87590,7 +87630,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -87610,14 +87650,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &604 + schema: &610 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87685,8 +87725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -87712,7 +87752,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: default: value: @@ -87739,8 +87779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -87760,8 +87800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -87840,8 +87880,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -87849,7 +87889,7 @@ paths: application/json: schema: type: array - items: &605 + items: &611 title: Tag protection description: Tag protection type: object @@ -87901,8 +87941,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -87925,7 +87965,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *611 examples: default: value: @@ -87956,8 +87996,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: - - *318 - - *319 + - *324 + - *325 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -87994,8 +88034,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *318 - - *319 + - *324 + - *325 - name: ref in: path required: true @@ -88031,8 +88071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -88042,9 +88082,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 headers: Link: *39 '404': *7 @@ -88064,8 +88104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *318 - - *319 + - *324 + - *325 - *20 - *18 responses: @@ -88073,7 +88113,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &612 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88085,7 +88125,7 @@ paths: required: - names examples: - default: &607 + default: &613 value: names: - octocat @@ -88108,8 +88148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -88140,9 +88180,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *612 examples: - default: *607 + default: *613 '404': *7 '422': *8 x-github: @@ -88163,9 +88203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *318 - - *319 - - &608 + - *324 + - *325 + - &614 name: per description: The time frame to display results for. in: query @@ -88194,7 +88234,7 @@ paths: example: 128 clones: type: array - items: &609 + items: &615 title: Traffic type: object properties: @@ -88281,8 +88321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -88372,8 +88412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -88433,9 +88473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *318 - - *319 - - *608 + - *324 + - *325 + - *614 responses: '200': description: Response @@ -88454,7 +88494,7 @@ paths: example: 3782 views: type: array - items: *609 + items: *615 required: - uniques - count @@ -88531,8 +88571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -88568,7 +88608,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *159 examples: default: value: @@ -88806,8 +88846,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88830,8 +88870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -88853,8 +88893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -88880,8 +88920,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *318 - - *319 + - *324 + - *325 - name: ref in: path required: true @@ -88973,9 +89013,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 + default: *339 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89016,7 +89056,7 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: default: value: @@ -89102,9 +89142,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. @@ -89129,7 +89166,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &617 + - &623 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89138,7 +89175,7 @@ paths: schema: type: string example: members - - &622 + - &628 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89149,7 +89186,7 @@ paths: default: 1 format: int32 example: 1 - - &623 + - &629 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89191,7 +89228,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &611 + items: &617 allOf: - type: object required: @@ -89266,7 +89303,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: &624 + meta: &630 type: object description: The metadata associated with the creation/updates to the user. @@ -89326,31 +89363,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &612 + '400': &618 description: Bad request content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '401': &613 + schema: *616 + '401': &619 description: Authorization failure - '403': &614 + '403': &620 description: Permission denied - '429': &615 + '429': &621 description: Too many requests content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '500': &616 + schema: *616 + '500': &622 description: Internal server error content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 + schema: *616 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89359,9 +89396,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. @@ -89377,7 +89411,7 @@ paths: required: true content: application/json: - schema: &620 + schema: &626 type: object required: - schemas @@ -89433,9 +89467,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *611 + schema: *617 examples: - group: &618 + group: &624 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -89454,13 +89488,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': *612 - '401': *613 - '403': *614 - '409': &621 + '400': *618 + '401': *619 + '403': *620 + '409': &627 description: Duplicate record detected - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89469,11 +89503,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 @@ -89481,7 +89511,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: - - &619 + - &625 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -89489,22 +89519,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *617 + - *623 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *611 + schema: *617 examples: - default: *618 - '400': *612 - '401': *613 - '403': *614 + default: *624 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89513,9 +89543,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. @@ -89526,13 +89553,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: - - *619 + - *625 - *40 requestBody: required: true content: application/json: - schema: *620 + schema: *626 examples: group: summary: Group @@ -89558,17 +89585,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *611 + schema: *617 examples: - group: *618 - groupWithMembers: *618 - '400': *612 - '401': *613 - '403': *614 + group: *624 + groupWithMembers: *624 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '409': *621 - '429': *615 - '500': *616 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89577,9 +89604,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. @@ -89595,13 +89619,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: - - *619 + - *625 - *40 requestBody: required: true content: application/json: - schema: &631 + schema: &637 type: object required: - Operations @@ -89661,17 +89685,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *611 + schema: *617 examples: - updateGroup: *618 - addMembers: *618 - '400': *612 - '401': *613 - '403': *614 + updateGroup: *624 + addMembers: *624 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '409': *621 - '429': *615 - '500': *616 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89679,11 +89703,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 @@ -89691,17 +89711,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: - - *619 + - *625 - *40 responses: '204': description: Group was deleted, no content - '400': *612 - '401': *613 - '403': *614 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89711,9 +89731,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. @@ -89738,8 +89755,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *622 - - *623 + - *628 + - *629 - *40 responses: '200': @@ -89772,7 +89789,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &626 + items: &632 allOf: - type: object required: @@ -89851,7 +89868,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &625 + roles: &631 type: array description: The roles assigned to the user. items: @@ -89907,7 +89924,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *624 + meta: *630 startIndex: type: integer description: A starting index for the returned page @@ -89944,11 +89961,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *612 - '401': *613 - '403': *614 - '429': *615 - '500': *616 + '400': *618 + '401': *619 + '403': *620 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89957,9 +89974,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. @@ -89975,7 +89989,7 @@ paths: required: true content: application/json: - schema: &629 + schema: &635 type: object required: - schemas @@ -90057,9 +90071,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *625 + roles: *631 examples: - user: &630 + user: &636 summary: User value: schemas: @@ -90106,9 +90120,9 @@ paths: description: User has been created content: application/scim+json: - schema: *626 + schema: *632 examples: - user: &627 + user: &633 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90134,13 +90148,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: *627 - '400': *612 - '401': *613 - '403': *614 - '409': *621 - '429': *615 - '500': *616 + enterpriseOwner: *633 + '400': *618 + '401': *619 + '403': *620 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90149,11 +90163,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 @@ -90161,7 +90171,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: - - &628 + - &634 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90174,15 +90184,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *626 + schema: *632 examples: - default: *627 - '400': *612 - '401': *613 - '403': *614 + default: *633 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90191,9 +90201,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. @@ -90207,30 +90214,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: - - *628 + - *634 - *40 requestBody: required: true content: application/json: - schema: *629 + schema: *635 examples: - user: *630 + user: *636 responses: '200': description: User was updated content: application/scim+json: - schema: *626 + schema: *632 examples: - user: *627 - '400': *612 - '401': *613 - '403': *614 + user: *633 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '409': *621 - '429': *615 - '500': *616 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90239,9 +90246,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). @@ -90268,13 +90272,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: - - *628 + - *634 - *40 requestBody: required: true content: application/json: - schema: *631 + schema: *637 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -90314,18 +90318,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *626 - examples: - userMultiValuedProperties: *627 - userSingleValuedProperties: *627 - disableUser: *627 - '400': *612 - '401': *613 - '403': *614 + schema: *632 + examples: + userMultiValuedProperties: *633 + userSingleValuedProperties: *633 + disableUser: *633 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '409': *621 - '429': *615 - '500': *616 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90333,11 +90337,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 @@ -90345,17 +90349,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: - - *628 + - *634 - *40 responses: '204': description: User was deleted, no content - '400': *612 - '401': *613 - '403': *614 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90388,7 +90392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *135 + - *141 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -90442,7 +90446,7 @@ paths: example: 1 Resources: type: array - items: &632 + items: &638 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -90673,22 +90677,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &633 + '404': &639 description: Resource not found content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '403': &634 + schema: *616 + '403': &640 description: Forbidden content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '400': *612 - '429': *615 + schema: *616 + '400': *618 + '429': *621 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -90708,15 +90712,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *135 + - *141 responses: '201': description: Response content: application/scim+json: - schema: *632 + schema: *638 examples: - default: &635 + default: &641 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90739,17 +90743,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *633 - '403': *634 - '500': *616 + '404': *639 + '403': *640 + '500': *622 '409': description: Conflict content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '400': *612 + schema: *616 + '400': *618 requestBody: required: true content: @@ -90841,18 +90845,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: - - *135 - - *628 + - *141 + - *634 responses: '200': description: Response content: application/scim+json: - schema: *632 + schema: *638 examples: - default: *635 - '404': *633 - '403': *634 + default: *641 + '404': *639 + '403': *640 '304': *37 x-github: githubCloudOnly: true @@ -90875,19 +90879,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *135 - - *628 + - *141 + - *634 responses: '200': description: Response content: application/scim+json: - schema: *632 + schema: *638 examples: - default: *635 + default: *641 '304': *37 - '404': *633 - '403': *634 + '404': *639 + '403': *640 requestBody: required: true content: @@ -90995,20 +90999,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: - - *135 - - *628 + - *141 + - *634 responses: '200': description: Response content: application/scim+json: - schema: *632 + schema: *638 examples: - default: *635 + default: *641 '304': *37 - '404': *633 - '403': *634 - '400': *612 + '404': *639 + '403': *640 + '400': *618 '429': description: Response content: @@ -91098,13 +91102,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: - - *135 - - *628 + - *141 + - *634 responses: '204': description: Response - '404': *633 - '403': *634 + '404': *639 + '403': *640 '304': *37 x-github: githubCloudOnly: true @@ -91219,7 +91223,7 @@ paths: html_url: type: string format: uri - repository: *153 + repository: *159 score: type: number file_size: @@ -91237,7 +91241,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &636 + text_matches: &642 title: Search Result Text Matches type: array items: @@ -91400,7 +91404,7 @@ paths: enum: - author-date - committer-date - - &637 + - &643 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 @@ -91471,7 +91475,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *375 + properties: *381 nullable: true comment_count: type: integer @@ -91491,7 +91495,7 @@ paths: url: type: string format: uri - verification: *486 + verification: *492 required: - author - committer @@ -91510,7 +91514,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *375 + properties: *381 nullable: true parents: type: array @@ -91523,12 +91527,12 @@ paths: type: string sha: type: string - repository: *153 + repository: *159 score: type: number node_id: type: string - text_matches: *636 + text_matches: *642 required: - sha - node_id @@ -91721,7 +91725,7 @@ paths: - interactions - created - updated - - *637 + - *643 - *18 - *20 responses: @@ -91826,8 +91830,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *444 + required: *445 nullable: true comments: type: integer @@ -91841,7 +91845,7 @@ paths: type: string format: date-time nullable: true - text_matches: *636 + text_matches: *642 pull_request: type: object properties: @@ -92065,7 +92069,7 @@ paths: enum: - created - updated - - *637 + - *643 - *18 - *20 responses: @@ -92109,7 +92113,7 @@ paths: nullable: true score: type: number - text_matches: *636 + text_matches: *642 required: - id - node_id @@ -92195,7 +92199,7 @@ paths: - forks - help-wanted-issues - updated - - *637 + - *643 - *18 - *20 responses: @@ -92434,7 +92438,7 @@ paths: - admin - pull - push - text_matches: *636 + text_matches: *642 temp_clone_token: type: string allow_merge_commit: @@ -92735,7 +92739,7 @@ paths: type: string format: uri nullable: true - text_matches: *636 + text_matches: *642 related: type: array nullable: true @@ -92928,7 +92932,7 @@ paths: - followers - repositories - joined - - *637 + - *643 - *18 - *20 responses: @@ -93032,7 +93036,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *636 + text_matches: *642 blog: type: string nullable: true @@ -93111,7 +93115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &638 + - &644 name: team_id description: The unique identifier of the team. in: path @@ -93123,9 +93127,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '404': *7 x-github: githubCloudOnly: false @@ -93152,7 +93156,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *638 + - *644 requestBody: required: true content: @@ -93215,16 +93219,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '201': description: Response content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '404': *7 '422': *16 '403': *29 @@ -93252,7 +93256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *638 + - *644 responses: '204': description: Response @@ -93283,7 +93287,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *638 + - *644 - *78 - *18 - *20 @@ -93294,9 +93298,9 @@ paths: application/json: schema: type: array - items: *301 + items: *307 examples: - default: *639 + default: *645 headers: Link: *39 x-github: @@ -93325,7 +93329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *638 + - *644 requestBody: required: true content: @@ -93359,9 +93363,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: *302 + default: *308 x-github: triggersNotification: true githubCloudOnly: false @@ -93388,16 +93392,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *638 - - *303 + - *644 + - *309 responses: '200': description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: *302 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93422,8 +93426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *638 - - *303 + - *644 + - *309 requestBody: required: false content: @@ -93446,9 +93450,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: *640 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93473,8 +93477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *638 - - *303 + - *644 + - *309 responses: '204': description: Response @@ -93503,8 +93507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *638 - - *303 + - *644 + - *309 - *78 - *18 - *20 @@ -93515,9 +93519,9 @@ paths: application/json: schema: type: array - items: *304 + items: *310 examples: - default: *641 + default: *647 headers: Link: *39 x-github: @@ -93546,8 +93550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *638 - - *303 + - *644 + - *309 requestBody: required: true content: @@ -93569,9 +93573,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: *305 + default: *311 x-github: triggersNotification: true githubCloudOnly: false @@ -93598,17 +93602,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 responses: '200': description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: *305 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93633,9 +93637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 requestBody: required: true content: @@ -93657,9 +93661,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: *642 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93684,9 +93688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 responses: '204': description: Response @@ -93715,9 +93719,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: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 - 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. @@ -93743,9 +93747,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 x-github: @@ -93774,9 +93778,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: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 requestBody: required: true content: @@ -93808,9 +93812,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93836,8 +93840,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: - - *638 - - *303 + - *644 + - *309 - 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. @@ -93863,9 +93867,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 x-github: @@ -93894,8 +93898,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: - - *638 - - *303 + - *644 + - *309 requestBody: required: true content: @@ -93927,9 +93931,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93953,7 +93957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *638 + - *644 - *18 - *20 responses: @@ -93963,9 +93967,9 @@ paths: application/json: schema: type: array - items: *229 + items: *235 examples: - default: *230 + default: *236 headers: Link: *39 x-github: @@ -93991,7 +93995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *638 + - *644 - name: role description: Filters members returned by their role in the team. in: query @@ -94014,7 +94018,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '404': *7 @@ -94042,8 +94046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *638 - - *175 + - *644 + - *181 responses: '204': description: if user is a member @@ -94079,8 +94083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *638 - - *175 + - *644 + - *181 responses: '204': description: Response @@ -94119,8 +94123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *638 - - *175 + - *644 + - *181 responses: '204': description: Response @@ -94156,16 +94160,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: - - *638 - - *175 + - *644 + - *181 responses: '200': description: Response content: application/json: - schema: *315 + schema: *321 examples: - response-if-user-is-a-team-maintainer: *643 + response-if-user-is-a-team-maintainer: *649 '404': *7 x-github: githubCloudOnly: false @@ -94198,8 +94202,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: - - *638 - - *175 + - *644 + - *181 requestBody: required: false content: @@ -94224,9 +94228,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: *644 + response-if-users-membership-with-team-is-now-pending: *650 '403': description: Forbidden if team synchronization is set up '422': @@ -94260,8 +94264,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: - - *638 - - *175 + - *644 + - *181 responses: '204': description: Response @@ -94290,7 +94294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *638 + - *644 - *18 - *20 responses: @@ -94300,9 +94304,9 @@ paths: application/json: schema: type: array - items: *316 + items: *322 examples: - default: *645 + default: *651 headers: Link: *39 '404': *7 @@ -94329,16 +94333,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: - - *638 - - *317 + - *644 + - *323 responses: '200': description: Response content: application/json: - schema: *316 + schema: *322 examples: - default: *646 + default: *652 '404': description: Not Found if project is not managed by this team x-github: @@ -94363,8 +94367,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: - - *638 - - *317 + - *644 + - *323 requestBody: required: false content: @@ -94432,8 +94436,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: - - *638 - - *317 + - *644 + - *323 responses: '204': description: Response @@ -94460,7 +94464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *638 + - *644 - *18 - *20 responses: @@ -94470,9 +94474,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 '404': *7 @@ -94502,15 +94506,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: - - *638 - - *318 - - *319 + - *644 + - *324 + - *325 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *647 + schema: *653 examples: alternative-response-with-extra-repository-information: value: @@ -94661,9 +94665,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: - - *638 - - *318 - - *319 + - *644 + - *324 + - *325 requestBody: required: false content: @@ -94713,9 +94717,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: - - *638 - - *318 - - *319 + - *644 + - *324 + - *325 responses: '204': description: Response @@ -94744,15 +94748,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: - - *638 + - *644 responses: '200': description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: *321 + default: *327 '403': *29 '404': *7 x-github: @@ -94779,7 +94783,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: - - *638 + - *644 requestBody: required: true content: @@ -94836,7 +94840,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: default: value: @@ -94867,7 +94871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *638 + - *644 - *18 - *20 responses: @@ -94877,9 +94881,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - response-if-child-teams-exist: *648 + response-if-child-teams-exist: *654 headers: Link: *39 '404': *7 @@ -94912,7 +94916,7 @@ paths: application/json: schema: oneOf: - - &650 + - &656 title: Private User description: Private User type: object @@ -95115,7 +95119,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *649 + - *655 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95268,7 +95272,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *656 examples: default: value: @@ -95347,7 +95351,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '304': *37 '404': *7 '403': *29 @@ -95370,7 +95374,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: - - *175 + - *181 responses: '204': description: If the user is blocked @@ -95398,7 +95402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *175 + - *181 responses: '204': description: Response @@ -95422,7 +95426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *175 + - *181 responses: '204': description: Response @@ -95471,9 +95475,9 @@ paths: type: integer codespaces: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 '304': *37 '500': *84 '401': *25 @@ -95612,17 +95616,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '401': *25 '403': *29 '404': *7 @@ -95666,7 +95670,7 @@ paths: type: integer secrets: type: array - items: &651 + items: &657 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -95706,7 +95710,7 @@ paths: - visibility - selected_repositories_url examples: - default: *426 + default: *432 headers: Link: *39 x-github: @@ -95776,13 +95780,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: - - *163 + - *169 responses: '200': description: Response content: application/json: - schema: *651 + schema: *657 examples: default: value: @@ -95812,7 +95816,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: - - *163 + - *169 requestBody: required: true content: @@ -95857,7 +95861,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -95885,7 +95889,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: - - *163 + - *169 responses: '204': description: Response @@ -95910,7 +95914,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: - - *163 + - *169 responses: '200': description: Response @@ -95926,9 +95930,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: *652 + default: *658 '401': *25 '403': *29 '404': *7 @@ -95953,7 +95957,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: - - *163 + - *169 requestBody: required: true content: @@ -96007,7 +96011,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: - - *163 + - *169 - name: repository_id in: path required: true @@ -96040,7 +96044,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: - - *163 + - *169 - name: repository_id in: path required: true @@ -96072,15 +96076,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: - - *238 + - *244 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '304': *37 '500': *84 '401': *25 @@ -96106,7 +96110,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: - - *238 + - *244 requestBody: required: false content: @@ -96136,9 +96140,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '401': *25 '403': *29 '404': *7 @@ -96160,9 +96164,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: - - *238 + - *244 responses: - '202': *141 + '202': *147 '304': *37 '500': *84 '401': *25 @@ -96189,13 +96193,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: - - *238 + - *244 responses: '202': description: Response content: application/json: - schema: &653 + schema: &659 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96236,7 +96240,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &654 + default: &660 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96268,7 +96272,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *238 + - *244 - name: export_id in: path required: true @@ -96281,9 +96285,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *659 examples: - default: *654 + default: *660 '404': *7 x-github: githubCloudOnly: false @@ -96304,7 +96308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *238 + - *244 responses: '200': description: Response @@ -96320,9 +96324,9 @@ paths: type: integer machines: type: array - items: *655 + items: *661 examples: - default: *656 + default: *662 '304': *37 '500': *84 '401': *25 @@ -96351,7 +96355,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: - - *238 + - *244 requestBody: required: true content: @@ -96401,13 +96405,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *331 + repository: *337 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *424 - required: *425 + properties: *430 + required: *431 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97181,15 +97185,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: - - *238 + - *244 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '304': *37 '500': *84 '400': *15 @@ -97201,7 +97205,7 @@ paths: schema: *3 '403': *29 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97221,15 +97225,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: - - *238 + - *244 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '500': *84 '401': *25 '403': *29 @@ -97259,9 +97263,9 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: &669 + default: &675 value: - id: 197 name: hello_docker @@ -97362,7 +97366,7 @@ paths: application/json: schema: type: array - items: &657 + items: &663 title: Email description: Email type: object @@ -97427,9 +97431,9 @@ paths: application/json: schema: type: array - items: *657 + items: *663 examples: - default: &671 + default: &677 value: - email: octocat@github.com verified: true @@ -97504,7 +97508,7 @@ paths: application/json: schema: type: array - items: *657 + items: *663 examples: default: value: @@ -97614,7 +97618,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '304': *37 @@ -97647,7 +97651,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '304': *37 @@ -97669,7 +97673,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: - - *175 + - *181 responses: '204': description: if the person is followed by the authenticated user @@ -97699,7 +97703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *175 + - *181 responses: '204': description: Response @@ -97724,7 +97728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *175 + - *181 responses: '204': description: Response @@ -97760,7 +97764,7 @@ paths: application/json: schema: type: array - items: &658 + items: &664 title: GPG Key description: A unique encryption key type: object @@ -97891,7 +97895,7 @@ paths: - subkeys - revoked examples: - default: &682 + default: &688 value: - id: 3 name: Octocat's GPG Key @@ -97976,9 +97980,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *664 examples: - default: &659 + default: &665 value: id: 3 name: Octocat's GPG Key @@ -98035,7 +98039,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: - - &660 + - &666 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98047,9 +98051,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *664 examples: - default: *659 + default: *665 '404': *7 '304': *37 '403': *29 @@ -98072,7 +98076,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: - - *660 + - *666 responses: '204': description: Response @@ -98263,7 +98267,7 @@ paths: type: array items: *57 examples: - default: *661 + default: *667 headers: Link: *39 '404': *7 @@ -98288,7 +98292,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *148 + - *154 responses: '204': description: Response @@ -98314,7 +98318,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *148 + - *154 responses: '204': description: Response @@ -98348,12 +98352,12 @@ paths: application/json: schema: anyOf: - - *227 + - *233 - type: object properties: {} additionalProperties: false examples: - default: *228 + default: *234 '204': description: Response when there are no restrictions x-github: @@ -98377,7 +98381,7 @@ paths: required: true content: application/json: - schema: *497 + schema: *503 examples: default: value: @@ -98388,7 +98392,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: default: value: @@ -98469,7 +98473,7 @@ paths: - closed - all default: open - - *233 + - *239 - name: sort description: What to sort results by. in: query @@ -98494,7 +98498,7 @@ paths: type: array items: *118 examples: - default: *234 + default: *240 headers: Link: *39 '404': *7 @@ -98527,7 +98531,7 @@ paths: application/json: schema: type: array - items: &662 + items: &668 title: Key description: Key type: object @@ -98624,9 +98628,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *668 examples: - default: &663 + default: &669 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98659,15 +98663,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: - - *525 + - *531 responses: '200': description: Response content: application/json: - schema: *662 + schema: *668 examples: - default: *663 + default: *669 '404': *7 '304': *37 '403': *29 @@ -98690,7 +98694,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: - - *525 + - *531 responses: '204': description: Response @@ -98723,7 +98727,7 @@ paths: application/json: schema: type: array - items: &664 + items: &670 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -98791,7 +98795,7 @@ paths: - account - plan examples: - default: &665 + default: &671 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -98853,9 +98857,9 @@ paths: application/json: schema: type: array - items: *664 + items: *670 examples: - default: *665 + default: *671 headers: Link: *39 '304': *37 @@ -98895,7 +98899,7 @@ paths: application/json: schema: type: array - items: *239 + items: *245 examples: default: value: @@ -98997,13 +99001,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *239 + schema: *245 examples: default: value: @@ -99061,7 +99065,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: - - *135 + - *141 requestBody: required: true content: @@ -99086,7 +99090,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *245 examples: default: value: @@ -99154,7 +99158,7 @@ paths: application/json: schema: type: array - items: *241 + items: *247 examples: default: value: @@ -99407,7 +99411,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *247 examples: default: value: @@ -99587,7 +99591,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *242 + - *248 - name: exclude in: query required: false @@ -99600,7 +99604,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *247 examples: default: value: @@ -99794,7 +99798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *242 + - *248 responses: '302': description: Response @@ -99820,7 +99824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *242 + - *248 responses: '204': description: Response @@ -99849,8 +99853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *242 - - *666 + - *248 + - *672 responses: '204': description: Response @@ -99874,7 +99878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *242 + - *248 - *18 - *20 responses: @@ -99884,9 +99888,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 '404': *7 @@ -99923,7 +99927,7 @@ paths: type: array items: *52 examples: - default: *667 + default: *673 headers: Link: *39 '304': *37 @@ -99965,7 +99969,7 @@ paths: - docker - nuget - container - - *668 + - *674 - *20 - *18 responses: @@ -99975,10 +99979,10 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: *669 - '400': *670 + default: *675 + '400': *676 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99998,16 +100002,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: - - *250 - - *251 + - *256 + - *257 responses: '200': description: Response content: application/json: - schema: *248 + schema: *254 examples: - default: &683 + default: &689 value: id: 40201 name: octo-name @@ -100120,8 +100124,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: - - *250 - - *251 + - *256 + - *257 responses: '204': description: Response @@ -100151,8 +100155,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: - - *250 - - *251 + - *256 + - *257 - name: token description: package token schema: @@ -100184,8 +100188,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: - - *250 - - *251 + - *256 + - *257 - *20 - *18 - name: state @@ -100205,7 +100209,7 @@ paths: application/json: schema: type: array - items: *252 + items: *258 examples: default: value: @@ -100254,15 +100258,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: - - *250 - - *251 - - *253 + - *256 + - *257 + - *259 responses: '200': description: Response content: application/json: - schema: *252 + schema: *258 examples: default: value: @@ -100298,9 +100302,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: - - *250 - - *251 - - *253 + - *256 + - *257 + - *259 responses: '204': description: Response @@ -100330,9 +100334,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: - - *250 - - *251 - - *253 + - *256 + - *257 + - *259 responses: '204': description: Response @@ -100388,7 +100392,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *267 examples: default: value: @@ -100457,9 +100461,9 @@ paths: application/json: schema: type: array - items: *657 + items: *663 examples: - default: *671 + default: *677 headers: Link: *39 '304': *37 @@ -100572,7 +100576,7 @@ paths: type: array items: *57 examples: - default: &678 + default: &684 summary: Default response value: - id: 1296269 @@ -100874,9 +100878,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 + default: *339 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -100914,9 +100918,9 @@ paths: application/json: schema: type: array - items: *499 + items: *505 examples: - default: *672 + default: *678 headers: Link: *39 '304': *37 @@ -100939,12 +100943,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *231 + - *237 responses: '204': description: Response '403': *29 - '409': *140 + '409': *146 '404': *7 '304': *37 x-github: @@ -100962,11 +100966,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *231 + - *237 responses: '204': description: Response - '409': *140 + '409': *146 '304': *37 '404': *7 '403': *29 @@ -100995,7 +100999,7 @@ paths: application/json: schema: type: array - items: &673 + items: &679 title: Social account description: Social media account type: object @@ -101010,7 +101014,7 @@ paths: - provider - url examples: - default: &674 + default: &680 value: - provider: twitter url: https://twitter.com/github @@ -101072,9 +101076,9 @@ paths: application/json: schema: type: array - items: *673 + items: *679 examples: - default: *674 + default: *680 '422': *16 '304': *37 '404': *7 @@ -101161,7 +101165,7 @@ paths: application/json: schema: type: array - items: &675 + items: &681 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101181,7 +101185,7 @@ paths: - title - created_at examples: - default: &684 + default: &690 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101247,9 +101251,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *681 examples: - default: &676 + default: &682 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101280,7 +101284,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: - - &677 + - &683 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101292,9 +101296,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *681 examples: - default: *676 + default: *682 '404': *7 '304': *37 '403': *29 @@ -101317,7 +101321,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: - - *677 + - *683 responses: '204': description: Response @@ -101346,7 +101350,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: - - &685 + - &691 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 @@ -101371,11 +101375,11 @@ paths: type: array items: *57 examples: - default-response: *678 + default-response: *684 application/vnd.github.v3.star+json: schema: type: array - items: &686 + items: &692 title: Starred Repository description: Starred Repository type: object @@ -101531,8 +101535,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response if this repository is starred by you @@ -101560,8 +101564,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -101585,8 +101589,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -101619,9 +101623,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 '304': *37 @@ -101658,7 +101662,7 @@ paths: application/json: schema: type: array - items: *299 + items: *305 examples: default: value: @@ -101742,10 +101746,10 @@ paths: application/json: schema: oneOf: - - *650 - - *649 + - *656 + - *655 examples: - default-response: &680 + default-response: &686 summary: Default response value: login: octocat @@ -101780,7 +101784,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &681 + response-with-git-hub-plan-information: &687 summary: Response with GitHub plan information value: login: octocat @@ -101840,7 +101844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *679 + - *685 - *18 responses: '200': @@ -101851,7 +101855,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: example: ; rel="next" @@ -101879,7 +101883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *175 + - *181 responses: '200': description: Response @@ -101887,11 +101891,11 @@ paths: application/json: schema: oneOf: - - *650 - - *649 + - *656 + - *655 examples: - default-response: *680 - response-with-git-hub-plan-information: *681 + default-response: *686 + response-with-git-hub-plan-information: *687 '404': *7 x-github: githubCloudOnly: false @@ -101917,7 +101921,7 @@ paths: - *18 - *76 - *77 - - *175 + - *181 - name: subject_digest description: Subject Digest in: path @@ -102017,7 +102021,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -102043,7 +102047,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: - - *175 + - *181 responses: '200': description: Response @@ -102051,9 +102055,9 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: *669 + default: *675 '403': *29 '401': *25 x-github: @@ -102076,7 +102080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102157,8 +102161,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: - - *175 - - *135 + - *181 + - *141 - *18 - *20 responses: @@ -102247,7 +102251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102324,7 +102328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102336,7 +102340,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -102355,7 +102359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102367,7 +102371,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -102386,7 +102390,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: - - *175 + - *181 - name: target_user in: path required: true @@ -102413,7 +102417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *175 + - *181 - *108 - *18 - *20 @@ -102447,7 +102451,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: - - *175 + - *181 - *18 - *20 responses: @@ -102457,9 +102461,9 @@ paths: application/json: schema: type: array - items: *658 + items: *664 examples: - default: *682 + default: *688 headers: Link: *39 x-github: @@ -102483,7 +102487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *175 + - *181 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -102555,7 +102559,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: - - *175 + - *181 responses: '200': description: Response @@ -102563,7 +102567,7 @@ paths: application/json: schema: *22 examples: - default: *496 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102581,7 +102585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102629,7 +102633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102641,7 +102645,7 @@ paths: type: array items: *52 examples: - default: *667 + default: *673 headers: Link: *39 x-github: @@ -102680,8 +102684,8 @@ paths: - docker - nuget - container - - *668 - - *175 + - *674 + - *181 - *20 - *18 responses: @@ -102691,12 +102695,12 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: *669 + default: *675 '403': *29 '401': *25 - '400': *670 + '400': *676 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102716,17 +102720,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *250 - - *251 - - *175 + - *256 + - *257 + - *181 responses: '200': description: Response content: application/json: - schema: *248 + schema: *254 examples: - default: *683 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102747,9 +102751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *250 - - *251 - - *175 + - *256 + - *257 + - *181 responses: '204': description: Response @@ -102781,9 +102785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *250 - - *251 - - *175 + - *256 + - *257 + - *181 - name: token description: package token schema: @@ -102815,9 +102819,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: - - *250 - - *251 - - *175 + - *256 + - *257 + - *181 responses: '200': description: Response @@ -102825,7 +102829,7 @@ paths: application/json: schema: type: array - items: *252 + items: *258 examples: default: value: @@ -102883,16 +102887,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: - - *250 - - *251 - - *253 - - *175 + - *256 + - *257 + - *259 + - *181 responses: '200': description: Response content: application/json: - schema: *252 + schema: *258 examples: default: value: @@ -102927,10 +102931,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *250 - - *251 - - *175 - - *253 + - *256 + - *257 + - *181 + - *259 responses: '204': description: Response @@ -102962,10 +102966,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *250 - - *251 - - *175 - - *253 + - *256 + - *257 + - *181 + - *259 responses: '204': description: Response @@ -102988,7 +102992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *175 + - *181 - name: state description: Indicates the state of the projects to return. in: query @@ -103009,7 +103013,7 @@ paths: application/json: schema: type: array - items: *261 + items: *267 examples: default: value: @@ -103068,7 +103072,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: - - *175 + - *181 - *18 - *20 responses: @@ -103157,7 +103161,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: - - *175 + - *181 - *18 - *20 responses: @@ -103244,7 +103248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *175 + - *181 - name: type description: Limit results to repositories of the specified type. in: query @@ -103287,9 +103291,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -103313,15 +103317,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: - - *175 + - *181 responses: '200': description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103343,15 +103347,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: - - *175 + - *181 responses: '200': description: Response content: application/json: - schema: *295 + schema: *301 examples: - default: *296 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103373,15 +103377,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: - - *175 + - *181 responses: '200': description: Response content: application/json: - schema: *297 + schema: *303 examples: - default: *298 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103399,7 +103403,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: - - *175 + - *181 - *18 - *20 responses: @@ -103409,9 +103413,9 @@ paths: application/json: schema: type: array - items: *673 + items: *679 examples: - default: *674 + default: *680 headers: Link: *39 x-github: @@ -103431,7 +103435,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: - - *175 + - *181 - *18 - *20 responses: @@ -103441,9 +103445,9 @@ paths: application/json: schema: type: array - items: *675 + items: *681 examples: - default: *684 + default: *690 headers: Link: *39 x-github: @@ -103467,8 +103471,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *175 - - *685 + - *181 + - *691 - *78 - *18 - *20 @@ -103480,11 +103484,11 @@ paths: schema: anyOf: - type: array - items: *686 + items: *692 - type: array items: *57 examples: - default-response: *678 + default-response: *684 headers: Link: *39 x-github: @@ -103503,7 +103507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -103513,9 +103517,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -103643,7 +103647,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &687 + enterprise: &693 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -103701,7 +103705,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &688 + installation: &694 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -103720,7 +103724,7 @@ x-webhooks: required: - id - node_id - organization: &689 + organization: &695 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -103780,13 +103784,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &690 + repository: &696 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &727 + properties: &733 id: description: Unique identifier of the repository example: 42 @@ -104469,7 +104473,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &728 + required: &734 - archive_url - assignees_url - blobs_url @@ -104620,10 +104624,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -104699,11 +104703,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - rule: &691 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: &697 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) @@ -104926,11 +104930,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - rule: *691 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: *697 sender: *19 required: - action @@ -105113,11 +105117,11 @@ x-webhooks: - everyone required: - from - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - rule: *691 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: *697 sender: *19 required: - action @@ -105190,7 +105194,7 @@ x-webhooks: required: true content: application/json: - schema: &694 + schema: &700 title: Exemption request cancellation event type: object properties: @@ -105198,11 +105202,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: &692 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: &698 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -105352,7 +105356,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &693 + items: &699 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -105457,7 +105461,7 @@ x-webhooks: required: true content: application/json: - schema: &695 + schema: &701 title: Exemption request completed event type: object properties: @@ -105465,11 +105469,11 @@ x-webhooks: type: string enum: - completed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: *692 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: *698 sender: *19 required: - action @@ -105541,7 +105545,7 @@ x-webhooks: required: true content: application/json: - schema: &696 + schema: &702 title: Exemption request created event type: object properties: @@ -105549,11 +105553,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: *692 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: *698 sender: *19 required: - action @@ -105625,7 +105629,7 @@ x-webhooks: required: true content: application/json: - schema: &697 + schema: &703 title: Exemption response dismissed event type: object properties: @@ -105633,12 +105637,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: *692 - exemption_response: *693 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: *698 + exemption_response: *699 sender: *19 required: - action @@ -105712,7 +105716,7 @@ x-webhooks: required: true content: application/json: - schema: &698 + schema: &704 title: Exemption response submitted event type: object properties: @@ -105720,12 +105724,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: *692 - exemption_response: *693 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: *698 + exemption_response: *699 sender: *19 required: - action @@ -105798,7 +105802,7 @@ x-webhooks: required: true content: application/json: - schema: *694 + schema: *700 responses: '200': description: Return a 200 status to indicate that the data was received @@ -105865,7 +105869,7 @@ x-webhooks: required: true content: application/json: - schema: *695 + schema: *701 responses: '200': description: Return a 200 status to indicate that the data was received @@ -105932,7 +105936,7 @@ x-webhooks: required: true content: application/json: - schema: *696 + schema: *702 responses: '200': description: Return a 200 status to indicate that the data was received @@ -105999,7 +106003,7 @@ x-webhooks: required: true content: application/json: - schema: *697 + schema: *703 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106067,7 +106071,7 @@ x-webhooks: required: true content: application/json: - schema: *698 + schema: *704 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106145,7 +106149,7 @@ x-webhooks: type: string enum: - completed - check_run: &700 + check_run: &706 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106208,8 +106212,8 @@ x-webhooks: type: string pull_requests: type: array - items: *388 - repository: *153 + items: *394 + repository: *159 status: example: completed type: string @@ -106246,7 +106250,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *699 + deployment: *705 details_url: example: https://example.com type: string @@ -106296,7 +106300,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *388 + items: *394 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -106331,9 +106335,9 @@ x-webhooks: - output - app - pull_requests - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - check_run @@ -106726,10 +106730,10 @@ x-webhooks: type: string enum: - created - check_run: *700 - installation: *688 - organization: *689 - repository: *690 + check_run: *706 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - check_run @@ -107125,10 +107129,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *700 - installation: *688 - organization: *689 - repository: *690 + check_run: *706 + installation: *694 + organization: *695 + repository: *696 requested_action: description: The action requested by the user. type: object @@ -107533,10 +107537,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *700 - installation: *688 - organization: *689 - repository: *690 + check_run: *706 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - check_run @@ -108513,10 +108517,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -109186,10 +109190,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -109853,10 +109857,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -110156,20 +110160,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &701 + commit_oid: &707 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *687 - installation: *688 - organization: *689 - ref: &702 + enterprise: *693 + installation: *694 + organization: *695 + ref: &708 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *690 + repository: *696 sender: *19 required: - action @@ -110487,12 +110491,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *701 - enterprise: *687 - installation: *688 - organization: *689 - ref: *702 - repository: *690 + commit_oid: *707 + enterprise: *693 + installation: *694 + organization: *695 + ref: *708 + repository: *696 sender: *19 required: - action @@ -110587,7 +110591,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *401 + dismissed_comment: *407 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -110749,12 +110753,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *701 - enterprise: *687 - installation: *688 - organization: *689 - ref: *702 - repository: *690 + commit_oid: *707 + enterprise: *693 + installation: *694 + organization: *695 + ref: *708 + repository: *696 sender: *19 required: - action @@ -111075,12 +111079,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *701 - enterprise: *687 - installation: *688 - organization: *689 - ref: *702 - repository: *690 + commit_oid: *707 + enterprise: *693 + installation: *694 + organization: *695 + ref: *708 + repository: *696 sender: *19 required: - action @@ -111337,16 +111341,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *690 + repository: *696 sender: *19 required: - action @@ -111572,12 +111576,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *701 - enterprise: *687 - installation: *688 - organization: *689 - ref: *702 - repository: *690 + commit_oid: *707 + enterprise: *693 + installation: *694 + organization: *695 + ref: *708 + repository: *696 sender: *19 required: - action @@ -111834,10 +111838,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -111917,18 +111921,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *689 - pusher_type: &703 + organization: *695 + pusher_type: &709 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &704 + ref: &710 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -111938,7 +111942,7 @@ x-webhooks: enum: - tag - branch - repository: *690 + repository: *696 sender: *19 required: - ref @@ -112020,10 +112024,10 @@ x-webhooks: type: string enum: - created - definition: *262 - enterprise: *687 - installation: *688 - organization: *689 + definition: *268 + enterprise: *693 + installation: *694 + organization: *695 sender: *19 required: - action @@ -112108,9 +112112,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 sender: *19 required: - action @@ -112187,10 +112191,10 @@ x-webhooks: type: string enum: - updated - definition: *262 - enterprise: *687 - installation: *688 - organization: *689 + definition: *268 + enterprise: *693 + installation: *694 + organization: *695 sender: *19 required: - action @@ -112267,19 +112271,19 @@ x-webhooks: type: string enum: - updated - enterprise: *687 - installation: *688 - repository: *690 - organization: *689 + enterprise: *693 + installation: *694 + repository: *696 + organization: *695 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *266 + items: *272 old_property_values: type: array description: The old custom property values for the repository. - items: *266 + items: *272 required: - action - repository @@ -112355,18 +112359,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 - pusher_type: *703 - ref: *704 + enterprise: *693 + installation: *694 + organization: *695 + pusher_type: *709 + ref: *710 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *690 + repository: *696 sender: *19 required: - ref @@ -112450,11 +112454,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112538,11 +112542,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112626,11 +112630,11 @@ x-webhooks: type: string enum: - created - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112712,11 +112716,11 @@ x-webhooks: type: string enum: - dismissed - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112798,11 +112802,11 @@ x-webhooks: type: string enum: - fixed - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112885,11 +112889,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112971,11 +112975,11 @@ x-webhooks: type: string enum: - reopened - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -113052,9 +113056,9 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - key: &705 + enterprise: *693 + installation: *694 + key: &711 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113090,8 +113094,8 @@ x-webhooks: - verified - created_at - read_only - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -113168,11 +113172,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - key: *705 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + key: *711 + organization: *695 + repository: *696 sender: *19 required: - action @@ -113733,12 +113737,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: &709 + workflow: &715 title: Workflow type: object nullable: true @@ -114464,13 +114468,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *461 + deployment: *467 pull_requests: type: array - items: *545 - repository: *690 - organization: *689 - installation: *688 + items: *551 + repository: *696 + organization: *695 + installation: *694 sender: *19 responses: '200': @@ -114541,7 +114545,7 @@ x-webhooks: type: string enum: - approved - approver: &706 + approver: &712 type: object properties: avatar_url: @@ -114584,11 +114588,11 @@ x-webhooks: type: string comment: type: string - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - reviewers: &707 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + reviewers: &713 type: array items: type: object @@ -114667,7 +114671,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &708 + workflow_job_run: &714 type: object properties: conclusion: @@ -115398,18 +115402,18 @@ x-webhooks: type: string enum: - rejected - approver: *706 + approver: *712 comment: type: string - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - reviewers: *707 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + reviewers: *713 sender: *19 since: type: string - workflow_job_run: *708 + workflow_job_run: *714 workflow_job_runs: type: array items: @@ -116113,13 +116117,13 @@ x-webhooks: type: string enum: - requested - enterprise: *687 + enterprise: *693 environment: type: string - installation: *688 - organization: *689 - repository: *690 - requestor: &714 + installation: *694 + organization: *695 + repository: *696 + requestor: &720 title: User type: object nullable: true @@ -118018,12 +118022,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: *709 + workflow: *715 workflow_run: title: Deployment Workflow Run type: object @@ -118703,7 +118707,7 @@ x-webhooks: type: string enum: - answered - answer: &712 + answer: &718 type: object properties: author_association: @@ -118860,7 +118864,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &710 + discussion: &716 title: Discussion description: A Discussion in a repository. type: object @@ -119146,7 +119150,7 @@ x-webhooks: - id labels: type: array - items: *508 + items: *514 required: - repository_url - category @@ -119168,10 +119172,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119298,11 +119302,11 @@ x-webhooks: - from required: - category - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119385,11 +119389,11 @@ x-webhooks: type: string enum: - closed - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119471,7 +119475,7 @@ x-webhooks: type: string enum: - created - comment: &711 + comment: &717 type: object properties: author_association: @@ -119628,11 +119632,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119715,12 +119719,12 @@ x-webhooks: type: string enum: - deleted - comment: *711 - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + comment: *717 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119815,12 +119819,12 @@ x-webhooks: - from required: - body - comment: *711 - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + comment: *717 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119904,11 +119908,11 @@ x-webhooks: type: string enum: - created - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119990,11 +119994,11 @@ x-webhooks: type: string enum: - deleted - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120094,11 +120098,11 @@ x-webhooks: type: string required: - from - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120180,10 +120184,10 @@ x-webhooks: type: string enum: - labeled - discussion: *710 - enterprise: *687 - installation: *688 - label: &713 + discussion: *716 + enterprise: *693 + installation: *694 + label: &719 title: Label type: object properties: @@ -120215,8 +120219,8 @@ x-webhooks: - color - default - description - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120299,11 +120303,11 @@ x-webhooks: type: string enum: - locked - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120385,11 +120389,11 @@ x-webhooks: type: string enum: - pinned - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120471,11 +120475,11 @@ x-webhooks: type: string enum: - reopened - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120560,16 +120564,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *710 - new_repository: *690 + new_discussion: *716 + new_repository: *696 required: - new_discussion - new_repository - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120652,10 +120656,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *710 - old_answer: *712 - organization: *689 - repository: *690 + discussion: *716 + old_answer: *718 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120737,12 +120741,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *710 - enterprise: *687 - installation: *688 - label: *713 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120825,11 +120829,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120911,11 +120915,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120988,7 +120992,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *687 + enterprise: *693 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -121648,9 +121652,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - forkee @@ -121796,9 +121800,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pages: description: The pages that were updated. type: array @@ -121835,7 +121839,7 @@ x-webhooks: - action - sha - html_url - repository: *690 + repository: *696 sender: *19 required: - pages @@ -121911,10 +121915,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: &715 + organization: *695 + repositories: &721 description: An array of repository objects that the installation can access. type: array @@ -121940,8 +121944,8 @@ x-webhooks: - name - full_name - private - repository: *690 - requester: *714 + repository: *696 + requester: *720 sender: *19 required: - action @@ -122016,11 +122020,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: *715 - repository: *690 + organization: *695 + repositories: *721 + repository: *696 requester: nullable: true sender: *19 @@ -122096,11 +122100,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: *715 - repository: *690 + organization: *695 + repositories: *721 + repository: *696 requester: nullable: true sender: *19 @@ -122176,10 +122180,10 @@ x-webhooks: type: string enum: - added - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories_added: &716 + organization: *695 + repositories_added: &722 description: An array of repository objects, which were added to the installation. type: array @@ -122225,15 +122229,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *690 - repository_selection: &717 + repository: *696 + repository_selection: &723 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *714 + requester: *720 sender: *19 required: - action @@ -122312,10 +122316,10 @@ x-webhooks: type: string enum: - removed - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories_added: *716 + organization: *695 + repositories_added: *722 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122342,9 +122346,9 @@ x-webhooks: - name - full_name - private - repository: *690 - repository_selection: *717 - requester: *714 + repository: *696 + repository_selection: *723 + requester: *720 sender: *19 required: - action @@ -122423,11 +122427,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: *715 - repository: *690 + organization: *695 + repositories: *721 + repository: *696 requester: nullable: true sender: *19 @@ -122606,10 +122610,10 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 target_type: type: string @@ -122688,11 +122692,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: *715 - repository: *690 + organization: *695 + repositories: *721 + repository: *696 requester: nullable: true sender: *19 @@ -122944,8 +122948,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -124086,8 +124090,8 @@ x-webhooks: - state - locked - assignee - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -124167,7 +124171,7 @@ x-webhooks: type: string enum: - deleted - comment: &718 + comment: &724 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -124332,8 +124336,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125472,8 +125476,8 @@ x-webhooks: - state - locked - assignee - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -125553,7 +125557,7 @@ x-webhooks: type: string enum: - edited - changes: &746 + changes: &752 description: The changes to the comment. type: object properties: @@ -125565,9 +125569,9 @@ x-webhooks: type: string required: - from - comment: *718 - enterprise: *687 - installation: *688 + comment: *724 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126707,8 +126711,8 @@ x-webhooks: - state - locked - assignee - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -126790,10 +126794,10 @@ x-webhooks: type: string enum: - assigned - assignee: *714 - enterprise: *687 - installation: *688 - issue: &721 + assignee: *720 + enterprise: *693 + installation: *694 + issue: &727 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -127697,8 +127701,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -127778,8 +127782,8 @@ x-webhooks: type: string enum: - closed - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -128823,8 +128827,8 @@ x-webhooks: required: - state - closed_at - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -128903,8 +128907,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -129801,8 +129805,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -129881,8 +129885,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130782,7 +130786,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &719 + milestone: &725 title: Milestone description: A collection of related issues and pull requests. type: object @@ -130920,8 +130924,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -131020,8 +131024,8 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131925,9 +131929,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *713 - organization: *689 - repository: *690 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -132007,8 +132011,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132911,9 +132915,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *713 - organization: *689 - repository: *690 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -132993,8 +132997,8 @@ x-webhooks: type: string enum: - locked - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133898,8 +133902,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -133978,8 +133982,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134877,9 +134881,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *719 - organization: *689 - repository: *690 + milestone: *725 + organization: *695 + repository: *696 sender: *19 required: - action @@ -136326,8 +136330,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137230,8 +137234,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -137311,9 +137315,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *687 - installation: *688 - issue: &720 + enterprise: *693 + installation: *694 + issue: &726 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138210,8 +138214,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -138290,8 +138294,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139194,8 +139198,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -140643,11 +140647,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *687 - installation: *688 - issue: *720 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + issue: *726 + organization: *695 + repository: *696 sender: *19 required: - action @@ -140728,7 +140732,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &749 + assignee: &755 title: User type: object nullable: true @@ -140798,11 +140802,11 @@ x-webhooks: required: - login - id - enterprise: *687 - installation: *688 - issue: *721 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + issue: *727 + organization: *695 + repository: *696 sender: *19 required: - action @@ -140881,12 +140885,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *687 - installation: *688 - issue: *721 - label: *713 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + issue: *727 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -140966,8 +140970,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141869,8 +141873,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -141950,11 +141954,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *687 - installation: *688 - issue: *720 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + issue: *726 + organization: *695 + repository: *696 sender: *19 required: - action @@ -142033,11 +142037,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - label: *713 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -142115,11 +142119,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - label: *713 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -142229,11 +142233,11 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - label: *713 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -142315,9 +142319,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *687 - installation: *688 - marketplace_purchase: &722 + enterprise: *693 + installation: *694 + marketplace_purchase: &728 title: Marketplace Purchase type: object required: @@ -142400,8 +142404,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *689 - previous_marketplace_purchase: &723 + organization: *695 + previous_marketplace_purchase: &729 title: Marketplace Purchase type: object properties: @@ -142481,7 +142485,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *690 + repository: *696 sender: *19 required: - action @@ -142561,10 +142565,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *687 - installation: *688 - marketplace_purchase: *722 - organization: *689 + enterprise: *693 + installation: *694 + marketplace_purchase: *728 + organization: *695 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142647,7 +142651,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *690 + repository: *696 sender: *19 required: - action @@ -142729,10 +142733,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *687 - installation: *688 - marketplace_purchase: *722 - organization: *689 + enterprise: *693 + installation: *694 + marketplace_purchase: *728 + organization: *695 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142814,7 +142818,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *690 + repository: *696 sender: *19 required: - action @@ -142895,8 +142899,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 marketplace_purchase: title: Marketplace Purchase type: object @@ -142978,9 +142982,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *689 - previous_marketplace_purchase: *723 - repository: *690 + organization: *695 + previous_marketplace_purchase: *729 + repository: *696 sender: *19 required: - action @@ -143060,12 +143064,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *687 - installation: *688 - marketplace_purchase: *722 - organization: *689 - previous_marketplace_purchase: *723 - repository: *690 + enterprise: *693 + installation: *694 + marketplace_purchase: *728 + organization: *695 + previous_marketplace_purchase: *729 + repository: *696 sender: *19 required: - action @@ -143167,11 +143171,11 @@ x-webhooks: type: string required: - to - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 sender: *19 required: - action @@ -143271,11 +143275,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 sender: *19 required: - action @@ -143354,11 +143358,11 @@ x-webhooks: type: string enum: - removed - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 sender: *19 required: - action @@ -143436,11 +143440,11 @@ x-webhooks: type: string enum: - added - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143516,7 +143520,7 @@ x-webhooks: required: - login - id - team: &724 + team: &730 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143706,11 +143710,11 @@ x-webhooks: type: string enum: - removed - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143787,7 +143791,7 @@ x-webhooks: required: - login - id - team: *724 + team: *730 required: - action - scope @@ -143869,8 +143873,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *688 - merge_group: &726 + installation: *694 + merge_group: &732 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -143889,15 +143893,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *725 + head_commit: *731 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -143983,10 +143987,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *688 - merge_group: *726 - organization: *689 - repository: *690 + installation: *694 + merge_group: *732 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144059,7 +144063,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 + enterprise: *693 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -144167,16 +144171,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *688 - organization: *689 + installation: *694 + organization: *695 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *727 - required: *728 + properties: *733 + required: *734 nullable: true sender: *19 required: @@ -144257,11 +144261,11 @@ x-webhooks: type: string enum: - closed - enterprise: *687 - installation: *688 - milestone: *719 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + milestone: *725 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144340,9 +144344,9 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - milestone: &729 + enterprise: *693 + installation: *694 + milestone: &735 title: Milestone description: A collection of related issues and pull requests. type: object @@ -144479,8 +144483,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144559,11 +144563,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - milestone: *719 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + milestone: *725 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144673,11 +144677,11 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - milestone: *719 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + milestone: *725 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144757,11 +144761,11 @@ x-webhooks: type: string enum: - opened - enterprise: *687 - installation: *688 - milestone: *729 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + milestone: *735 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144840,11 +144844,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *714 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + blocked_user: *720 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144923,11 +144927,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *714 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + blocked_user: *720 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145006,9 +145010,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - membership: &730 + enterprise: *693 + installation: *694 + membership: &736 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -145100,8 +145104,8 @@ x-webhooks: - role - organization_url - user - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145179,11 +145183,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *687 - installation: *688 - membership: *730 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + membership: *736 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145262,8 +145266,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -145379,10 +145383,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 - user: *714 + user: *720 required: - action - invitation @@ -145460,11 +145464,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *687 - installation: *688 - membership: *730 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + membership: *736 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145551,11 +145555,11 @@ x-webhooks: properties: from: type: string - enterprise: *687 - installation: *688 - membership: *730 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + membership: *736 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145631,9 +145635,9 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 package: description: Information about the package. type: object @@ -146132,7 +146136,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &731 + items: &737 title: Ruby Gems metadata type: object properties: @@ -146227,7 +146231,7 @@ x-webhooks: - owner - package_version - registry - repository: *690 + repository: *696 sender: *19 required: - action @@ -146303,9 +146307,9 @@ x-webhooks: type: string enum: - updated - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 package: description: Information about the package. type: object @@ -146658,7 +146662,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *731 + items: *737 source_url: type: string format: uri @@ -146728,7 +146732,7 @@ x-webhooks: - owner - package_version - registry - repository: *690 + repository: *696 sender: *19 required: - action @@ -146905,12 +146909,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *687 + enterprise: *693 id: type: integer - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - id @@ -146990,7 +146994,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &732 + personal_access_token_request: &738 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -147136,10 +147140,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *687 - organization: *689 + enterprise: *693 + organization: *695 sender: *19 - installation: *688 + installation: *694 required: - action - personal_access_token_request @@ -147218,11 +147222,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *732 - enterprise: *687 - organization: *689 + personal_access_token_request: *738 + enterprise: *693 + organization: *695 sender: *19 - installation: *688 + installation: *694 required: - action - personal_access_token_request @@ -147300,11 +147304,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *732 - enterprise: *687 - organization: *689 + personal_access_token_request: *738 + enterprise: *693 + organization: *695 sender: *19 - installation: *688 + installation: *694 required: - action - personal_access_token_request @@ -147381,11 +147385,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *732 - organization: *689 - enterprise: *687 + personal_access_token_request: *738 + organization: *695 + enterprise: *693 sender: *19 - installation: *688 + installation: *694 required: - action - personal_access_token_request @@ -147489,7 +147493,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *733 + last_response: *739 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147521,8 +147525,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 zen: description: Random string of GitHub zen. @@ -147767,10 +147771,10 @@ x-webhooks: - from required: - note - enterprise: *687 - installation: *688 - organization: *689 - project_card: &734 + enterprise: *693 + installation: *694 + organization: *695 + project_card: &740 title: Project Card type: object properties: @@ -147889,7 +147893,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *690 + repository: *696 sender: *19 required: - action @@ -147970,11 +147974,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - project_card: *734 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project_card: *740 + repository: *696 sender: *19 required: - action @@ -148054,9 +148058,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 project_card: title: Project Card type: object @@ -148184,8 +148188,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *727 - required: *728 + properties: *733 + required: *734 nullable: true sender: *19 required: @@ -148279,11 +148283,11 @@ x-webhooks: - from required: - note - enterprise: *687 - installation: *688 - organization: *689 - project_card: *734 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project_card: *740 + repository: *696 sender: *19 required: - action @@ -148377,9 +148381,9 @@ x-webhooks: - from required: - column_id - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 project_card: allOf: - title: Project Card @@ -148569,7 +148573,7 @@ x-webhooks: type: string required: - after_id - repository: *690 + repository: *696 sender: *19 required: - action @@ -148649,10 +148653,10 @@ x-webhooks: type: string enum: - closed - enterprise: *687 - installation: *688 - organization: *689 - project: &736 + enterprise: *693 + installation: *694 + organization: *695 + project: &742 title: Project type: object properties: @@ -148776,7 +148780,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *690 + repository: *696 sender: *19 required: - action @@ -148856,10 +148860,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - project_column: &735 + enterprise: *693 + installation: *694 + organization: *695 + project_column: &741 title: Project Column type: object properties: @@ -148898,7 +148902,7 @@ x-webhooks: - name - created_at - updated_at - repository: *690 + repository: *696 sender: *19 required: - action @@ -148977,18 +148981,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - project_column: *735 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *741 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *727 - required: *728 + properties: *733 + required: *734 nullable: true sender: *19 required: @@ -149078,11 +149082,11 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 - project_column: *735 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *741 + repository: *696 sender: *19 required: - action @@ -149162,11 +149166,11 @@ x-webhooks: type: string enum: - moved - enterprise: *687 - installation: *688 - organization: *689 - project_column: *735 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *741 + repository: *696 sender: *19 required: - action @@ -149246,11 +149250,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - project: *736 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project: *742 + repository: *696 sender: *19 required: - action @@ -149330,18 +149334,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - project: *736 + enterprise: *693 + installation: *694 + organization: *695 + project: *742 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *727 - required: *728 + properties: *733 + required: *734 nullable: true sender: *19 required: @@ -149443,11 +149447,11 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 - project: *736 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project: *742 + repository: *696 sender: *19 required: - action @@ -149526,11 +149530,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *687 - installation: *688 - organization: *689 - project: *736 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project: *742 + repository: *696 sender: *19 required: - action @@ -149611,9 +149615,9 @@ x-webhooks: type: string enum: - closed - installation: *688 - organization: *689 - projects_v2: &737 + installation: *694 + organization: *695 + projects_v2: &743 title: Projects v2 Project description: A projects v2 project type: object @@ -149756,9 +149760,9 @@ x-webhooks: type: string enum: - created - installation: *688 - organization: *689 - projects_v2: *737 + installation: *694 + organization: *695 + projects_v2: *743 sender: *19 required: - action @@ -149839,9 +149843,9 @@ x-webhooks: type: string enum: - deleted - installation: *688 - organization: *689 - projects_v2: *737 + installation: *694 + organization: *695 + projects_v2: *743 sender: *19 required: - action @@ -149958,9 +149962,9 @@ x-webhooks: type: string to: type: string - installation: *688 - organization: *689 - projects_v2: *737 + installation: *694 + organization: *695 + projects_v2: *743 sender: *19 required: - action @@ -150043,7 +150047,7 @@ x-webhooks: type: string enum: - archived - changes: &741 + changes: &747 type: object properties: archived_at: @@ -150057,9 +150061,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *688 - organization: *689 - projects_v2_item: &738 + installation: *694 + organization: *695 + projects_v2_item: &744 title: Projects v2 Item description: An item belonging to a project type: object @@ -150193,9 +150197,9 @@ x-webhooks: nullable: true to: type: string - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150277,9 +150281,9 @@ x-webhooks: type: string enum: - created - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150360,9 +150364,9 @@ x-webhooks: type: string enum: - deleted - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150468,7 +150472,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &739 + - &745 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150486,7 +150490,7 @@ x-webhooks: required: - id - name - - &740 + - &746 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150509,8 +150513,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *739 - - *740 + - *745 + - *746 required: - field_value - type: object @@ -150526,9 +150530,9 @@ x-webhooks: nullable: true required: - body - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150623,9 +150627,9 @@ x-webhooks: to: type: string nullable: true - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150708,10 +150712,10 @@ x-webhooks: type: string enum: - restored - changes: *741 - installation: *688 - organization: *689 - projects_v2_item: *738 + changes: *747 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150793,9 +150797,9 @@ x-webhooks: type: string enum: - reopened - installation: *688 - organization: *689 - projects_v2: *737 + installation: *694 + organization: *695 + projects_v2: *743 sender: *19 required: - action @@ -150876,9 +150880,9 @@ x-webhooks: type: string enum: - created - installation: *688 - organization: *689 - projects_v2_status_update: &742 + installation: *694 + organization: *695 + projects_v2_status_update: &748 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -151005,9 +151009,9 @@ x-webhooks: type: string enum: - deleted - installation: *688 - organization: *689 - projects_v2_status_update: *742 + installation: *694 + organization: *695 + projects_v2_status_update: *748 sender: *19 required: - action @@ -151143,9 +151147,9 @@ x-webhooks: type: string format: date nullable: true - installation: *688 - organization: *689 - projects_v2_status_update: *742 + installation: *694 + organization: *695 + projects_v2_status_update: *748 sender: *19 required: - action @@ -151216,10 +151220,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - repository @@ -151296,13 +151300,13 @@ x-webhooks: type: string enum: - assigned - assignee: *714 - enterprise: *687 - installation: *688 - number: &743 + assignee: *720 + enterprise: *693 + installation: *694 + number: &749 description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -153585,7 +153589,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -153667,11 +153671,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -155949,7 +155953,7 @@ x-webhooks: - draft reason: type: string - repository: *690 + repository: *696 sender: *19 required: - action @@ -156031,11 +156035,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -158313,7 +158317,7 @@ x-webhooks: - draft reason: type: string - repository: *690 + repository: *696 sender: *19 required: - action @@ -158395,13 +158399,13 @@ x-webhooks: type: string enum: - closed - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: &744 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: &750 allOf: - - *545 + - *551 - type: object properties: allow_auto_merge: @@ -158463,7 +158467,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *690 + repository: *696 sender: *19 required: - action @@ -158544,12 +158548,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -158629,11 +158633,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *687 - milestone: *528 - number: *743 - organization: *689 - pull_request: &745 + enterprise: *693 + milestone: *534 + number: *749 + organization: *695 + pull_request: &751 title: Pull Request type: object properties: @@ -160896,7 +160900,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -160975,11 +160979,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -163261,7 +163265,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *690 + repository: *696 sender: *19 required: - action @@ -163385,12 +163389,12 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -163470,11 +163474,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -165741,7 +165745,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -165821,11 +165825,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *687 - installation: *688 - label: *713 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + label: *719 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -168107,7 +168111,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -168188,10 +168192,10 @@ x-webhooks: type: string enum: - locked - enterprise: *687 - installation: *688 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -170471,7 +170475,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -170551,12 +170555,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *687 - milestone: *528 - number: *743 - organization: *689 - pull_request: *745 - repository: *690 + enterprise: *693 + milestone: *534 + number: *749 + organization: *695 + pull_request: *751 + repository: *696 sender: *19 required: - action @@ -170635,12 +170639,12 @@ x-webhooks: type: string enum: - opened - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -170721,12 +170725,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -170806,12 +170810,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -171177,9 +171181,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -173349,7 +173353,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *690 + repository: *696 sender: *19 required: - action @@ -173429,7 +173433,7 @@ x-webhooks: type: string enum: - deleted - comment: &747 + comment: &753 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. @@ -173714,9 +173718,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -175874,7 +175878,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *690 + repository: *696 sender: *19 required: - action @@ -175954,11 +175958,11 @@ x-webhooks: type: string enum: - edited - changes: *746 - comment: *747 - enterprise: *687 - installation: *688 - organization: *689 + changes: *752 + comment: *753 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -178119,7 +178123,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *690 + repository: *696 sender: *19 required: - action @@ -178200,9 +178204,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -180375,7 +180379,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 + repository: *696 review: description: The review that was affected. type: object @@ -180618,9 +180622,9 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -182674,8 +182678,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 - review: &748 + repository: *696 + review: &754 description: The review that was affected. type: object properties: @@ -182904,12 +182908,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -185192,7 +185196,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 requested_reviewer: title: User type: object @@ -185276,12 +185280,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -187571,7 +187575,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187763,12 +187767,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -190053,7 +190057,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 requested_reviewer: title: User type: object @@ -190138,12 +190142,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -192419,7 +192423,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192600,9 +192604,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -194777,8 +194781,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 - review: *748 + repository: *696 + review: *754 sender: *19 required: - action @@ -194858,9 +194862,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -196930,7 +196934,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 + repository: *696 sender: *19 thread: type: object @@ -197313,9 +197317,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -199371,7 +199375,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 + repository: *696 sender: *19 thread: type: object @@ -199757,10 +199761,10 @@ x-webhooks: type: string before: type: string - enterprise: *687 - installation: *688 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -202031,7 +202035,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -202113,11 +202117,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *749 - enterprise: *687 - installation: *688 - number: *743 - organization: *689 + assignee: *755 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -204400,7 +204404,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -204479,11 +204483,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *687 - installation: *688 - label: *713 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + label: *719 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -206756,7 +206760,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -206837,10 +206841,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *687 - installation: *688 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -209105,7 +209109,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -209305,7 +209309,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *687 + enterprise: *693 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209397,8 +209401,8 @@ x-webhooks: - url - author - committer - installation: *688 - organization: *689 + installation: *694 + organization: *695 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -209973,9 +209977,9 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 registry_package: type: object properties: @@ -210421,7 +210425,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *731 + items: *737 summary: type: string tag_name: @@ -210475,7 +210479,7 @@ x-webhooks: - owner - package_version - registry - repository: *690 + repository: *696 sender: *19 required: - action @@ -210553,9 +210557,9 @@ x-webhooks: type: string enum: - updated - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 registry_package: type: object properties: @@ -210863,7 +210867,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *731 + items: *737 summary: type: string tag_name: @@ -210912,7 +210916,7 @@ x-webhooks: - owner - package_version - registry - repository: *690 + repository: *696 sender: *19 required: - action @@ -210989,10 +210993,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - release: &750 + enterprise: *693 + installation: *694 + organization: *695 + release: &756 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -211297,7 +211301,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *690 + repository: *696 sender: *19 required: - action @@ -211374,11 +211378,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - release: *750 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + release: *756 + repository: *696 sender: *19 required: - action @@ -211486,11 +211490,11 @@ x-webhooks: type: boolean required: - to - enterprise: *687 - installation: *688 - organization: *689 - release: *750 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + release: *756 + repository: *696 sender: *19 required: - action @@ -211568,9 +211572,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -211879,7 +211883,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *690 + repository: *696 sender: *19 required: - action @@ -211955,10 +211959,10 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 - release: &751 + enterprise: *693 + installation: *694 + organization: *695 + release: &757 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -212264,7 +212268,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *690 + repository: *696 sender: *19 required: - action @@ -212340,11 +212344,11 @@ x-webhooks: type: string enum: - released - enterprise: *687 - installation: *688 - organization: *689 - release: *750 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + release: *756 + repository: *696 sender: *19 required: - action @@ -212420,11 +212424,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *687 - installation: *688 - organization: *689 - release: *751 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + release: *757 + repository: *696 sender: *19 required: - action @@ -212500,11 +212504,11 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_advisory: *598 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_advisory: *604 sender: *19 required: - action @@ -212580,11 +212584,11 @@ x-webhooks: type: string enum: - reported - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_advisory: *598 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_advisory: *604 sender: *19 required: - action @@ -212660,10 +212664,10 @@ x-webhooks: type: string enum: - archived - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -212740,10 +212744,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -212821,10 +212825,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -212908,10 +212912,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213023,10 +213027,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213098,10 +213102,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 status: type: string @@ -213182,10 +213186,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213262,10 +213266,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213359,10 +213363,10 @@ x-webhooks: - name required: - repository - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213442,11 +213446,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_ruleset: *278 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *284 sender: *19 required: - action @@ -213524,11 +213528,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_ruleset: *278 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *284 sender: *19 required: - action @@ -213606,11 +213610,11 @@ x-webhooks: type: string enum: - edited - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_ruleset: *278 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *284 changes: type: object properties: @@ -213629,16 +213633,16 @@ x-webhooks: properties: added: type: array - items: *272 + items: *278 deleted: type: array - items: *272 + items: *278 updated: type: array items: type: object properties: - condition: *272 + condition: *278 changes: type: object properties: @@ -213671,16 +213675,16 @@ x-webhooks: properties: added: type: array - items: *277 + items: *283 deleted: type: array - items: *277 + items: *283 updated: type: array items: type: object properties: - rule: *277 + rule: *283 changes: type: object properties: @@ -213914,10 +213918,10 @@ x-webhooks: - from required: - owner - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213995,10 +213999,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214076,7 +214080,7 @@ x-webhooks: type: string enum: - create - alert: &752 + alert: &758 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214197,10 +214201,10 @@ x-webhooks: type: string enum: - open - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214406,10 +214410,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214487,11 +214491,11 @@ x-webhooks: type: string enum: - reopen - alert: *752 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *758 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214690,10 +214694,10 @@ x-webhooks: enum: - fixed - open - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214771,7 +214775,7 @@ x-webhooks: type: string enum: - created - alert: &753 + alert: &759 type: object properties: number: *85 @@ -214877,10 +214881,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214961,11 +214965,11 @@ x-webhooks: type: string enum: - created - alert: *753 - installation: *688 - location: *754 - organization: *689 - repository: *690 + alert: *759 + installation: *694 + location: *760 + organization: *695 + repository: *696 sender: *19 required: - location @@ -215203,11 +215207,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *753 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *759 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -215285,11 +215289,11 @@ x-webhooks: type: string enum: - reopened - alert: *753 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *759 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -215367,11 +215371,11 @@ x-webhooks: type: string enum: - resolved - alert: *753 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *759 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -215449,11 +215453,11 @@ x-webhooks: type: string enum: - validated - alert: *753 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *759 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -215529,11 +215533,11 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - security_advisory: &755 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + security_advisory: &761 description: The details of the security advisory, including summary, description, and severity. type: object @@ -215716,11 +215720,11 @@ x-webhooks: type: string enum: - updated - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - security_advisory: *755 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + security_advisory: *761 sender: *19 required: - action @@ -215793,10 +215797,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -215980,11 +215984,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *269 - enterprise: *687 - installation: *688 - organization: *689 - repository: *331 + security_and_analysis: *275 + enterprise: *693 + installation: *694 + organization: *695 + repository: *337 sender: *19 required: - changes @@ -216062,12 +216066,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: &756 + sponsorship: &762 type: object properties: created_at: @@ -216368,12 +216372,12 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - sponsorship @@ -216461,12 +216465,12 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - changes @@ -216543,17 +216547,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &757 + effective_date: &763 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - sponsorship @@ -216627,7 +216631,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &758 + changes: &764 type: object properties: tier: @@ -216671,13 +216675,13 @@ x-webhooks: - from required: - tier - effective_date: *757 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + effective_date: *763 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - changes @@ -216754,13 +216758,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *758 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + changes: *764 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - changes @@ -216834,10 +216838,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -216920,10 +216924,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217339,15 +217343,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *687 + enterprise: *693 id: description: The unique identifier of the status. type: integer - installation: *688 + installation: *694 name: type: string - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 sha: description: The Commit SHA. @@ -217462,9 +217466,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *118 - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -217554,9 +217558,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *118 - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -217646,9 +217650,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *118 - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -217738,9 +217742,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *118 - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -217817,12 +217821,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - team: &759 + team: &765 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218012,9 +218016,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -218472,7 +218476,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - team @@ -218548,9 +218552,9 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -219008,7 +219012,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - team @@ -219085,9 +219089,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -219545,7 +219549,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - team @@ -219689,9 +219693,9 @@ x-webhooks: - from required: - permissions - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -220149,7 +220153,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - changes @@ -220227,9 +220231,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -220687,7 +220691,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - team @@ -220763,10 +220767,10 @@ x-webhooks: type: string enum: - started - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -220839,16 +220843,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *687 + enterprise: *693 inputs: type: object nullable: true additionalProperties: true - installation: *688 - organization: *689 + installation: *694 + organization: *695 ref: type: string - repository: *690 + repository: *696 sender: *19 workflow: type: string @@ -220930,10 +220934,10 @@ x-webhooks: type: string enum: - completed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 workflow_job: allOf: @@ -221170,7 +221174,7 @@ x-webhooks: type: string required: - conclusion - deployment: *461 + deployment: *467 required: - action - repository @@ -221249,10 +221253,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 workflow_job: allOf: @@ -221512,7 +221516,7 @@ x-webhooks: required: - status - steps - deployment: *461 + deployment: *467 required: - action - repository @@ -221591,10 +221595,10 @@ x-webhooks: type: string enum: - queued - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 workflow_job: type: object @@ -221729,7 +221733,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *467 required: - action - repository @@ -221808,10 +221812,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 workflow_job: type: object @@ -221947,7 +221951,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *467 required: - action - repository @@ -222027,12 +222031,12 @@ x-webhooks: type: string enum: - completed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: *709 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -223031,12 +223035,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: *709 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -224020,12 +224024,12 @@ x-webhooks: type: string enum: - requested - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: *709 + workflow: *715 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index 02cb38d7c..e39b26a86 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -59416,6 +59416,305 @@ "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", + "nullable": true + }, + "documentation_url": { + "type": "string", + "nullable": true + }, + "detail": { + "type": "string", + "nullable": true + }, + "status": { + "type": "integer" + }, + "scimType": { + "type": "string", + "nullable": true + }, + "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", @@ -434431,7 +434730,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", @@ -434966,7 +435265,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" @@ -435475,7 +435774,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" @@ -435950,7 +436249,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" @@ -436542,7 +436841,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" @@ -437132,7 +437431,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" @@ -437429,7 +437728,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" @@ -438025,7 +438324,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" @@ -438789,7 +439088,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" @@ -439331,7 +439630,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" @@ -440060,7 +440359,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" @@ -440788,7 +441087,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/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 96f908a4c..1569b7913 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -846,7 +846,7 @@ paths: - subscriptions_url - type - url - type: &289 + type: &295 type: string description: The type of credit the user is receiving. enum: @@ -979,7 +979,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &139 + schema: &145 title: Validation Error Simple description: Validation Error Simple type: object @@ -1012,7 +1012,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: - - &600 + - &606 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1524,7 +1524,7 @@ paths: schema: type: integer default: 30 - - &210 + - &216 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 @@ -1540,7 +1540,7 @@ paths: application/json: schema: type: array - items: &211 + items: &217 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1617,7 +1617,7 @@ paths: - installation_id - repository_id examples: - default: &212 + default: &218 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1649,7 +1649,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &610 + schema: &616 title: Scim Error description: Scim Error type: object @@ -1676,7 +1676,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &138 + schema: &144 title: Validation Error description: Validation Error type: object @@ -1745,7 +1745,7 @@ paths: description: Response content: application/json: - schema: &213 + schema: &219 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1859,7 +1859,7 @@ paths: - request - response examples: - default: &214 + default: &220 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1919,7 +1919,7 @@ paths: parameters: - *17 responses: - '202': &141 + '202': &147 description: Accepted content: application/json: @@ -2840,7 +2840,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &267 + properties: &273 id: description: Unique identifier of the repository example: 42 @@ -3269,7 +3269,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &268 + required: &274 - archive_url - assignees_url - blobs_url @@ -7282,7 +7282,7 @@ paths: description: Response content: application/json: - schema: &142 + schema: &148 type: object properties: total_active_caches_count: @@ -7297,7 +7297,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &143 + default: &149 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7391,7 +7391,7 @@ paths: - all - local_only - selected - selected_actions_url: &146 + selected_actions_url: &152 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` @@ -7759,7 +7759,7 @@ paths: description: Success response content: application/json: - schema: &149 + schema: &155 type: object properties: default_workflow_permissions: &46 @@ -7807,7 +7807,7 @@ paths: required: true content: application/json: - schema: &150 + schema: &156 type: object properties: default_workflow_permissions: *46 @@ -8628,7 +8628,7 @@ paths: application/json: schema: type: array - items: &154 + items: &160 title: Runner Application description: Runner Application type: object @@ -8653,7 +8653,7 @@ paths: - download_url - filename examples: - default: &155 + default: &161 value: - os: osx architecture: x64 @@ -8737,7 +8737,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &156 + '201': &162 description: Response content: application/json: @@ -8847,7 +8847,7 @@ paths: - token - expires_at examples: - default: &157 + default: &163 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -8887,7 +8887,7 @@ paths: application/json: schema: *58 examples: - default: &158 + default: &164 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -8919,7 +8919,7 @@ paths: application/json: schema: *55 examples: - default: &159 + default: &165 value: id: 23 name: MBP @@ -9133,7 +9133,7 @@ paths: - *40 - *54 responses: - '200': &160 + '200': &166 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: parameters: - *40 - *54 - - &161 + - &167 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9280,7 +9280,7 @@ paths: required: true content: application/json: - schema: &168 + schema: &174 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9351,7 +9351,7 @@ paths: required: false schema: type: string - - &169 + - &175 name: include description: |- The event types to include: @@ -9369,7 +9369,7 @@ paths: - web - git - all - - &170 + - &176 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. @@ -9377,7 +9377,7 @@ paths: required: false schema: type: string - - &171 + - &177 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. @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &172 + - &178 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9407,7 +9407,7 @@ paths: application/json: schema: type: array - items: &173 + items: &179 type: object properties: "@timestamp": @@ -9529,7 +9529,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &174 + default: &180 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10091,7 +10091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &176 + - &182 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`, @@ -10101,7 +10101,7 @@ paths: schema: &79 type: string description: The name of the tool used to generate the code scanning analysis. - - &177 + - &183 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 @@ -10124,7 +10124,7 @@ paths: be returned. in: query required: false - schema: &178 + schema: &184 type: string description: State of a code scanning alert. enum: @@ -10149,7 +10149,7 @@ paths: application/json: schema: type: array - items: &179 + items: &185 type: object properties: number: &85 @@ -10178,7 +10178,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &399 + instances_url: &405 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10213,7 +10213,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &400 + dismissed_reason: &406 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -10222,13 +10222,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &401 + dismissed_comment: &407 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &402 + rule: &408 type: object properties: id: @@ -10281,7 +10281,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &403 + tool: &409 type: object properties: name: *79 @@ -10291,15 +10291,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *80 - most_recent_instance: &404 + most_recent_instance: &410 type: object properties: - ref: &397 + ref: &403 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &410 + analysis_key: &416 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10310,7 +10310,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &411 + category: &417 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -10648,7 +10648,7 @@ paths: - most_recent_instance - repository examples: - default: &180 + default: &186 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11288,7 +11288,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &186 + items: &192 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11306,7 +11306,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &232 + - &238 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11365,7 +11365,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &245 + properties: &251 id: description: Unique identifier of the team type: integer @@ -11421,7 +11421,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &246 + required: &252 - id - node_id - url @@ -11532,7 +11532,7 @@ paths: - created_at additionalProperties: false examples: - default: &187 + default: &193 value: total_seats: 2 seats: @@ -12326,7 +12326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &194 + - &200 name: state in: query description: |- @@ -12335,7 +12335,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &195 + - &201 name: severity in: query description: |- @@ -12344,7 +12344,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &196 + - &202 name: ecosystem in: query description: |- @@ -12353,14 +12353,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &197 + - &203 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 - - &198 + - &204 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12370,7 +12370,7 @@ paths: enum: - development - runtime - - &199 + - &205 name: sort in: query description: |- @@ -12386,7 +12386,7 @@ paths: - *78 - *76 - *77 - - &200 + - &206 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12399,7 +12399,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &201 + - &207 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12419,7 +12419,7 @@ paths: application/json: schema: type: array - items: &202 + items: &208 type: object description: A Dependabot alert. properties: @@ -12469,7 +12469,7 @@ paths: enum: - development - runtime - security_advisory: &453 + security_advisory: &459 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12700,7 +12700,7 @@ paths: nullable: true maxLength: 280 fixed_at: *94 - auto_dismissed_at: &454 + auto_dismissed_at: &460 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12726,7 +12726,7 @@ paths: - repository additionalProperties: false examples: - default: &203 + default: &209 value: - number: 2 state: dismissed @@ -13132,7 +13132,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &280 + - &286 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13143,7 +13143,7 @@ paths: enum: - open - resolved - - &281 + - &287 name: secret_type in: query description: |- @@ -13153,7 +13153,7 @@ paths: required: false schema: type: string - - &282 + - &288 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13162,7 +13162,7 @@ paths: required: false schema: type: string - - &283 + - &289 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. @@ -13178,7 +13178,7 @@ paths: - *18 - *76 - *77 - - &284 + - &290 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13187,7 +13187,7 @@ paths: required: false schema: type: string - - &285 + - &291 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13196,7 +13196,7 @@ paths: schema: type: boolean default: false - - &286 + - &292 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13212,7 +13212,7 @@ paths: application/json: schema: type: array - items: &287 + items: &293 type: object properties: number: *85 @@ -13231,14 +13231,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &593 + state: &599 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: &594 + resolution: &600 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -13330,7 +13330,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &288 + default: &294 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13591,7 +13591,7 @@ paths: description: Response content: application/json: - schema: &291 + schema: &297 type: object properties: total_minutes_used: @@ -13661,7 +13661,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &292 + default: &298 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13699,7 +13699,7 @@ paths: description: Success content: application/json: - schema: &293 + schema: &299 type: object properties: total_advanced_security_committers: @@ -13754,7 +13754,7 @@ paths: required: - repositories examples: - default: &294 + default: &300 value: total_advanced_security_committers: 2 total_count: 2 @@ -13905,7 +13905,7 @@ paths: message: Resources successfully added to the cost center. '400': *15 '403': *29 - '409': &140 + '409': &146 description: Conflict content: application/json: @@ -13997,7 +13997,7 @@ paths: description: Response content: application/json: - schema: &295 + schema: &301 type: object properties: total_gigabytes_bandwidth_used: @@ -14015,7 +14015,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &296 + default: &302 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14047,7 +14047,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &303 type: object properties: days_left_in_billing_cycle: @@ -14065,7 +14065,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &298 + default: &304 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14090,7 +14090,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - name: year + - &135 + 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. @@ -14098,21 +14099,24 @@ paths: required: false schema: type: integer - - name: month + - &136 + 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 + - &137 + 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 + - &138 + 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 @@ -14131,7 +14135,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: + schema: &139 type: object properties: usageItems: @@ -14184,7 +14188,7 @@ paths: - netAmount - organizationName examples: - default: + default: &140 value: usageItems: - date: '2023-08-01' @@ -14310,7 +14314,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *40 - - &244 + - &250 name: team_slug description: The slug of the team name. in: path @@ -14350,7 +14354,7 @@ paths: type: array items: *101 examples: - default: &188 + default: &194 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -14567,7 +14571,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &502 + properties: &508 id: type: integer format: int64 @@ -14678,7 +14682,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &438 + properties: &444 url: type: string format: uri @@ -14748,7 +14752,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &439 + required: &445 - closed_issues - creator - description @@ -14889,7 +14893,7 @@ paths: - hooray - eyes - rocket - required: &503 + required: &509 - assignee - closed_at - comments @@ -14911,7 +14915,7 @@ paths: - author_association - created_at - updated_at - comment: &500 + comment: &506 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15476,7 +15480,7 @@ paths: url: type: string format: uri - user: &649 + user: &655 title: Public User description: Public User type: object @@ -17341,7 +17345,7 @@ paths: - closed - all default: open - - &233 + - &239 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17392,7 +17396,7 @@ paths: type: array items: *118 examples: - default: &234 + default: &240 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18761,14 +18765,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: - - &318 + - &324 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &319 + - &325 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18839,7 +18843,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &332 + '301': &338 description: Moved permanently content: application/json: @@ -18861,7 +18865,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &531 + - &537 name: all description: If `true`, show notifications marked as read. in: query @@ -18869,7 +18873,7 @@ paths: schema: type: boolean default: false - - &532 + - &538 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18879,7 +18883,7 @@ paths: type: boolean default: false - *108 - - &533 + - &539 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: @@ -18911,11 +18915,11 @@ paths: properties: id: type: string - repository: &153 + repository: &159 title: Minimal Repository description: Minimal Repository type: object - properties: &205 + properties: &211 id: type: integer format: int64 @@ -19191,7 +19195,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &269 + security_and_analysis: &275 nullable: true type: object properties: @@ -19255,7 +19259,7 @@ paths: enum: - enabled - disabled - required: &206 + required: &212 - archive_url - assignees_url - blobs_url @@ -19343,7 +19347,7 @@ paths: - url - subscription_url examples: - default: &534 + default: &540 value: - id: '1' repository: @@ -19889,7 +19893,7 @@ paths: type: array items: *52 examples: - default: &667 + default: &673 value: - login: github id: 1 @@ -19953,7 +19957,7 @@ paths: type: integer custom_roles: type: array - items: &189 + items: &195 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20001,7 +20005,7 @@ paths: - created_at - updated_at examples: - default: &190 + default: &196 value: id: 8030 name: Security Engineer @@ -20033,6 +20037,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: + - &141 + name: org + description: The organization name. The name is not case sensitive. + in: path + required: true + schema: + type: string + - *135 + - *136 + - *137 + - *138 + responses: + '200': + description: Billing usage report response for an organization + content: + application/json: + schema: *139 + examples: + default: *140 + '400': *15 + '403': *29 + '500': *84 + '503': *96 + x-github: + githubCloudOnly: false + enabledForGitHubApps: true + category: billing + subcategory: enhanced-billing "/orgs/{org}": get: summary: Get an organization @@ -20053,19 +20099,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - &135 - name: org - description: The organization name. The name is not case sensitive. - in: path - required: true - schema: - type: string + - *141 responses: '200': description: Response content: application/json: - schema: &136 + schema: &142 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -20368,7 +20408,7 @@ paths: - updated_at - archived_at examples: - default-response: &137 + default-response: &143 value: login: github id: 1 @@ -20461,7 +20501,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *135 + - *141 requestBody: required: false content: @@ -20684,18 +20724,18 @@ paths: description: Response content: application/json: - schema: *136 + schema: *142 examples: - default: *137 + default: *143 '422': description: Validation failed content: application/json: schema: oneOf: - - *138 - - *139 - '409': *140 + - *144 + - *145 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20718,9 +20758,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *135 + - *141 responses: - '202': *141 + '202': *147 '404': *7 '403': *29 x-github: @@ -20743,15 +20783,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *142 + schema: *148 examples: - default: *143 + default: *149 headers: Link: *39 x-github: @@ -20774,7 +20814,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: - - *135 + - *141 - *18 - *20 responses: @@ -20792,7 +20832,7 @@ paths: type: integer repository_cache_usages: type: array - items: &337 + items: &343 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20847,13 +20887,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: - - *135 + - *141 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &144 + schema: &150 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20867,7 +20907,7 @@ paths: required: - include_claim_keys examples: - default: &145 + default: &151 value: include_claim_keys: - repo @@ -20889,20 +20929,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: - - *135 + - *141 requestBody: required: true content: application/json: - schema: *144 + schema: *150 examples: - default: *145 + default: *151 responses: '201': description: Empty response content: application/json: - schema: &164 + schema: &170 title: Empty Object description: An object without any properties. type: object @@ -20932,7 +20972,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: - - *135 + - *141 responses: '200': description: Response @@ -20941,7 +20981,7 @@ paths: schema: type: object properties: - enabled_repositories: &147 + enabled_repositories: &153 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -20955,7 +20995,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *42 - selected_actions_url: *146 + selected_actions_url: *152 required: - enabled_repositories examples: @@ -20984,7 +21024,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: - - *135 + - *141 responses: '204': description: Response @@ -20995,7 +21035,7 @@ paths: schema: type: object properties: - enabled_repositories: *147 + enabled_repositories: *153 allowed_actions: *42 required: - enabled_repositories @@ -21023,7 +21063,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: - - *135 + - *141 - *18 - *20 responses: @@ -21043,7 +21083,7 @@ paths: type: array items: *57 examples: - default: &661 + default: &667 value: total_count: 1 repositories: @@ -21183,7 +21223,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: - - *135 + - *141 responses: '204': description: Response @@ -21227,8 +21267,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: - - *135 - - &148 + - *141 + - &154 name: repository_id description: The unique identifier of the repository. in: path @@ -21256,8 +21296,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: - - *135 - - *148 + - *141 + - *154 responses: '204': description: Response @@ -21280,7 +21320,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: - - *135 + - *141 responses: '200': description: Response @@ -21311,7 +21351,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: - - *135 + - *141 responses: '204': description: Response @@ -21343,13 +21383,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *149 + schema: *155 examples: default: *48 x-github: @@ -21372,7 +21412,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: - - *135 + - *141 responses: '204': description: Success response @@ -21383,7 +21423,7 @@ paths: required: false content: application/json: - schema: *150 + schema: *156 examples: default: *48 x-github: @@ -21405,7 +21445,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: - - *135 + - *141 - *18 - *20 - name: visible_to_repository @@ -21430,7 +21470,7 @@ paths: type: number runner_groups: type: array - items: &151 + items: &157 type: object properties: id: @@ -21542,7 +21582,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: - - *135 + - *141 requestBody: required: true content: @@ -21611,9 +21651,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *157 examples: - default: &152 + default: &158 value: id: 2 name: octo-runner-group @@ -21648,14 +21688,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: - - *135 + - *141 - *51 responses: '200': description: Response content: application/json: - schema: *151 + schema: *157 examples: default: value: @@ -21691,7 +21731,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: - - *135 + - *141 - *51 requestBody: required: true @@ -21742,9 +21782,9 @@ paths: description: Response content: application/json: - schema: *151 + schema: *157 examples: - default: *152 + default: *158 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21763,7 +21803,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: - - *135 + - *141 - *51 responses: '204': @@ -21787,7 +21827,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: - - *135 + - *141 - *51 - *20 - *18 @@ -21806,9 +21846,9 @@ paths: type: number repositories: type: array - items: *153 + items: *159 examples: - default: &652 + default: &658 value: total_count: 1 repositories: @@ -22060,7 +22100,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: - - *135 + - *141 - *51 requestBody: required: true @@ -22105,9 +22145,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: - - *135 + - *141 - *51 - - *148 + - *154 responses: '204': description: Response @@ -22129,9 +22169,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: - - *135 + - *141 - *51 - - *148 + - *154 responses: '204': description: Response @@ -22154,7 +22194,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: - - *135 + - *141 - *51 - *18 - *20 @@ -22196,7 +22236,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: - - *135 + - *141 - *51 requestBody: required: true @@ -22241,7 +22281,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: - - *135 + - *141 - *51 - *54 responses: @@ -22265,7 +22305,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: - - *135 + - *141 - *51 - *54 responses: @@ -22297,7 +22337,7 @@ paths: in: query schema: type: string - - *135 + - *141 - *18 - *20 responses: @@ -22341,7 +22381,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: - - *135 + - *141 responses: '200': description: Response @@ -22349,9 +22389,9 @@ paths: application/json: schema: type: array - items: *154 + items: *160 examples: - default: *155 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22373,7 +22413,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: - - *135 + - *141 requestBody: required: true content: @@ -22416,7 +22456,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *156 + '201': *162 '404': *7 '422': *8 x-github: @@ -22446,7 +22486,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: - - *135 + - *141 responses: '201': description: Response @@ -22454,7 +22494,7 @@ paths: application/json: schema: *58 examples: - default: *157 + default: *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22482,7 +22522,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: - - *135 + - *141 responses: '201': description: Response @@ -22490,7 +22530,7 @@ paths: application/json: schema: *58 examples: - default: *158 + default: *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22512,7 +22552,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: - - *135 + - *141 - *54 responses: '200': @@ -22521,7 +22561,7 @@ paths: application/json: schema: *55 examples: - default: *159 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22542,7 +22582,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: - - *135 + - *141 - *54 responses: '204': @@ -22568,7 +22608,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: - - *135 + - *141 - *54 responses: '200': *60 @@ -22593,7 +22633,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: - - *135 + - *141 - *54 requestBody: required: true @@ -22642,7 +22682,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: - - *135 + - *141 - *54 requestBody: required: true @@ -22692,10 +22732,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: - - *135 + - *141 - *54 responses: - '200': *160 + '200': *166 '404': *7 x-github: githubCloudOnly: false @@ -22722,9 +22762,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: - - *135 + - *141 - *54 - - *161 + - *167 responses: '200': *60 '404': *7 @@ -22751,7 +22791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *135 + - *141 - *18 - *20 responses: @@ -22769,7 +22809,7 @@ paths: type: integer secrets: type: array - items: &162 + items: &168 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22842,13 +22882,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: &357 + schema: &363 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22877,7 +22917,7 @@ paths: - key_id - key examples: - default: &358 + default: &364 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22902,8 +22942,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *135 - - &163 + - *141 + - &169 name: secret_name description: The name of the secret. in: path @@ -22915,7 +22955,7 @@ paths: description: Response content: application/json: - schema: *162 + schema: *168 examples: default: value: @@ -22945,8 +22985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -23001,7 +23041,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -23027,8 +23067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '204': description: Response @@ -23054,8 +23094,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: - - *135 - - *163 + - *141 + - *169 - *20 - *18 responses: @@ -23073,9 +23113,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: &167 + default: &173 value: total_count: 1 repositories: @@ -23167,8 +23207,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: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -23220,8 +23260,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -23254,8 +23294,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -23287,8 +23327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *135 - - &342 + - *141 + - &348 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)." @@ -23312,7 +23352,7 @@ paths: type: integer variables: type: array - items: &165 + items: &171 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23397,7 +23437,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *135 + - *141 requestBody: required: true content: @@ -23445,7 +23485,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -23470,8 +23510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *135 - - &166 + - *141 + - &172 name: name description: The name of the variable. in: path @@ -23483,7 +23523,7 @@ paths: description: Response content: application/json: - schema: *165 + schema: *171 examples: default: value: @@ -23513,8 +23553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *135 - - *166 + - *141 + - *172 requestBody: required: true content: @@ -23576,8 +23616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *135 - - *166 + - *141 + - *172 responses: '204': description: Response @@ -23603,8 +23643,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: - - *135 - - *166 + - *141 + - *172 - *20 - *18 responses: @@ -23622,9 +23662,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: *167 + default: *173 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23650,8 +23690,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: - - *135 - - *166 + - *141 + - *172 requestBody: required: true content: @@ -23700,8 +23740,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: - - *135 - - *166 + - *141 + - *172 - name: repository_id in: path required: true @@ -23735,8 +23775,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: - - *135 - - *166 + - *141 + - *172 - name: repository_id in: path required: true @@ -23767,7 +23807,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *135 + - *141 responses: '200': description: Response @@ -23794,11 +23834,11 @@ paths: required: true content: application/json: - schema: *168 + schema: *174 examples: default: *63 parameters: - - *135 + - *141 responses: '200': description: Response @@ -23822,7 +23862,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *135 + - *141 responses: '204': description: Response @@ -23850,7 +23890,7 @@ paths: - *18 - *76 - *77 - - *135 + - *141 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23891,7 +23931,7 @@ paths: repository_id: type: integer examples: - default: &371 + default: &377 value: attestations: - bundle: @@ -24009,7 +24049,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: - - *135 + - *141 - 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). @@ -24017,10 +24057,10 @@ paths: required: false schema: type: string - - *169 - - *170 - - *171 - - *172 + - *175 + - *176 + - *177 + - *178 - *18 responses: '200': @@ -24029,9 +24069,9 @@ paths: application/json: schema: type: array - items: *173 + items: *179 examples: - default: *174 + default: *180 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24048,7 +24088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *135 + - *141 - *18 - *20 responses: @@ -24060,7 +24100,7 @@ paths: type: array items: *19 examples: - default: &235 + default: &241 value: - login: octocat id: 1 @@ -24098,8 +24138,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: - - *135 - - &175 + - *141 + - &181 name: username description: The handle for the GitHub user account. in: path @@ -24130,8 +24170,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -24151,8 +24191,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -24177,9 +24217,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: - - *135 - - *176 - - *177 + - *141 + - *182 + - *183 - *76 - *77 - *20 @@ -24190,7 +24230,7 @@ paths: be returned. in: query required: false - schema: *178 + schema: *184 - name: sort description: The property by which to sort the results. in: query @@ -24206,7 +24246,7 @@ paths: be returned. in: query required: false - schema: &398 + schema: &404 type: string description: Severity of a code scanning alert. enum: @@ -24224,9 +24264,9 @@ paths: application/json: schema: type: array - items: *179 + items: *185 examples: - default: *180 + default: *186 headers: Link: *39 '404': *7 @@ -24252,7 +24292,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: - - *135 + - *141 - name: target_type in: query description: The target type of the code security configuration @@ -24280,7 +24320,7 @@ paths: application/json: schema: type: array - items: &181 + items: &187 type: object description: A code security configuration properties: @@ -24519,7 +24559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *135 + - *141 requestBody: required: true content: @@ -24691,9 +24731,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *181 + schema: *187 examples: - default: &182 + default: &188 value: id: 1325 target_type: organization @@ -24739,7 +24779,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *135 + - *141 responses: '200': description: Response @@ -24759,7 +24799,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *181 + configuration: *187 examples: default: value: @@ -24843,7 +24883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *135 + - *141 requestBody: required: true content: @@ -24866,12 +24906,12 @@ paths: - 32 - 91 responses: - '204': &184 + '204': &190 description: A header with no content is returned. '400': *15 '403': *29 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24893,8 +24933,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *135 - - &183 + - *141 + - &189 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -24906,9 +24946,9 @@ paths: description: Response content: application/json: - schema: *181 + schema: *187 examples: - default: *182 + default: *188 '304': *37 '403': *29 '404': *7 @@ -24932,8 +24972,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *135 - - *183 + - *141 + - *189 requestBody: required: true content: @@ -25085,7 +25125,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *181 + schema: *187 examples: default: value: @@ -25136,14 +25176,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *135 - - *183 + - *141 + - *189 responses: - '204': *184 + '204': *190 '400': *15 '403': *29 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25167,8 +25207,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *135 - - *183 + - *141 + - *189 requestBody: required: true content: @@ -25207,7 +25247,7 @@ paths: - 32 - 91 responses: - '202': *141 + '202': *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25231,8 +25271,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: - - *135 - - *183 + - *141 + - *189 requestBody: required: true content: @@ -25272,12 +25312,12 @@ paths: - none - private_and_internal - public - configuration: *181 + configuration: *187 examples: default: value: default_for_new_repos: all - configuration: *182 + configuration: *188 '403': *29 '404': *7 x-github: @@ -25301,8 +25341,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: - - *135 - - *183 + - *141 + - *189 - 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)." @@ -25445,7 +25485,7 @@ paths: parameters: - *18 - *20 - - *135 + - *141 responses: '200': description: Response @@ -25461,7 +25501,7 @@ paths: type: integer codespaces: type: array - items: &236 + items: &242 type: object title: Codespace description: A codespace. @@ -25486,12 +25526,12 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *153 + repository: *159 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &424 + properties: &430 name: type: string description: The name of the machine. @@ -25533,7 +25573,7 @@ paths: - ready - in_progress nullable: true - required: &425 + required: &431 - name - display_name - operating_system @@ -25738,7 +25778,7 @@ paths: - pulls_url - recent_folders examples: - default: &237 + default: &243 value: total_count: 3 codespaces: @@ -26170,7 +26210,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *135 + - *141 deprecated: true requestBody: required: true @@ -26237,7 +26277,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: - - *135 + - *141 deprecated: true requestBody: required: true @@ -26292,7 +26332,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *135 + - *141 requestBody: required: true content: @@ -26344,7 +26384,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *135 + - *141 - *18 - *20 responses: @@ -26362,7 +26402,7 @@ paths: type: integer secrets: type: array - items: &185 + items: &191 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26401,7 +26441,7 @@ paths: - updated_at - visibility examples: - default: &426 + default: &432 value: total_count: 2 secrets: @@ -26433,13 +26473,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: &427 + schema: &433 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26468,7 +26508,7 @@ paths: - key_id - key examples: - default: &428 + default: &434 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26491,16 +26531,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '200': description: Response content: application/json: - schema: *185 + schema: *191 examples: - default: &430 + default: &436 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26527,8 +26567,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: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -26583,7 +26623,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -26609,8 +26649,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '204': description: Response @@ -26635,8 +26675,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: - - *135 - - *163 + - *141 + - *169 - *20 - *18 responses: @@ -26654,9 +26694,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: *167 + default: *173 '404': *7 x-github: githubCloudOnly: false @@ -26678,8 +26718,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: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -26729,8 +26769,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -26763,8 +26803,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -26803,7 +26843,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: - - *135 + - *141 responses: '200': description: OK @@ -26946,7 +26986,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: - - *135 + - *141 - *20 - name: per_page description: The number of results per page (max 100). For more information, @@ -26969,9 +27009,9 @@ paths: currently being billed. seats: type: array - items: *186 + items: *192 examples: - default: *187 + default: *193 headers: Link: *39 '500': *84 @@ -27009,7 +27049,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: - - *135 + - *141 requestBody: content: application/json: @@ -27090,7 +27130,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: - - *135 + - *141 requestBody: content: application/json: @@ -27172,7 +27212,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: - - *135 + - *141 requestBody: content: application/json: @@ -27252,7 +27292,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: - - *135 + - *141 requestBody: content: application/json: @@ -27333,7 +27373,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: - - *135 + - *141 - 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`). @@ -27402,7 +27442,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: - - *135 + - *141 - 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`). @@ -27436,7 +27476,7 @@ paths: type: array items: *101 examples: - default: *188 + default: *194 '500': *84 '401': *25 '403': *29 @@ -27462,7 +27502,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: - - *135 + - *141 - *18 - name: page description: Page token @@ -27606,7 +27646,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: - - *135 + - *141 - name: credential_id in: path required: true @@ -27637,7 +27677,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: - - *135 + - *141 responses: '200': description: Response - list of custom role names @@ -27652,7 +27692,7 @@ paths: type: integer custom_roles: type: array - items: *189 + items: *195 examples: default: value: @@ -27739,12 +27779,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *135 + - *141 requestBody: required: true content: application/json: - schema: &192 + schema: &198 type: object properties: name: @@ -27785,9 +27825,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '422': *16 '404': *7 x-github: @@ -27811,8 +27851,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *135 - - &191 + - *141 + - &197 name: role_id description: The unique identifier of the role. in: path @@ -27824,9 +27864,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '404': *7 x-github: githubCloudOnly: true @@ -27848,13 +27888,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *135 - - *191 + - *141 + - *197 requestBody: required: true content: application/json: - schema: &193 + schema: &199 type: object properties: name: @@ -27892,9 +27932,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '422': *16 '404': *7 x-github: @@ -27918,8 +27958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *135 - - *191 + - *141 + - *197 responses: '204': description: Response @@ -27947,12 +27987,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: - - *135 + - *141 requestBody: required: true content: application/json: - schema: *192 + schema: *198 examples: default: value: @@ -27966,9 +28006,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '422': *16 '404': *7 x-github: @@ -27998,16 +28038,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: - - *135 - - *191 + - *141 + - *197 responses: '200': description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '404': *7 x-github: githubCloudOnly: true @@ -28035,13 +28075,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: - - *135 - - *191 + - *141 + - *197 requestBody: required: true content: application/json: - schema: *193 + schema: *199 examples: default: value: @@ -28056,9 +28096,9 @@ paths: description: Response content: application/json: - schema: *189 + schema: *195 examples: - default: *190 + default: *196 '422': *16 '404': *7 x-github: @@ -28088,8 +28128,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: - - *135 - - *191 + - *141 + - *197 responses: '204': description: Response @@ -28117,18 +28157,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *135 - - *194 - - *195 - - *196 - - *197 - - *198 - - *199 + - *141 + - *200 + - *201 + - *202 + - *203 + - *204 + - *205 - *78 - *76 - *77 - - *200 - - *201 + - *206 + - *207 - *18 responses: '200': @@ -28137,9 +28177,9 @@ paths: application/json: schema: type: array - items: *202 + items: *208 examples: - default: *203 + default: *209 '304': *37 '400': *15 '403': *29 @@ -28165,7 +28205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *135 + - *141 - *18 - *20 responses: @@ -28183,7 +28223,7 @@ paths: type: integer secrets: type: array - items: &204 + items: &210 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28254,13 +28294,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: &457 + schema: &463 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28277,7 +28317,7 @@ paths: - key_id - key examples: - default: &458 + default: &464 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28300,14 +28340,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '200': description: Response content: application/json: - schema: *204 + schema: *210 examples: default: value: @@ -28335,8 +28375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -28391,7 +28431,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -28415,8 +28455,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *135 - - *163 + - *141 + - *169 responses: '204': description: Response @@ -28440,8 +28480,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: - - *135 - - *163 + - *141 + - *169 - *20 - *18 responses: @@ -28459,9 +28499,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: *167 + default: *173 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28482,8 +28522,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: - - *135 - - *163 + - *141 + - *169 requestBody: required: true content: @@ -28533,8 +28573,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -28565,8 +28605,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: - - *135 - - *163 + - *141 + - *169 - name: repository_id in: path required: true @@ -28596,7 +28636,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: - - *135 + - *141 responses: '200': description: Response @@ -28604,7 +28644,7 @@ paths: application/json: schema: type: array - items: &248 + items: &254 title: Package description: A software package type: object @@ -28654,8 +28694,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *205 - required: *206 + properties: *211 + required: *212 nullable: true created_at: type: string @@ -28674,7 +28714,7 @@ paths: - created_at - updated_at examples: - default: &249 + default: &255 value: - id: 197 name: hello_docker @@ -28752,7 +28792,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *135 + - *141 - *18 - *20 responses: @@ -28832,7 +28872,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *135 + - *141 - name: group_id description: The unique identifier of the group. in: path @@ -28858,7 +28898,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &319 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28939,7 +28979,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &314 + default: &320 value: group_id: '123' group_name: Octocat admins @@ -28977,7 +29017,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: - - *135 + - *141 - *18 - name: page description: Page token @@ -28994,7 +29034,7 @@ paths: description: Response content: application/json: - schema: &311 + schema: &317 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29031,7 +29071,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &312 + default: &318 value: groups: - group_id: '123' @@ -29065,7 +29105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *135 + - *141 - *18 - *20 responses: @@ -29075,7 +29115,7 @@ paths: application/json: schema: type: array - items: &229 + items: &235 title: Organization Invitation description: Organization Invitation type: object @@ -29122,7 +29162,7 @@ paths: - invitation_teams_url - node_id examples: - default: &230 + default: &236 value: - id: 1 login: monalisa @@ -29181,7 +29221,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: - - *135 + - *141 responses: '200': description: Response @@ -29189,7 +29229,7 @@ paths: application/json: schema: type: array - items: &270 + items: &276 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -29203,7 +29243,7 @@ paths: - name - description examples: - default: &271 + default: &277 value: - name: add_assignee description: Assign or remove a user @@ -29234,7 +29274,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *135 + - *141 - *18 - *20 responses: @@ -29244,7 +29284,7 @@ paths: application/json: schema: type: array - items: &207 + items: &213 title: Org Hook description: Org Hook type: object @@ -29353,7 +29393,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *135 + - *141 requestBody: required: true content: @@ -29413,9 +29453,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *213 examples: - default: &208 + default: &214 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29459,8 +29499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *135 - - &209 + - *141 + - &215 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. @@ -29473,9 +29513,9 @@ paths: description: Response content: application/json: - schema: *207 + schema: *213 examples: - default: *208 + default: *214 '404': *7 x-github: githubCloudOnly: false @@ -29496,8 +29536,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *135 - - *209 + - *141 + - *215 requestBody: required: false content: @@ -29542,7 +29582,7 @@ paths: description: Response content: application/json: - schema: *207 + schema: *213 examples: default: value: @@ -29581,8 +29621,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *135 - - *209 + - *141 + - *215 responses: '204': description: Response @@ -29607,8 +29647,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: - - *135 - - *209 + - *141 + - *215 responses: '200': description: Response @@ -29636,8 +29676,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: - - *135 - - *209 + - *141 + - *215 requestBody: required: false content: @@ -29685,10 +29725,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *135 - - *209 + - *141 + - *215 - *18 - - *210 + - *216 responses: '200': description: Response @@ -29696,9 +29736,9 @@ paths: application/json: schema: type: array - items: *211 + items: *217 examples: - default: *212 + default: *218 '400': *15 '422': *16 x-github: @@ -29721,17 +29761,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: - - *135 - - *209 + - *141 + - *215 - *17 responses: '200': description: Response content: application/json: - schema: *213 + schema: *219 examples: - default: *214 + default: *220 '400': *15 '422': *16 x-github: @@ -29754,11 +29794,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: - - *135 - - *209 + - *141 + - *215 - *17 responses: - '202': *141 + '202': *147 '400': *15 '422': *16 x-github: @@ -29781,8 +29821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *135 - - *209 + - *141 + - *215 responses: '204': description: Response @@ -29804,8 +29844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *135 - - &219 + - *141 + - &225 name: actor_type in: path description: The type of the actor @@ -29818,14 +29858,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &220 + - &226 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &215 + - &221 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`.' @@ -29833,7 +29873,7 @@ paths: required: true schema: type: string - - &216 + - &222 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) @@ -29919,13 +29959,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *135 - - *215 - - *216 + - *141 + - *221 + - *222 - *20 - *18 - *78 - - &225 + - &231 name: sort description: The property to sort the results by. in: query @@ -29996,15 +30036,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *135 - - *215 - - *216 + - *141 + - *221 + - *222 responses: '200': description: Response content: application/json: - schema: &217 + schema: &223 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30020,7 +30060,7 @@ paths: type: integer format: int64 examples: - default: &218 + default: &224 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30040,24 +30080,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *135 - - &221 + - *141 + - &227 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *215 - - *216 + - *221 + - *222 responses: '200': description: Response content: application/json: - schema: *217 + schema: *223 examples: - default: *218 + default: *224 x-github: enabledForGitHubApps: true category: orgs @@ -30075,19 +30115,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *135 - - *215 - - *216 - - *219 - - *220 + - *141 + - *221 + - *222 + - *225 + - *226 responses: '200': description: Response content: application/json: - schema: *217 + schema: *223 examples: - default: *218 + default: *224 x-github: enabledForGitHubApps: true category: orgs @@ -30104,10 +30144,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *135 - - *215 - - *216 - - &222 + - *141 + - *221 + - *222 + - &228 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30120,7 +30160,7 @@ paths: description: Response content: application/json: - schema: &223 + schema: &229 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30136,7 +30176,7 @@ paths: type: integer format: int64 examples: - default: &224 + default: &230 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30172,19 +30212,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *135 + - *141 + - *227 - *221 - - *215 - - *216 - *222 + - *228 responses: '200': description: Response content: application/json: - schema: *223 + schema: *229 examples: - default: *224 + default: *230 x-github: enabledForGitHubApps: true category: orgs @@ -30201,20 +30241,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *135 - - *219 - - *220 - - *215 - - *216 + - *141 + - *225 + - *226 + - *221 - *222 + - *228 responses: '200': description: Response content: application/json: - schema: *223 + schema: *229 examples: - default: *224 + default: *230 x-github: enabledForGitHubApps: true category: orgs @@ -30231,14 +30271,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *135 + - *141 + - *227 - *221 - - *215 - - *216 + - *222 - *20 - *18 - *78 - - *225 + - *231 responses: '200': description: Response @@ -30304,7 +30344,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: - - *135 + - *141 responses: '200': description: Response @@ -30312,7 +30352,7 @@ paths: application/json: schema: *22 examples: - default: &496 + default: &502 value: id: 1 account: @@ -30381,7 +30421,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *135 + - *141 - *18 - *20 responses: @@ -30470,7 +30510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *135 + - *141 responses: '200': description: Response @@ -30478,12 +30518,12 @@ paths: application/json: schema: anyOf: - - &227 + - &233 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &226 + limit: &232 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30508,7 +30548,7 @@ paths: properties: {} additionalProperties: false examples: - default: &228 + default: &234 value: limit: collaborators_only origin: organization @@ -30532,18 +30572,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *135 + - *141 requestBody: required: true content: application/json: - schema: &497 + schema: &503 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *226 + limit: *232 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30567,9 +30607,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *228 + default: *234 '422': *16 x-github: githubCloudOnly: false @@ -30587,7 +30627,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *135 + - *141 responses: '204': description: Response @@ -30613,7 +30653,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *135 + - *141 - *18 - *20 - name: role @@ -30647,9 +30687,9 @@ paths: application/json: schema: type: array - items: *229 + items: *235 examples: - default: *230 + default: *236 headers: Link: *39 '404': *7 @@ -30673,7 +30713,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *135 + - *141 requestBody: required: false content: @@ -30727,7 +30767,7 @@ paths: description: Response content: application/json: - schema: *229 + schema: *235 examples: default: value: @@ -30783,8 +30823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *135 - - &231 + - *141 + - &237 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30817,8 +30857,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *135 - - *231 + - *141 + - *237 - *18 - *20 responses: @@ -30828,9 +30868,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: &247 + default: &253 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30875,7 +30915,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: - - *135 + - *141 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -30905,7 +30945,7 @@ paths: - closed - all default: open - - *233 + - *239 - name: sort description: What to sort results by. in: query @@ -30930,7 +30970,7 @@ paths: type: array items: *118 examples: - default: *234 + default: *240 headers: Link: *39 '404': *7 @@ -30952,7 +30992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *135 + - *141 - 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) @@ -30988,7 +31028,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '422': *16 @@ -31008,8 +31048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response if requester is an organization member and user is @@ -31040,8 +31080,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -31067,8 +31107,8 @@ paths: parameters: - *18 - *20 - - *135 - - *175 + - *141 + - *181 responses: '200': description: Response @@ -31084,9 +31124,9 @@ paths: type: integer codespaces: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 '304': *37 '500': *84 '401': *25 @@ -31111,9 +31151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *135 - - *175 - - &238 + - *141 + - *181 + - &244 name: codespace_name in: path required: true @@ -31121,7 +31161,7 @@ paths: schema: type: string responses: - '202': *141 + '202': *147 '304': *37 '500': *84 '401': *25 @@ -31146,17 +31186,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: - - *135 - - *175 - - *238 + - *141 + - *181 + - *244 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: &423 + default: &429 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31329,14 +31369,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: - - *135 - - *175 + - *141 + - *181 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *186 + schema: *192 examples: default: value: @@ -31404,14 +31444,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *135 - - *175 + - *141 + - *181 responses: '200': description: Response content: application/json: - schema: &239 + schema: &245 title: Org Membership description: Org Membership type: object @@ -31463,7 +31503,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &240 + response-if-user-has-an-active-admin-membership-with-organization: &246 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31531,8 +31571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *135 - - *175 + - *141 + - *181 requestBody: required: false content: @@ -31560,9 +31600,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *245 examples: - response-if-user-already-had-membership-with-organization: *240 + response-if-user-already-had-membership-with-organization: *246 '422': *16 '403': *29 x-github: @@ -31583,8 +31623,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -31609,7 +31649,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *135 + - *141 - *18 - *20 - name: exclude @@ -31630,7 +31670,7 @@ paths: application/json: schema: type: array - items: &241 + items: &247 title: Migration description: A migration. type: object @@ -31883,7 +31923,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *135 + - *141 requestBody: required: true content: @@ -31959,7 +31999,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *247 examples: default: value: @@ -32137,8 +32177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *135 - - &242 + - *141 + - &248 name: migration_id description: The unique identifier of the migration. in: path @@ -32165,7 +32205,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *241 + schema: *247 examples: default: value: @@ -32334,8 +32374,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *135 - - *242 + - *141 + - *248 responses: '302': description: Response @@ -32356,8 +32396,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *135 - - *242 + - *141 + - *248 responses: '204': description: Response @@ -32380,9 +32420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *135 - - *242 - - &666 + - *141 + - *248 + - &672 name: repo_name description: repo_name parameter in: path @@ -32409,8 +32449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *135 - - *242 + - *141 + - *248 - *18 - *20 responses: @@ -32420,9 +32460,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: &254 + default: &260 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32561,7 +32601,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: - - *135 + - *141 responses: '200': description: Response @@ -32615,7 +32655,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: - - *135 + - *141 responses: '200': description: Response - list of organization roles @@ -32631,7 +32671,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &243 + items: &249 title: Organization Role description: Organization roles type: object @@ -32791,7 +32831,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *135 + - *141 requestBody: required: true content: @@ -32838,7 +32878,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *249 examples: default: value: @@ -32867,7 +32907,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *16 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32889,8 +32929,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: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -32915,9 +32955,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: - - *135 - - *244 - - *191 + - *141 + - *250 + - *197 responses: '204': description: Response @@ -32946,9 +32986,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: - - *135 - - *244 - - *191 + - *141 + - *250 + - *197 responses: '204': description: Response @@ -32973,8 +33013,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -32999,9 +33039,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: - - *135 - - *175 - - *191 + - *141 + - *181 + - *197 responses: '204': description: Response @@ -33031,9 +33071,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: - - *135 - - *175 - - *191 + - *141 + - *181 + - *197 responses: '204': description: Response @@ -33061,14 +33101,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *135 - - *191 + - *141 + - *197 responses: '200': description: Response content: application/json: - schema: *243 + schema: *249 examples: default: value: @@ -33125,8 +33165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *135 - - *191 + - *141 + - *197 requestBody: required: true content: @@ -33165,7 +33205,7 @@ paths: description: Response content: application/json: - schema: *243 + schema: *249 examples: default: value: @@ -33193,7 +33233,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *16 - '409': *140 + '409': *146 '404': *7 x-github: githubCloudOnly: true @@ -33218,8 +33258,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *135 - - *191 + - *141 + - *197 responses: '204': description: Response @@ -33244,8 +33284,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: - - *135 - - *191 + - *141 + - *197 - *18 - *20 responses: @@ -33323,8 +33363,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *245 - required: *246 + properties: *251 + required: *252 nullable: true required: - id @@ -33339,7 +33379,7 @@ paths: - slug - parent examples: - default: *247 + default: *253 headers: Link: *39 '404': @@ -33368,8 +33408,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: - - *135 - - *191 + - *141 + - *197 - *18 - *20 responses: @@ -33397,13 +33437,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &290 + items: &296 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *245 - required: *246 + properties: *251 + required: *252 name: nullable: true type: string @@ -33498,7 +33538,7 @@ paths: - type - url examples: - default: *235 + default: *241 headers: Link: *39 '404': @@ -33522,7 +33562,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: - - *135 + - *141 - 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) @@ -33546,7 +33586,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -33571,8 +33611,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: - - *135 - - *175 + - *141 + - *181 requestBody: required: false content: @@ -33629,8 +33669,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -33687,8 +33727,8 @@ paths: - docker - nuget - container - - *135 - - &668 + - *141 + - &674 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33724,12 +33764,12 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: *249 + default: *255 '403': *29 '401': *25 - '400': &670 + '400': &676 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33751,7 +33791,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &250 + - &256 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 @@ -33769,20 +33809,20 @@ paths: - docker - nuget - container - - &251 + - &257 name: package_name description: The name of the package. in: path required: true schema: type: string - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *248 + schema: *254 examples: default: value: @@ -33834,9 +33874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *250 - - *251 - - *135 + - *256 + - *257 + - *141 responses: '204': description: Response @@ -33868,9 +33908,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *250 - - *251 - - *135 + - *256 + - *257 + - *141 - name: token description: package token schema: @@ -33902,9 +33942,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: - - *250 - - *251 - - *135 + - *256 + - *257 + - *141 - *20 - *18 - name: state @@ -33924,7 +33964,7 @@ paths: application/json: schema: type: array - items: &252 + items: &258 title: Package Version description: A version of a software package type: object @@ -34049,10 +34089,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: - - *250 - - *251 - - *135 - - &253 + - *256 + - *257 + - *141 + - &259 name: package_version_id description: Unique identifier of the package version. in: path @@ -34064,7 +34104,7 @@ paths: description: Response content: application/json: - schema: *252 + schema: *258 examples: default: value: @@ -34100,10 +34140,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *250 - - *251 - - *135 - - *253 + - *256 + - *257 + - *141 + - *259 responses: '204': description: Response @@ -34135,10 +34175,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *250 - - *251 - - *135 - - *253 + - *256 + - *257 + - *141 + - *259 responses: '204': description: Response @@ -34165,10 +34205,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: - - *135 + - *141 - *18 - *20 - - &255 + - &261 name: sort description: The property by which to sort the results. in: query @@ -34179,7 +34219,7 @@ paths: - created_at default: created_at - *78 - - &256 + - &262 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34190,7 +34230,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &257 + - &263 name: repository description: The name of the repository to use to filter the results. in: query @@ -34198,7 +34238,7 @@ paths: schema: type: string example: Hello-World - - &258 + - &264 name: permission description: The permission to use to filter the results. in: query @@ -34206,7 +34246,7 @@ paths: schema: type: string example: issues_read - - &259 + - &265 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) @@ -34216,7 +34256,7 @@ paths: schema: type: string format: date-time - - &260 + - &266 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) @@ -34379,7 +34419,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: - - *135 + - *141 requestBody: required: true content: @@ -34424,7 +34464,7 @@ paths: '422': *16 '404': *7 '403': *29 - '202': *141 + '202': *147 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34445,7 +34485,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: - - *135 + - *141 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34485,7 +34525,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': *184 + '204': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34506,7 +34546,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: - - *135 + - *141 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34526,9 +34566,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -34551,16 +34591,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: - - *135 + - *141 - *18 - *20 - - *255 + - *261 - *78 - - *256 - - *257 - - *258 - - *259 - - *260 + - *262 + - *263 + - *264 + - *265 + - *266 responses: '500': *84 '422': *16 @@ -34709,7 +34749,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: - - *135 + - *141 requestBody: required: true content: @@ -34746,7 +34786,7 @@ paths: responses: '500': *84 '404': *7 - '202': *141 + '202': *147 '403': *29 '422': *16 x-github: @@ -34769,7 +34809,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: - - *135 + - *141 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -34799,7 +34839,7 @@ paths: responses: '500': *84 '404': *7 - '204': *184 + '204': *190 '403': *29 '422': *16 x-github: @@ -34821,7 +34861,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: - - *135 + - *141 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -34840,9 +34880,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -34864,7 +34904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *135 + - *141 - name: state description: Indicates the state of the projects to return. in: query @@ -34885,7 +34925,7 @@ paths: application/json: schema: type: array - items: &261 + items: &267 title: Project description: Projects are a way to organize columns and cards of work. @@ -35029,7 +35069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *135 + - *141 requestBody: required: true content: @@ -35055,7 +35095,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *267 examples: default: value: @@ -35093,7 +35133,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &329 + '410': &335 description: Gone content: application/json: @@ -35117,7 +35157,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: - - *135 + - *141 responses: '200': description: Response @@ -35125,7 +35165,7 @@ paths: application/json: schema: type: array - items: &262 + items: &268 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -35191,7 +35231,7 @@ paths: - property_name - value_type examples: - default: &263 + default: &269 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35235,7 +35275,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: - - *135 + - *141 requestBody: required: true content: @@ -35246,7 +35286,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *262 + items: *268 minItems: 1 maxItems: 100 required: @@ -35276,9 +35316,9 @@ paths: application/json: schema: type: array - items: *262 + items: *268 examples: - default: *263 + default: *269 '403': *29 '404': *7 x-github: @@ -35299,8 +35339,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: - - *135 - - &264 + - *141 + - &270 name: custom_property_name description: The custom property name in: path @@ -35312,9 +35352,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *268 examples: - default: &265 + default: &271 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -35348,8 +35388,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: - - *135 - - *264 + - *141 + - *270 requestBody: required: true content: @@ -35408,9 +35448,9 @@ paths: description: Response content: application/json: - schema: *262 + schema: *268 examples: - default: *265 + default: *271 '403': *29 '404': *7 x-github: @@ -35433,10 +35473,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: - - *135 - - *264 + - *141 + - *270 responses: - '204': *184 + '204': *190 '403': *29 '404': *7 x-github: @@ -35457,7 +35497,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: - - *135 + - *141 - *18 - *20 - name: repository_query @@ -35495,7 +35535,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &266 + items: &272 title: Custom Property Value description: Custom property name and associated value type: object @@ -35562,7 +35602,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: - - *135 + - *141 requestBody: required: true content: @@ -35582,7 +35622,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *266 + items: *272 required: - repository_names - properties @@ -35623,7 +35663,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *135 + - *141 - *18 - *20 responses: @@ -35635,7 +35675,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -35654,8 +35694,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response if user is a public member @@ -35679,8 +35719,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -35701,8 +35741,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: - - *135 - - *175 + - *141 + - *181 responses: '204': description: Response @@ -35726,7 +35766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *135 + - *141 - 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 @@ -35773,9 +35813,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -35796,7 +35836,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *135 + - *141 requestBody: required: true content: @@ -35978,7 +36018,7 @@ paths: description: Response content: application/json: - schema: &331 + schema: &337 title: Full Repository description: Full Repository type: object @@ -36255,8 +36295,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *267 - required: *268 + properties: *273 + required: *274 nullable: true temp_clone_token: type: string @@ -36371,7 +36411,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &445 + properties: &451 url: type: string format: uri @@ -36387,12 +36427,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &446 + required: &452 - url - key - name - html_url - security_and_analysis: *269 + security_and_analysis: *275 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36476,7 +36516,7 @@ paths: - network_count - subscribers_count examples: - default: &333 + default: &339 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -36994,7 +37034,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: - - *135 + - *141 responses: '200': description: Response @@ -37002,9 +37042,9 @@ paths: application/json: schema: type: array - items: *270 + items: *276 examples: - default: *271 + default: *277 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37026,10 +37066,10 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 - *18 - *20 - - &580 + - &586 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37047,7 +37087,7 @@ paths: application/json: schema: type: array - items: &278 + items: &284 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -37080,7 +37120,7 @@ paths: source: type: string description: The name of the source - enforcement: &274 + enforcement: &280 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -37092,7 +37132,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &275 + items: &281 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -37159,7 +37199,7 @@ paths: conditions: nullable: true anyOf: - - &272 + - &278 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -37183,7 +37223,7 @@ paths: match. items: type: string - - &276 + - &282 title: Organization ruleset conditions type: object description: |- @@ -37196,7 +37236,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *272 + - *278 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -37230,7 +37270,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *272 + - *278 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -37252,7 +37292,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *272 + - *278 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -37265,7 +37305,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &273 + items: &279 title: Repository ruleset property targeting definition type: object @@ -37298,17 +37338,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *273 + items: *279 required: - repository_property rules: type: array - items: &277 + items: &283 title: Repository Rule type: object description: A repository rule. oneOf: - - &562 + - &568 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37320,7 +37360,7 @@ paths: type: string enum: - creation - - &563 + - &569 title: update description: Only allow users with bypass permission to update matching refs. @@ -37341,7 +37381,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &565 + - &571 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37353,7 +37393,7 @@ paths: type: string enum: - deletion - - &566 + - &572 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37365,7 +37405,7 @@ paths: type: string enum: - required_linear_history - - &567 + - &573 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37443,7 +37483,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &568 + - &574 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37467,7 +37507,7 @@ paths: type: string required: - required_deployment_environments - - &569 + - &575 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37479,7 +37519,7 @@ paths: type: string enum: - required_signatures - - &570 + - &576 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37525,7 +37565,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &571 + - &577 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37573,7 +37613,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &572 + - &578 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37585,7 +37625,7 @@ paths: type: string enum: - non_fast_forward - - &573 + - &579 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37621,7 +37661,7 @@ paths: required: - operator - pattern - - &574 + - &580 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37657,7 +37697,7 @@ paths: required: - operator - pattern - - &575 + - &581 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37693,7 +37733,7 @@ paths: required: - operator - pattern - - &576 + - &582 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37729,7 +37769,7 @@ paths: required: - operator - pattern - - &577 + - &583 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37855,7 +37895,7 @@ paths: maximum: 100 required: - max_file_size - - &578 + - &584 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37905,7 +37945,7 @@ paths: - repository_id required: - workflows - - &579 + - &585 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -38018,7 +38058,7 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 requestBody: description: Request body required: true @@ -38038,16 +38078,16 @@ paths: - tag - push default: branch - enforcement: *274 + enforcement: *280 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *275 - conditions: *276 + items: *281 + conditions: *282 rules: type: array description: An array of rules within the ruleset. - items: *277 + items: *283 required: - name - enforcement @@ -38085,9 +38125,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: &279 + default: &285 value: id: 21 name: super cool ruleset @@ -38141,8 +38181,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *135 - - &581 + - *141 + - &587 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 @@ -38158,7 +38198,7 @@ paths: in: query schema: type: integer - - &582 + - &588 name: time_period description: |- The time period to filter by. @@ -38174,14 +38214,14 @@ paths: - week - month default: day - - &583 + - &589 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 - - &584 + - &590 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38201,7 +38241,7 @@ paths: description: Response content: application/json: - schema: &585 + schema: &591 title: Rule Suites description: Response type: array @@ -38256,7 +38296,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &586 + default: &592 value: - id: 21 actor_id: 12 @@ -38299,8 +38339,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *135 - - &587 + - *141 + - &593 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38316,7 +38356,7 @@ paths: description: Response content: application/json: - schema: &588 + schema: &594 title: Rule Suite description: Response type: object @@ -38415,7 +38455,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &589 + default: &595 value: id: 21 actor_id: 12 @@ -38476,7 +38516,7 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38488,9 +38528,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *279 + default: *285 '404': *7 '500': *84 put: @@ -38508,7 +38548,7 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38533,16 +38573,16 @@ paths: - branch - tag - push - enforcement: *274 + enforcement: *280 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *275 - conditions: *276 + items: *281 + conditions: *282 rules: description: An array of rules within the ruleset. type: array - items: *277 + items: *283 examples: default: value: @@ -38577,9 +38617,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *279 + default: *285 '404': *7 '500': *84 delete: @@ -38597,7 +38637,7 @@ paths: category: orgs subcategory: rules parameters: - - *135 + - *141 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38625,15 +38665,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: - - *135 - - *280 - - *281 - - *282 - - *283 + - *141 + - *286 + - *287 + - *288 + - *289 - *78 - *20 - *18 - - &591 + - &597 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 @@ -38643,7 +38683,7 @@ paths: required: false schema: type: string - - &592 + - &598 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 @@ -38653,9 +38693,9 @@ paths: required: false schema: type: string - - *284 - - *285 - - *286 + - *290 + - *291 + - *292 responses: '200': description: Response @@ -38663,9 +38703,9 @@ paths: application/json: schema: type: array - items: *287 + items: *293 examples: - default: *288 + default: *294 headers: Link: *39 '404': *7 @@ -38691,7 +38731,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: - - *135 + - *141 - *78 - name: sort description: The property to sort the results by. @@ -38735,7 +38775,7 @@ paths: application/json: schema: type: array - items: &598 + items: &604 description: A repository security advisory. type: object properties: @@ -38955,7 +38995,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *295 credits_detailed: type: array nullable: true @@ -38965,7 +39005,7 @@ paths: type: object properties: user: *19 - type: *289 + type: *295 state: type: string description: The state of the user's acceptance of the @@ -38989,7 +39029,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *232 + items: *238 private_fork: readOnly: true nullable: true @@ -39026,7 +39066,7 @@ paths: - private_fork additionalProperties: false examples: - default: &599 + default: &605 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39408,7 +39448,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *135 + - *141 responses: '200': description: Response @@ -39416,9 +39456,9 @@ paths: application/json: schema: type: array - items: *290 + items: *296 examples: - default: *247 + default: *253 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39441,8 +39481,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -39467,8 +39507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -39494,15 +39534,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39526,7 +39566,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: - - *135 + - *141 - *18 - *20 responses: @@ -39534,9 +39574,9 @@ paths: description: Success content: application/json: - schema: *293 + schema: *299 examples: - default: *294 + default: *300 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39558,15 +39598,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *295 + schema: *301 examples: - default: *296 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39588,15 +39628,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *297 + schema: *303 examples: - default: *298 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39613,7 +39653,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: - - *135 + - *141 - *18 - name: page description: Page token @@ -39632,7 +39672,7 @@ paths: description: Response content: application/json: - schema: &320 + schema: &326 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -39678,7 +39718,7 @@ paths: type: string nullable: true examples: - default: &321 + default: &327 value: groups: - group_id: '123' @@ -39723,8 +39763,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: - - *135 - - *244 + - *141 + - *250 - 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`). @@ -39796,8 +39836,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: - - *135 - - *244 + - *141 + - *250 - 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`). @@ -39831,7 +39871,7 @@ paths: type: array items: *101 examples: - default: *188 + default: *194 '500': *84 '401': *25 '403': *29 @@ -39853,7 +39893,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *135 + - *141 - *18 - *20 responses: @@ -39863,9 +39903,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 headers: Link: *39 '403': *29 @@ -39887,7 +39927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *135 + - *141 requestBody: required: true content: @@ -39959,7 +39999,7 @@ paths: description: Response content: application/json: - schema: &299 + schema: &305 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -40022,8 +40062,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *245 - required: *246 + properties: *251 + required: *252 nullable: true members_count: type: integer @@ -40269,7 +40309,7 @@ paths: - repos_count - organization examples: - default: &300 + default: &306 value: id: 1 node_id: MDQ6VGVhbTE= @@ -40339,16 +40379,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *135 - - *244 + - *141 + - *250 responses: '200': description: Response content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '404': *7 x-github: githubCloudOnly: false @@ -40369,8 +40409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *135 - - *244 + - *141 + - *250 requestBody: required: false content: @@ -40432,16 +40472,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '201': description: Response content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '404': *7 '422': *16 '403': *29 @@ -40466,8 +40506,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -40493,8 +40533,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *135 - - *244 + - *141 + - *250 - *78 - *18 - *20 @@ -40511,7 +40551,7 @@ paths: application/json: schema: type: array - items: &301 + items: &307 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -40610,7 +40650,7 @@ paths: - updated_at - url examples: - default: &639 + default: &645 value: - author: login: octocat @@ -40684,8 +40724,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *135 - - *244 + - *141 + - *250 requestBody: required: true content: @@ -40719,9 +40759,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: &302 + default: &308 value: author: login: octocat @@ -40793,9 +40833,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *135 - - *244 - - &303 + - *141 + - *250 + - &309 name: discussion_number description: The number that identifies the discussion. in: path @@ -40807,9 +40847,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: *302 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40831,9 +40871,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 requestBody: required: false content: @@ -40856,9 +40896,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: &640 + default: &646 value: author: login: octocat @@ -40928,9 +40968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 responses: '204': description: Response @@ -40956,9 +40996,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 - *78 - *18 - *20 @@ -40969,7 +41009,7 @@ paths: application/json: schema: type: array - items: &304 + items: &310 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -41041,7 +41081,7 @@ paths: - updated_at - url examples: - default: &641 + default: &647 value: - author: login: octocat @@ -41109,9 +41149,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 requestBody: required: true content: @@ -41133,9 +41173,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: &305 + default: &311 value: author: login: octocat @@ -41201,10 +41241,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *135 - - *244 - - *303 - - &306 + - *141 + - *250 + - *309 + - &312 name: comment_number description: The number that identifies the comment. in: path @@ -41216,9 +41256,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: *305 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41240,10 +41280,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *135 - - *244 - - *303 - - *306 + - *141 + - *250 + - *309 + - *312 requestBody: required: true content: @@ -41265,9 +41305,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: &642 + default: &648 value: author: login: octocat @@ -41331,10 +41371,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *135 - - *244 - - *303 - - *306 + - *141 + - *250 + - *309 + - *312 responses: '204': description: Response @@ -41360,10 +41400,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: - - *135 - - *244 - - *303 - - *306 + - *141 + - *250 + - *309 + - *312 - 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. @@ -41389,7 +41429,7 @@ paths: application/json: schema: type: array - items: &307 + items: &313 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -41432,7 +41472,7 @@ paths: - content - created_at examples: - default: &309 + default: &315 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41482,10 +41522,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: - - *135 - - *244 - - *303 - - *306 + - *141 + - *250 + - *309 + - *312 requestBody: required: true content: @@ -41518,9 +41558,9 @@ paths: team discussion comment content: application/json: - schema: *307 + schema: *313 examples: - default: &308 + default: &314 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41549,9 +41589,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41574,11 +41614,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *135 - - *244 - - *303 - - *306 - - &310 + - *141 + - *250 + - *309 + - *312 + - &316 name: reaction_id description: The unique identifier of the reaction. in: path @@ -41610,9 +41650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 - 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. @@ -41638,9 +41678,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 x-github: @@ -41666,9 +41706,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *135 - - *244 - - *303 + - *141 + - *250 + - *309 requestBody: required: true content: @@ -41700,16 +41740,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41732,10 +41772,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *135 - - *244 - - *303 - - *310 + - *141 + - *250 + - *309 + - *316 responses: '204': description: Response @@ -41758,16 +41798,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: - - *135 - - *244 + - *141 + - *250 responses: '200': description: Response content: application/json: - schema: *311 + schema: *317 examples: - default: *312 + default: *318 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41786,8 +41826,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: - - *135 - - *244 + - *141 + - *250 requestBody: required: true content: @@ -41810,9 +41850,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *319 examples: - default: *314 + default: *320 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41831,8 +41871,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: - - *135 - - *244 + - *141 + - *250 responses: '204': description: Response @@ -41856,8 +41896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *135 - - *244 + - *141 + - *250 - *18 - *20 responses: @@ -41867,9 +41907,9 @@ paths: application/json: schema: type: array - items: *229 + items: *235 examples: - default: *230 + default: *236 headers: Link: *39 x-github: @@ -41891,8 +41931,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *135 - - *244 + - *141 + - *250 - name: role description: Filters members returned by their role in the team. in: query @@ -41915,7 +41955,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -41945,15 +41985,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *135 - - *244 - - *175 + - *141 + - *250 + - *181 responses: '200': description: Response content: application/json: - schema: &315 + schema: &321 title: Team Membership description: Team Membership type: object @@ -41980,7 +42020,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &643 + response-if-user-is-a-team-maintainer: &649 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42016,9 +42056,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: - - *135 - - *244 - - *175 + - *141 + - *250 + - *181 requestBody: required: false content: @@ -42043,9 +42083,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: &644 + response-if-users-membership-with-team-is-now-pending: &650 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42080,9 +42120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *135 - - *244 - - *175 + - *141 + - *250 + - *181 responses: '204': description: Response @@ -42108,8 +42148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *135 - - *244 + - *141 + - *250 - *18 - *20 responses: @@ -42119,7 +42159,7 @@ paths: application/json: schema: type: array - items: &316 + items: &322 title: Team Project description: A team's access to a project. type: object @@ -42187,7 +42227,7 @@ paths: - updated_at - permissions examples: - default: &645 + default: &651 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42248,9 +42288,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *135 - - *244 - - &317 + - *141 + - *250 + - &323 name: project_id description: The unique identifier of the project. in: path @@ -42262,9 +42302,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *322 examples: - default: &646 + default: &652 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42324,9 +42364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *135 - - *244 - - *317 + - *141 + - *250 + - *323 requestBody: required: false content: @@ -42390,9 +42430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *135 - - *244 - - *317 + - *141 + - *250 + - *323 responses: '204': description: Response @@ -42416,8 +42456,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *135 - - *244 + - *141 + - *250 - *18 - *20 responses: @@ -42427,9 +42467,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -42458,16 +42498,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *135 - - *244 - - *318 - - *319 + - *141 + - *250 + - *324 + - *325 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &647 + schema: &653 title: Team Repository description: A team's access to a repository. type: object @@ -43036,10 +43076,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *135 - - *244 - - *318 - - *319 + - *141 + - *250 + - *324 + - *325 requestBody: required: false content: @@ -43084,10 +43124,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *135 - - *244 - - *318 - - *319 + - *141 + - *250 + - *324 + - *325 responses: '204': description: Response @@ -43113,16 +43153,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: - - *135 - - *244 + - *141 + - *250 responses: '200': description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: *321 + default: *327 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43144,8 +43184,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: - - *135 - - *244 + - *141 + - *250 requestBody: required: true content: @@ -43188,7 +43228,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: default: value: @@ -43220,8 +43260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *135 - - *244 + - *141 + - *250 - *18 - *20 responses: @@ -43231,9 +43271,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - response-if-child-teams-exist: &648 + response-if-child-teams-exist: &654 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -43286,7 +43326,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: - - *135 + - *141 - name: security_product in: path description: The security feature to enable or disable. @@ -43357,7 +43397,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &322 + - &328 name: card_id description: The unique identifier of the card. in: path @@ -43369,7 +43409,7 @@ paths: description: Response content: application/json: - schema: &323 + schema: &329 title: Project Card description: Project cards represent a scope of work. type: object @@ -43436,7 +43476,7 @@ paths: - created_at - updated_at examples: - default: &324 + default: &330 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -43486,7 +43526,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *322 + - *328 requestBody: required: false content: @@ -43513,9 +43553,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *329 examples: - default: *324 + default: *330 '304': *37 '403': *29 '401': *25 @@ -43536,7 +43576,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *322 + - *328 responses: '204': description: Response @@ -43574,7 +43614,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *322 + - *328 requestBody: required: true content: @@ -43679,7 +43719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &325 + - &331 name: column_id description: The unique identifier of the column. in: path @@ -43691,7 +43731,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &332 title: Project Column description: Project columns contain cards of work. type: object @@ -43737,7 +43777,7 @@ paths: - created_at - updated_at examples: - default: &327 + default: &333 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43766,7 +43806,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *325 + - *331 requestBody: required: true content: @@ -43790,9 +43830,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: - default: *327 + default: *333 '304': *37 '403': *29 '401': *25 @@ -43811,7 +43851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *325 + - *331 responses: '204': description: Response @@ -43834,7 +43874,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *325 + - *331 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43855,7 +43895,7 @@ paths: application/json: schema: type: array - items: *323 + items: *329 examples: default: value: @@ -43908,7 +43948,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *325 + - *331 requestBody: required: true content: @@ -43948,9 +43988,9 @@ paths: description: Response content: application/json: - schema: *323 + schema: *329 examples: - default: *324 + default: *330 '304': *37 '403': *29 '401': *25 @@ -43960,8 +44000,8 @@ paths: application/json: schema: oneOf: - - *138 - - *139 + - *144 + - *145 '503': description: Response content: @@ -44000,7 +44040,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *325 + - *331 requestBody: required: true content: @@ -44056,15 +44096,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *317 + - *323 responses: '200': description: Response content: application/json: - schema: *261 + schema: *267 examples: - default: &328 + default: &334 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44117,7 +44157,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *317 + - *323 requestBody: required: false content: @@ -44163,9 +44203,9 @@ paths: description: Response content: application/json: - schema: *261 + schema: *267 examples: - default: *328 + default: *334 '404': description: Not Found if the authenticated user does not have access to the project @@ -44186,7 +44226,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *335 '422': *8 x-github: githubCloudOnly: false @@ -44204,7 +44244,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *317 + - *323 responses: '204': description: Delete Success @@ -44225,7 +44265,7 @@ paths: items: type: string '401': *25 - '410': *329 + '410': *335 '404': *7 x-github: githubCloudOnly: false @@ -44248,7 +44288,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *317 + - *323 - 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 @@ -44275,7 +44315,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '404': *7 @@ -44300,8 +44340,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *317 - - *175 + - *323 + - *181 requestBody: required: false content: @@ -44348,8 +44388,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *317 - - *175 + - *323 + - *181 responses: '204': description: Response @@ -44377,8 +44417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *317 - - *175 + - *323 + - *181 responses: '200': description: Response @@ -44445,7 +44485,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *317 + - *323 - *18 - *20 responses: @@ -44455,7 +44495,7 @@ paths: application/json: schema: type: array - items: *326 + items: *332 examples: default: value: @@ -44487,7 +44527,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *317 + - *323 requestBody: required: true content: @@ -44510,7 +44550,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *332 examples: default: value: @@ -44571,7 +44611,7 @@ paths: resources: type: object properties: - core: &330 + core: &336 title: Rate Limit type: object properties: @@ -44588,19 +44628,19 @@ paths: - remaining - reset - used - graphql: *330 - search: *330 - code_search: *330 - source_import: *330 - integration_manifest: *330 - code_scanning_upload: *330 - actions_runner_registration: *330 - scim: *330 - dependency_snapshots: *330 + graphql: *336 + search: *336 + code_search: *336 + source_import: *336 + integration_manifest: *336 + code_scanning_upload: *336 + actions_runner_registration: *336 + scim: *336 + dependency_snapshots: *336 required: - core - search - rate: *330 + rate: *336 required: - rate - resources @@ -44699,14 +44739,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *331 + schema: *337 examples: default-response: summary: Default response @@ -45211,7 +45251,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *332 + '301': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45229,8 +45269,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -45476,10 +45516,10 @@ paths: description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 - '307': &334 + default: *339 + '307': &340 description: Temporary Redirect content: application/json: @@ -45508,8 +45548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -45531,7 +45571,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': *334 + '307': *340 '404': *7 x-github: githubCloudOnly: false @@ -45554,11 +45594,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 - - &349 + - &355 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -45581,7 +45621,7 @@ paths: type: integer artifacts: type: array - items: &335 + items: &341 title: Artifact description: An artifact type: object @@ -45652,7 +45692,7 @@ paths: - expires_at - updated_at examples: - default: &350 + default: &356 value: total_count: 2 artifacts: @@ -45711,9 +45751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *318 - - *319 - - &336 + - *324 + - *325 + - &342 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45725,7 +45765,7 @@ paths: description: Response content: application/json: - schema: *335 + schema: *341 examples: default: value: @@ -45762,9 +45802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *318 - - *319 - - *336 + - *324 + - *325 + - *342 responses: '204': description: Response @@ -45788,9 +45828,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *318 - - *319 - - *336 + - *324 + - *325 + - *342 - name: archive_format in: path required: true @@ -45804,7 +45844,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': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45827,14 +45867,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *337 + schema: *343 examples: default: value: @@ -45860,11 +45900,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: - - *318 - - *319 + - *324 + - *325 - *18 - *20 - - &338 + - &344 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 @@ -45898,7 +45938,7 @@ paths: description: Response content: application/json: - schema: &339 + schema: &345 title: Repository actions caches description: Repository actions caches type: object @@ -45940,7 +45980,7 @@ paths: - total_count - actions_caches examples: - default: &340 + default: &346 value: total_count: 1 actions_caches: @@ -45972,23 +46012,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: - - *318 - - *319 + - *324 + - *325 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *338 + - *344 responses: '200': description: Response content: application/json: - schema: *339 + schema: *345 examples: - default: *340 + default: *346 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46008,8 +46048,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: - - *318 - - *319 + - *324 + - *325 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -46040,9 +46080,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: - - *318 - - *319 - - &341 + - *324 + - *325 + - &347 name: job_id description: The unique identifier of the job. in: path @@ -46054,7 +46094,7 @@ paths: description: Response content: application/json: - schema: &353 + schema: &359 title: Job description: Information of a job execution in a workflow run type: object @@ -46361,9 +46401,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: - - *318 - - *319 - - *341 + - *324 + - *325 + - *347 responses: '302': description: Response @@ -46391,9 +46431,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: - - *318 - - *319 - - *341 + - *324 + - *325 + - *347 requestBody: required: false content: @@ -46414,7 +46454,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -46438,8 +46478,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Status response @@ -46489,8 +46529,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -46524,7 +46564,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -46553,8 +46593,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -46572,7 +46612,7 @@ paths: type: integer secrets: type: array - items: &355 + items: &361 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -46592,7 +46632,7 @@ paths: - created_at - updated_at examples: - default: &356 + default: &362 value: total_count: 2 secrets: @@ -46625,9 +46665,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *318 - - *319 - - *342 + - *324 + - *325 + - *348 - *20 responses: '200': @@ -46644,7 +46684,7 @@ paths: type: integer variables: type: array - items: &359 + items: &365 title: Actions Variable type: object properties: @@ -46674,7 +46714,7 @@ paths: - created_at - updated_at examples: - default: &360 + default: &366 value: total_count: 2 variables: @@ -46707,8 +46747,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -46717,11 +46757,11 @@ paths: schema: type: object properties: - enabled: &343 + enabled: &349 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 - selected_actions_url: *146 + selected_actions_url: *152 required: - enabled examples: @@ -46750,8 +46790,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -46762,7 +46802,7 @@ paths: schema: type: object properties: - enabled: *343 + enabled: *349 allowed_actions: *42 required: - enabled @@ -46793,14 +46833,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &344 + schema: &350 type: object properties: access_level: @@ -46818,7 +46858,7 @@ paths: required: - access_level examples: - default: &345 + default: &351 value: access_level: organization x-github: @@ -46843,15 +46883,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: application/json: - schema: *344 + schema: *350 examples: - default: *345 + default: *351 responses: '204': description: Response @@ -46875,8 +46915,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -46907,8 +46947,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -46940,14 +46980,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *149 + schema: *155 examples: default: *48 x-github: @@ -46970,8 +47010,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Success response @@ -46982,7 +47022,7 @@ paths: required: true content: application/json: - schema: *150 + schema: *156 examples: default: *48 x-github: @@ -47011,8 +47051,8 @@ paths: in: query schema: type: string - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -47056,8 +47096,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -47065,9 +47105,9 @@ paths: application/json: schema: type: array - items: *154 + items: *160 examples: - default: *155 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47089,8 +47129,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -47133,7 +47173,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *156 + '201': *162 '404': *7 '422': *8 x-github: @@ -47163,8 +47203,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: - - *318 - - *319 + - *324 + - *325 responses: '201': description: Response @@ -47172,7 +47212,7 @@ paths: application/json: schema: *58 examples: - default: *157 + default: *163 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47200,8 +47240,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: - - *318 - - *319 + - *324 + - *325 responses: '201': description: Response @@ -47209,7 +47249,7 @@ paths: application/json: schema: *58 examples: - default: *158 + default: *164 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47231,8 +47271,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: - - *318 - - *319 + - *324 + - *325 - *54 responses: '200': @@ -47241,7 +47281,7 @@ paths: application/json: schema: *55 examples: - default: *159 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47262,8 +47302,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: - - *318 - - *319 + - *324 + - *325 - *54 responses: '204': @@ -47289,8 +47329,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: - - *318 - - *319 + - *324 + - *325 - *54 responses: '200': *60 @@ -47315,8 +47355,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: - - *318 - - *319 + - *324 + - *325 - *54 requestBody: required: true @@ -47365,8 +47405,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: - - *318 - - *319 + - *324 + - *325 - *54 requestBody: required: true @@ -47416,11 +47456,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: - - *318 - - *319 + - *324 + - *325 - *54 responses: - '200': *160 + '200': *166 '404': *7 x-github: githubCloudOnly: false @@ -47447,10 +47487,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: - - *318 - - *319 + - *324 + - *325 - *54 - - *161 + - *167 responses: '200': *60 '404': *7 @@ -47478,9 +47518,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: - - *318 - - *319 - - &363 + - *324 + - *325 + - &369 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -47488,7 +47528,7 @@ paths: required: false schema: type: string - - &364 + - &370 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -47496,7 +47536,7 @@ paths: required: false schema: type: string - - &365 + - &371 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -47505,7 +47545,7 @@ paths: required: false schema: type: string - - &366 + - &372 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -47532,7 +47572,7 @@ paths: - pending - *18 - *20 - - &367 + - &373 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -47541,7 +47581,7 @@ paths: schema: type: string format: date-time - - &346 + - &352 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -47550,13 +47590,13 @@ paths: schema: type: boolean default: false - - &368 + - &374 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &369 + - &375 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -47579,7 +47619,7 @@ paths: type: integer workflow_runs: type: array - items: &347 + items: &353 title: Workflow Run description: An invocation of a workflow type: object @@ -47674,7 +47714,7 @@ paths: that triggered the run. type: array nullable: true - items: &388 + items: &394 title: Pull Request Minimal type: object properties: @@ -47793,7 +47833,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &392 + properties: &398 id: type: string description: SHA for the commit @@ -47844,7 +47884,7 @@ paths: - name - email nullable: true - required: &393 + required: &399 - id - tree_id - message @@ -47852,8 +47892,8 @@ paths: - author - committer nullable: true - repository: *153 - head_repository: *153 + repository: *159 + head_repository: *159 head_repository_id: type: integer example: 5 @@ -47891,7 +47931,7 @@ paths: - workflow_url - pull_requests examples: - default: &370 + default: &376 value: total_count: 1 workflow_runs: @@ -48127,24 +48167,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *318 - - *319 - - &348 + - *324 + - *325 + - &354 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *346 + - *352 responses: '200': description: Response content: application/json: - schema: *347 + schema: *353 examples: - default: &351 + default: &357 value: id: 30433642 name: Build @@ -48385,9 +48425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '204': description: Response @@ -48410,9 +48450,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '200': description: Response @@ -48531,15 +48571,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '201': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -48566,12 +48606,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 - *18 - *20 - - *349 + - *355 responses: '200': description: Response @@ -48587,9 +48627,9 @@ paths: type: integer artifacts: type: array - items: *335 + items: *341 examples: - default: *350 + default: *356 headers: Link: *39 x-github: @@ -48613,25 +48653,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *318 - - *319 - - *348 - - &352 + - *324 + - *325 + - *354 + - &358 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *346 + - *352 responses: '200': description: Response content: application/json: - schema: *347 + schema: *353 examples: - default: *351 + default: *357 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48654,10 +48694,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: - - *318 - - *319 - - *348 - - *352 + - *324 + - *325 + - *354 + - *358 - *18 - *20 responses: @@ -48675,9 +48715,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *359 examples: - default: &354 + default: &360 value: total_count: 1 jobs: @@ -48790,10 +48830,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *318 - - *319 - - *348 - - *352 + - *324 + - *325 + - *354 + - *358 responses: '302': description: Response @@ -48821,19 +48861,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '202': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48856,9 +48896,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 requestBody: required: true content: @@ -48925,19 +48965,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '202': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48960,9 +49000,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -48992,9 +49032,9 @@ paths: type: integer jobs: type: array - items: *353 + items: *359 examples: - default: *354 + default: *360 headers: Link: *39 x-github: @@ -49019,9 +49059,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '302': description: Response @@ -49048,9 +49088,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '204': description: Response @@ -49077,9 +49117,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '200': description: Response @@ -49139,7 +49179,7 @@ paths: items: type: object properties: - type: &466 + type: &472 type: string description: The type of reviewer. enum: @@ -49149,7 +49189,7 @@ paths: reviewer: anyOf: - *19 - - *232 + - *238 required: - environment - wait_timer @@ -49224,9 +49264,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 requestBody: required: true content: @@ -49273,7 +49313,7 @@ paths: application/json: schema: type: array - items: &461 + items: &467 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -49379,7 +49419,7 @@ paths: - created_at - updated_at examples: - default: &462 + default: &468 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -49435,9 +49475,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 requestBody: required: false content: @@ -49458,7 +49498,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -49481,9 +49521,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: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 requestBody: required: false content: @@ -49504,7 +49544,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -49529,9 +49569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *318 - - *319 - - *348 + - *324 + - *325 + - *354 responses: '200': description: Response @@ -49668,8 +49708,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -49687,9 +49727,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *361 examples: - default: *356 + default: *362 headers: Link: *39 x-github: @@ -49714,16 +49754,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *357 + schema: *363 examples: - default: *358 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49745,17 +49785,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '200': description: Response content: application/json: - schema: *355 + schema: *361 examples: - default: &479 + default: &485 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49781,9 +49821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 requestBody: required: true content: @@ -49811,7 +49851,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -49837,9 +49877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '204': description: Response @@ -49864,9 +49904,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *318 - - *319 - - *342 + - *324 + - *325 + - *348 - *20 responses: '200': @@ -49883,9 +49923,9 @@ paths: type: integer variables: type: array - items: *359 + items: *365 examples: - default: *360 + default: *366 headers: Link: *39 x-github: @@ -49908,8 +49948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -49936,7 +49976,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -49961,17 +50001,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *318 - - *319 - - *166 + - *324 + - *325 + - *172 responses: '200': description: Response content: application/json: - schema: *359 + schema: *365 examples: - default: &480 + default: &486 value: name: USERNAME value: octocat @@ -49997,9 +50037,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *318 - - *319 - - *166 + - *324 + - *325 + - *172 requestBody: required: true content: @@ -50041,9 +50081,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *318 - - *319 - - *166 + - *324 + - *325 + - *172 responses: '204': description: Response @@ -50068,8 +50108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -50087,7 +50127,7 @@ paths: type: integer workflows: type: array - items: &361 + items: &367 title: Workflow description: A GitHub Actions workflow type: object @@ -50194,9 +50234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *318 - - *319 - - &362 + - *324 + - *325 + - &368 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -50211,7 +50251,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *367 examples: default: value: @@ -50244,9 +50284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *318 - - *319 - - *362 + - *324 + - *325 + - *368 responses: '204': description: Response @@ -50271,9 +50311,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *318 - - *319 - - *362 + - *324 + - *325 + - *368 responses: '204': description: Response @@ -50324,9 +50364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *318 - - *319 - - *362 + - *324 + - *325 + - *368 responses: '204': description: Response @@ -50351,19 +50391,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: - - *318 - - *319 - - *362 - - *363 - - *364 - - *365 - - *366 - - *18 - - *20 - - *367 - - *346 + - *324 + - *325 - *368 - *369 + - *370 + - *371 + - *372 + - *18 + - *20 + - *373 + - *352 + - *374 + - *375 responses: '200': description: Response @@ -50379,9 +50419,9 @@ paths: type: integer workflow_runs: type: array - items: *347 + items: *353 examples: - default: *370 + default: *376 headers: Link: *39 x-github: @@ -50407,9 +50447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *318 - - *319 - - *362 + - *324 + - *325 + - *368 responses: '200': description: Response @@ -50470,8 +50510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *318 - - *319 + - *324 + - *325 - *78 - *18 - *76 @@ -50635,8 +50675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -50648,7 +50688,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '404': *7 @@ -50673,8 +50713,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: - - *318 - - *319 + - *324 + - *325 - name: assignee in: path required: true @@ -50710,8 +50750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -50823,8 +50863,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *76 - *77 @@ -50868,7 +50908,7 @@ paths: repository_id: type: integer examples: - default: *371 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50888,8 +50928,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -50897,7 +50937,7 @@ paths: application/json: schema: type: array - items: &372 + items: &378 title: Autolink reference description: An autolink reference. type: object @@ -50947,8 +50987,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -50987,9 +51027,9 @@ paths: description: response content: application/json: - schema: *372 + schema: *378 examples: - default: &373 + default: &379 value: id: 1 key_prefix: TICKET- @@ -51020,9 +51060,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: - - *318 - - *319 - - &374 + - *324 + - *325 + - &380 name: autolink_id description: The unique identifier of the autolink. in: path @@ -51034,9 +51074,9 @@ paths: description: Response content: application/json: - schema: *372 + schema: *378 examples: - default: *373 + default: *379 '404': *7 x-github: githubCloudOnly: false @@ -51056,9 +51096,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: - - *318 - - *319 - - *374 + - *324 + - *325 + - *380 responses: '204': description: Response @@ -51082,8 +51122,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response if Dependabot is enabled @@ -51131,8 +51171,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -51153,8 +51193,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -51174,8 +51214,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *318 - - *319 + - *324 + - *325 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -51213,7 +51253,7 @@ paths: - url protected: type: boolean - protection: &376 + protection: &382 title: Branch Protection description: Branch Protection type: object @@ -51255,7 +51295,7 @@ paths: required: - contexts - checks - enforce_admins: &379 + enforce_admins: &385 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -51270,7 +51310,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &381 + required_pull_request_reviews: &387 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -51291,7 +51331,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *232 + items: *238 apps: description: The list of apps with review dismissal access. @@ -51320,7 +51360,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *232 + items: *238 apps: description: The list of apps allowed to bypass pull request requirements. @@ -51346,7 +51386,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &378 + restrictions: &384 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51653,9 +51693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *318 - - *319 - - &377 + - *324 + - *325 + - &383 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -51669,14 +51709,14 @@ paths: description: Response content: application/json: - schema: &387 + schema: &393 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &434 + commit: &440 title: Commit description: Commit type: object @@ -51710,7 +51750,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &375 + properties: &381 name: type: string example: '"Chris Wanstrath"' @@ -51725,7 +51765,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *375 + properties: *381 nullable: true message: type: string @@ -51746,7 +51786,7 @@ paths: required: - sha - url - verification: &486 + verification: &492 title: Verification type: object properties: @@ -51776,12 +51816,12 @@ paths: nullable: true oneOf: - *19 - - *164 + - *170 committer: nullable: true oneOf: - *19 - - *164 + - *170 parents: type: array items: @@ -51812,7 +51852,7 @@ paths: type: integer files: type: array - items: &449 + items: &455 title: Diff Entry description: Diff Entry type: object @@ -51895,7 +51935,7 @@ paths: - self protected: type: boolean - protection: *376 + protection: *382 protection_url: type: string format: uri @@ -52001,7 +52041,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *332 + '301': *338 '404': *7 x-github: githubCloudOnly: false @@ -52023,15 +52063,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *376 + schema: *382 examples: default: value: @@ -52225,9 +52265,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -52482,7 +52522,7 @@ paths: url: type: string format: uri - required_status_checks: &384 + required_status_checks: &390 title: Status Check Policy description: Status Check Policy type: object @@ -52558,7 +52598,7 @@ paths: items: *19 teams: type: array - items: *232 + items: *238 apps: type: array items: *6 @@ -52576,7 +52616,7 @@ paths: items: *19 teams: type: array - items: *232 + items: *238 apps: type: array items: *6 @@ -52634,7 +52674,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *378 + restrictions: *384 required_conversation_resolution: type: object properties: @@ -52746,9 +52786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -52773,17 +52813,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *379 + schema: *385 examples: - default: &380 + default: &386 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52805,17 +52845,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *379 + schema: *385 examples: - default: *380 + default: *386 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52834,9 +52874,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -52861,17 +52901,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *381 + schema: *387 examples: - default: &382 + default: &388 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -52967,9 +53007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -53067,9 +53107,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *387 examples: - default: *382 + default: *388 '422': *16 x-github: githubCloudOnly: false @@ -53090,9 +53130,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -53119,17 +53159,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *379 + schema: *385 examples: - default: &383 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -53152,17 +53192,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *379 + schema: *385 examples: - default: *383 + default: *389 '404': *7 x-github: githubCloudOnly: false @@ -53182,9 +53222,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -53209,17 +53249,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *384 + schema: *390 examples: - default: &385 + default: &391 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -53245,9 +53285,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -53299,9 +53339,9 @@ paths: description: Response content: application/json: - schema: *384 + schema: *390 examples: - default: *385 + default: *391 '404': *7 '422': *16 x-github: @@ -53323,9 +53363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -53349,9 +53389,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response @@ -53385,9 +53425,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -53454,9 +53494,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -53520,9 +53560,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: content: application/json: @@ -53588,15 +53628,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response content: application/json: - schema: *378 + schema: *384 examples: default: value: @@ -53687,9 +53727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '204': description: Response @@ -53712,9 +53752,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: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response @@ -53724,7 +53764,7 @@ paths: type: array items: *6 examples: - default: &386 + default: &392 value: - id: 1 slug: octoapp @@ -53781,9 +53821,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -53817,7 +53857,7 @@ paths: type: array items: *6 examples: - default: *386 + default: *392 '422': *16 x-github: githubCloudOnly: false @@ -53838,9 +53878,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -53874,7 +53914,7 @@ paths: type: array items: *6 examples: - default: *386 + default: *392 '422': *16 x-github: githubCloudOnly: false @@ -53895,9 +53935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -53931,7 +53971,7 @@ paths: type: array items: *6 examples: - default: *386 + default: *392 '422': *16 x-github: githubCloudOnly: false @@ -53953,9 +53993,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: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response @@ -53963,9 +54003,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 '404': *7 x-github: githubCloudOnly: false @@ -53985,9 +54025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -54023,9 +54063,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 '422': *16 x-github: githubCloudOnly: false @@ -54046,9 +54086,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: false content: @@ -54084,9 +54124,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 '422': *16 x-github: githubCloudOnly: false @@ -54107,9 +54147,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: content: application/json: @@ -54144,9 +54184,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 '422': *16 x-github: githubCloudOnly: false @@ -54168,9 +54208,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: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 responses: '200': description: Response @@ -54180,7 +54220,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '404': *7 x-github: githubCloudOnly: false @@ -54204,9 +54244,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -54239,7 +54279,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '422': *16 x-github: githubCloudOnly: false @@ -54264,9 +54304,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -54299,7 +54339,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '422': *16 x-github: githubCloudOnly: false @@ -54324,9 +54364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -54359,7 +54399,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '422': *16 x-github: githubCloudOnly: false @@ -54386,9 +54426,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 requestBody: required: true content: @@ -54410,7 +54450,7 @@ paths: description: Response content: application/json: - schema: *387 + schema: *393 examples: default: value: @@ -54525,8 +54565,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -54805,7 +54845,7 @@ paths: description: Response content: application/json: - schema: &389 + schema: &395 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54924,8 +54964,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *388 - deployment: &699 + items: *394 + deployment: &705 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55205,9 +55245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *318 - - *319 - - &390 + - *324 + - *325 + - &396 name: check_run_id description: The unique identifier of the check run. in: path @@ -55219,9 +55259,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *395 examples: - default: &391 + default: &397 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -55321,9 +55361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *318 - - *319 - - *390 + - *324 + - *325 + - *396 requestBody: required: true content: @@ -55563,9 +55603,9 @@ paths: description: Response content: application/json: - schema: *389 + schema: *395 examples: - default: *391 + default: *397 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55585,9 +55625,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *318 - - *319 - - *390 + - *324 + - *325 + - *396 - *18 - *20 responses: @@ -55684,15 +55724,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *318 - - *319 - - *390 + - *324 + - *325 + - *396 responses: '201': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -55730,8 +55770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -55753,7 +55793,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &394 + schema: &400 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55817,7 +55857,7 @@ paths: nullable: true pull_requests: type: array - items: *388 + items: *394 nullable: true app: title: GitHub app @@ -55830,7 +55870,7 @@ paths: nullable: true properties: *103 required: *104 - repository: *153 + repository: *159 created_at: type: string format: date-time @@ -55839,12 +55879,12 @@ paths: type: string format: date-time nullable: true - head_commit: &725 + head_commit: &731 title: Simple Commit description: A commit. type: object - properties: *392 - required: *393 + properties: *398 + required: *399 latest_check_runs_count: type: integer check_runs_url: @@ -55872,7 +55912,7 @@ paths: - check_runs_url - pull_requests examples: - default: &395 + default: &401 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -56163,9 +56203,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *394 + schema: *400 examples: - default: *395 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56184,8 +56224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -56246,7 +56286,7 @@ paths: required: - app_id - setting - repository: *153 + repository: *159 examples: default: value: @@ -56494,9 +56534,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *318 - - *319 - - &396 + - *324 + - *325 + - &402 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56508,9 +56548,9 @@ paths: description: Response content: application/json: - schema: *394 + schema: *400 examples: - default: *395 + default: *401 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56533,17 +56573,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: - - *318 - - *319 - - *396 - - &442 + - *324 + - *325 + - *402 + - &448 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &443 + - &449 name: status description: Returns check runs with the specified `status`. in: query @@ -56582,9 +56622,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *395 examples: - default: &444 + default: &450 value: total_count: 1 check_runs: @@ -56686,15 +56726,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *318 - - *319 - - *396 + - *324 + - *325 + - *402 responses: '201': description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -56721,21 +56761,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: - - *318 - - *319 - - *176 - - *177 + - *324 + - *325 + - *182 + - *183 - *20 - *18 - - &408 + - &414 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: *397 - - &409 + schema: *403 + - &415 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56760,13 +56800,13 @@ paths: be returned. in: query required: false - schema: *178 + schema: *184 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *398 + schema: *404 responses: '200': description: Response @@ -56782,7 +56822,7 @@ paths: updated_at: *92 url: *89 html_url: *90 - instances_url: *399 + instances_url: *405 state: *81 fixed_at: *94 dismissed_by: @@ -56793,11 +56833,11 @@ paths: required: *5 nullable: true dismissed_at: *93 - dismissed_reason: *400 - dismissed_comment: *401 - rule: *402 - tool: *403 - most_recent_instance: *404 + dismissed_reason: *406 + dismissed_comment: *407 + rule: *408 + tool: *409 + most_recent_instance: *410 required: - number - created_at @@ -56913,7 +56953,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &405 + '403': &411 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -56940,9 +56980,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: - - *318 - - *319 - - &406 + - *324 + - *325 + - &412 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -56956,7 +56996,7 @@ paths: description: Response content: application/json: - schema: &407 + schema: &413 type: object properties: number: *85 @@ -56964,7 +57004,7 @@ paths: updated_at: *92 url: *89 html_url: *90 - instances_url: *399 + instances_url: *405 state: *81 fixed_at: *94 dismissed_by: @@ -56975,8 +57015,8 @@ paths: required: *5 nullable: true dismissed_at: *93 - dismissed_reason: *400 - dismissed_comment: *401 + dismissed_reason: *406 + dismissed_comment: *407 rule: type: object properties: @@ -57030,8 +57070,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *403 - most_recent_instance: *404 + tool: *409 + most_recent_instance: *410 required: - number - created_at @@ -57120,7 +57160,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57140,9 +57180,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 requestBody: required: true content: @@ -57157,8 +57197,8 @@ paths: enum: - open - dismissed - dismissed_reason: *400 - dismissed_comment: *401 + dismissed_reason: *406 + dismissed_comment: *407 required: - state examples: @@ -57173,7 +57213,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *413 examples: default: value: @@ -57248,7 +57288,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &414 + '403': &420 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -57275,13 +57315,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 - *20 - *18 - - *408 - - *409 + - *414 + - *415 responses: '200': description: Response @@ -57289,7 +57329,7 @@ paths: application/json: schema: type: array - items: *404 + items: *410 examples: default: value: @@ -57328,7 +57368,7 @@ paths: end_column: 50 classifications: - source - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57362,25 +57402,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: - - *318 - - *319 - - *176 - - *177 + - *324 + - *325 + - *182 + - *183 - *20 - *18 - - *409 + - *415 - 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: *397 + schema: *403 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &412 + schema: &418 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -57401,23 +57441,23 @@ paths: application/json: schema: type: array - items: &413 + items: &419 type: object properties: - ref: *397 - commit_sha: &422 + ref: *403 + commit_sha: &428 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: *410 + analysis_key: *416 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *411 + category: *417 error: type: string example: error reading field xyz @@ -57441,8 +57481,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *412 - tool: *403 + sarif_id: *418 + tool: *409 deletable: type: boolean warning: @@ -57503,7 +57543,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57539,8 +57579,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: - - *318 - - *319 + - *324 + - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57553,7 +57593,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *419 examples: response: summary: application/json response @@ -57607,7 +57647,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57689,8 +57729,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: - - *318 - - *319 + - *324 + - *325 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57743,7 +57783,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': *15 - '403': *414 + '403': *420 '404': *7 '503': *96 x-github: @@ -57765,8 +57805,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -57774,7 +57814,7 @@ paths: application/json: schema: type: array - items: &415 + items: &421 title: CodeQL Database description: A CodeQL database. type: object @@ -57885,7 +57925,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': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57914,8 +57954,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: - - *318 - - *319 + - *324 + - *325 - name: language in: path description: The language of the CodeQL database. @@ -57927,7 +57967,7 @@ paths: description: Response content: application/json: - schema: *415 + schema: *421 examples: default: value: @@ -57959,9 +57999,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': &451 + '302': &457 description: Found - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -57983,8 +58023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *318 - - *319 + - *324 + - *325 - name: language in: path description: The language of the CodeQL database. @@ -57994,7 +58034,7 @@ paths: responses: '204': description: Response - '403': *414 + '403': *420 '404': *7 '503': *96 x-github: @@ -58022,8 +58062,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -58032,7 +58072,7 @@ paths: type: object additionalProperties: false properties: - language: &416 + language: &422 type: string description: The language targeted by the CodeQL query enum: @@ -58110,7 +58150,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &420 + schema: &426 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -58120,7 +58160,7 @@ paths: description: The ID of the variant analysis. controller_repo: *95 actor: *19 - query_language: *416 + query_language: *422 query_pack_url: type: string description: The download url for the query pack. @@ -58167,7 +58207,7 @@ paths: items: type: object properties: - repository: &417 + repository: &423 title: Repository Identifier description: Repository Identifier type: object @@ -58203,7 +58243,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &421 + analysis_status: &427 type: string description: The new status of the CodeQL variant analysis repository task. @@ -58235,7 +58275,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &418 + access_mismatch_repos: &424 type: object properties: repository_count: @@ -58249,7 +58289,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: *417 + items: *423 required: - repository_count - repositories @@ -58271,8 +58311,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *418 - over_limit_repos: *418 + no_codeql_db_repos: *424 + over_limit_repos: *424 required: - access_mismatch_repos - not_found_repos @@ -58288,7 +58328,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &419 + value: &425 summary: Default response value: id: 1 @@ -58440,10 +58480,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *419 + value: *425 repository_lists: summary: Response for a successful variant analysis submission - value: *419 + value: *425 '404': *7 '422': description: Unable to process variant analysis submission @@ -58471,8 +58511,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: - - *318 - - *319 + - *324 + - *325 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -58484,9 +58524,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *426 examples: - default: *419 + default: *425 '404': *7 '503': *96 x-github: @@ -58509,7 +58549,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: - - *318 + - *324 - name: repo in: path description: The name of the controller repository. @@ -58544,7 +58584,7 @@ paths: type: object properties: repository: *95 - analysis_status: *421 + analysis_status: *427 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58669,8 +58709,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -58731,7 +58771,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *405 + '403': *411 '404': *7 '503': *96 x-github: @@ -58752,8 +58792,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -58798,7 +58838,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -58823,7 +58863,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *414 + '403': *420 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -58888,8 +58928,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -58897,7 +58937,7 @@ paths: schema: type: object properties: - commit_sha: *422 + commit_sha: *428 ref: type: string description: |- @@ -58955,7 +58995,7 @@ paths: schema: type: object properties: - id: *412 + id: *418 url: type: string description: The REST API URL for checking the status of the upload. @@ -58969,7 +59009,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': *414 + '403': *420 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -58992,8 +59032,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: - - *318 - - *319 + - *324 + - *325 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -59039,7 +59079,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': *405 + '403': *411 '404': description: Not Found if the sarif id does not match any upload '503': *96 @@ -59064,8 +59104,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -59089,7 +59129,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *181 + configuration: *187 examples: default: value: @@ -59118,7 +59158,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': *184 + '204': *190 '304': *37 '403': *29 '404': *7 @@ -59143,8 +59183,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *318 - - *319 + - *324 + - *325 - 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 @@ -59264,8 +59304,8 @@ paths: parameters: - *18 - *20 - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -59281,7 +59321,7 @@ paths: type: integer codespaces: type: array - items: *236 + items: *242 examples: default: value: @@ -59579,8 +59619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -59643,17 +59683,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '400': *15 '401': *25 '403': *29 @@ -59682,8 +59722,8 @@ paths: parameters: - *18 - *20 - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -59747,8 +59787,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: - - *318 - - *319 + - *324 + - *325 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -59783,14 +59823,14 @@ paths: type: integer machines: type: array - items: &655 + items: &661 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *424 - required: *425 + properties: *430 + required: *431 examples: - default: &656 + default: &662 value: total_count: 2 machines: @@ -59830,8 +59870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *318 - - *319 + - *324 + - *325 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59915,8 +59955,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: - - *318 - - *319 + - *324 + - *325 - 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 @@ -59982,8 +60022,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -60001,7 +60041,7 @@ paths: type: integer secrets: type: array - items: &429 + items: &435 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -60021,7 +60061,7 @@ paths: - created_at - updated_at examples: - default: *426 + default: *432 headers: Link: *39 x-github: @@ -60044,16 +60084,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *427 + schema: *433 examples: - default: *428 + default: *434 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60073,17 +60113,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '200': description: Response content: application/json: - schema: *429 + schema: *435 examples: - default: *430 + default: *436 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60103,9 +60143,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: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 requestBody: required: true content: @@ -60133,7 +60173,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -60157,9 +60197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '204': description: Response @@ -60187,8 +60227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *318 - - *319 + - *324 + - *325 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -60230,7 +60270,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &431 + properties: &437 login: type: string example: octocat @@ -60323,7 +60363,7 @@ paths: user_view_type: type: string example: public - required: &432 + required: &438 - avatar_url - events_url - followers_url @@ -60397,9 +60437,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: - - *318 - - *319 - - *175 + - *324 + - *325 + - *181 responses: '204': description: Response if user is a collaborator @@ -60441,9 +60481,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *318 - - *319 - - *175 + - *324 + - *325 + - *181 requestBody: required: false content: @@ -60469,7 +60509,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &499 + schema: &505 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60480,7 +60520,7 @@ paths: example: 42 type: integer format: int64 - repository: *153 + repository: *159 invitee: title: Simple User description: A GitHub user. @@ -60691,9 +60731,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *318 - - *319 - - *175 + - *324 + - *325 + - *181 responses: '204': description: No Content when collaborator was removed from the repository. @@ -60722,9 +60762,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *318 - - *319 - - *175 + - *324 + - *325 + - *181 responses: '200': description: if user has admin permissions @@ -60744,8 +60784,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *431 - required: *432 + properties: *437 + required: *438 nullable: true required: - permission @@ -60800,8 +60840,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -60811,7 +60851,7 @@ paths: application/json: schema: type: array - items: &433 + items: &439 title: Commit Comment description: Commit Comment type: object @@ -60869,7 +60909,7 @@ paths: - created_at - updated_at examples: - default: &436 + default: &442 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60928,17 +60968,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 responses: '200': description: Response content: application/json: - schema: *433 + schema: *439 examples: - default: &437 + default: &443 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60995,8 +61035,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -61019,7 +61059,7 @@ paths: description: Response content: application/json: - schema: *433 + schema: *439 examples: default: value: @@ -61070,8 +61110,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 responses: '204': @@ -61093,8 +61133,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -61121,9 +61161,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 @@ -61144,8 +61184,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -61178,16 +61218,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Reaction created content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -61209,10 +61249,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *318 - - *319 + - *324 + - *325 - *117 - - *310 + - *316 responses: '204': description: Response @@ -61260,8 +61300,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *318 - - *319 + - *324 + - *325 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -61317,9 +61357,9 @@ paths: application/json: schema: type: array - items: *434 + items: *440 examples: - default: &549 + default: &555 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61392,7 +61432,7 @@ paths: '500': *84 '400': *15 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61412,9 +61452,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *318 - - *319 - - &435 + - *324 + - *325 + - &441 name: commit_sha description: The SHA of the commit. in: path @@ -61461,7 +61501,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61486,9 +61526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *318 - - *319 - - *435 + - *324 + - *325 + - *441 - *18 - *20 responses: @@ -61498,9 +61538,9 @@ paths: application/json: schema: type: array - items: *433 + items: *439 examples: - default: *436 + default: *442 headers: Link: *39 x-github: @@ -61528,9 +61568,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *318 - - *319 - - *435 + - *324 + - *325 + - *441 requestBody: required: true content: @@ -61565,9 +61605,9 @@ paths: description: Response content: application/json: - schema: *433 + schema: *439 examples: - default: *437 + default: *443 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61595,9 +61635,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: - - *318 - - *319 - - *435 + - *324 + - *325 + - *441 - *18 - *20 responses: @@ -61607,7 +61647,7 @@ paths: application/json: schema: type: array - items: &540 + items: &546 title: Pull Request Simple description: Pull Request Simple type: object @@ -61713,8 +61753,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *444 + required: *445 nullable: true active_lock_reason: type: string @@ -61759,7 +61799,7 @@ paths: nullable: true requested_teams: type: array - items: *232 + items: *238 nullable: true head: type: object @@ -61810,7 +61850,7 @@ paths: _links: type: object properties: - comments: &440 + comments: &446 title: Link description: Hypermedia Link type: object @@ -61819,13 +61859,13 @@ paths: type: string required: - href - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + commits: *446 + statuses: *446 + html: *446 + issue: *446 + review_comments: *446 + review_comment: *446 + self: *446 required: - comments - commits @@ -61836,7 +61876,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: &542 + auto_merge: &548 title: Auto merge description: The status of auto merging a pull request. type: object @@ -61899,7 +61939,7 @@ paths: - author_association - auto_merge examples: - default: &541 + default: &547 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62379,7 +62419,7 @@ paths: draft: false headers: Link: *39 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62435,11 +62475,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *318 - - *319 + - *324 + - *325 - *20 - *18 - - &441 + - &447 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)" @@ -62454,9 +62494,9 @@ paths: description: Response content: application/json: - schema: *434 + schema: *440 examples: - default: &527 + default: &533 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62543,7 +62583,7 @@ paths: '404': *7 '500': *84 '503': *96 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62568,11 +62608,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: - - *318 - - *319 - - *441 - - *442 - - *443 + - *324 + - *325 + - *447 + - *448 + - *449 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -62606,9 +62646,9 @@ paths: type: integer check_runs: type: array - items: *389 + items: *395 examples: - default: *444 + default: *450 headers: Link: *39 x-github: @@ -62633,9 +62673,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: - - *318 - - *319 - - *441 + - *324 + - *325 + - *447 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62643,7 +62683,7 @@ paths: schema: type: integer example: 1 - - *442 + - *448 - *18 - *20 responses: @@ -62661,7 +62701,7 @@ paths: type: integer check_suites: type: array - items: *394 + items: *400 examples: default: value: @@ -62861,9 +62901,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: - - *318 - - *319 - - *441 + - *324 + - *325 + - *447 - *18 - *20 responses: @@ -62930,7 +62970,7 @@ paths: type: string total_count: type: integer - repository: *153 + repository: *159 commit_url: type: string format: uri @@ -63061,9 +63101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *318 - - *319 - - *441 + - *324 + - *325 + - *447 - *18 - *20 responses: @@ -63073,7 +63113,7 @@ paths: application/json: schema: type: array - items: &603 + items: &609 title: Status description: The status of a commit. type: object @@ -63154,7 +63194,7 @@ paths: site_admin: false headers: Link: *39 - '301': *332 + '301': *338 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63182,8 +63222,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -63212,20 +63252,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *445 - required: *446 + properties: *451 + required: *452 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &447 + properties: &453 url: type: string format: uri html_url: type: string format: uri - required: &448 + required: &454 - url - html_url nullable: true @@ -63239,26 +63279,26 @@ paths: contributing: title: Community Health File type: object - properties: *447 - required: *448 + properties: *453 + required: *454 nullable: true readme: title: Community Health File type: object - properties: *447 - required: *448 + properties: *453 + required: *454 nullable: true issue_template: title: Community Health File type: object - properties: *447 - required: *448 + properties: *453 + required: *454 nullable: true pull_request_template: title: Community Health File type: object - properties: *447 - required: *448 + properties: *453 + required: *454 nullable: true required: - code_of_conduct @@ -63384,8 +63424,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *318 - - *319 + - *324 + - *325 - *20 - *18 - name: basehead @@ -63428,8 +63468,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *434 - merge_base_commit: *434 + base_commit: *440 + merge_base_commit: *440 status: type: string enum: @@ -63449,10 +63489,10 @@ paths: example: 6 commits: type: array - items: *434 + items: *440 files: type: array - items: *449 + items: *455 required: - url - html_url @@ -63735,8 +63775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *318 - - *319 + - *324 + - *325 - name: path description: path parameter in: path @@ -63877,7 +63917,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &450 + response-if-content-is-a-file: &456 summary: Response if content is a file value: type: file @@ -64009,7 +64049,7 @@ paths: - size - type - url - - &554 + - &560 title: Content File description: Content File type: object @@ -64210,7 +64250,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *450 + response-if-content-is-a-file: *456 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64279,7 +64319,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *451 + '302': *457 '304': *37 x-github: githubCloudOnly: false @@ -64302,8 +64342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *318 - - *319 + - *324 + - *325 - name: path description: path parameter in: path @@ -64396,7 +64436,7 @@ paths: description: Response content: application/json: - schema: &452 + schema: &458 title: File Commit description: File Commit type: object @@ -64544,7 +64584,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *458 examples: example-for-creating-a-file: value: @@ -64597,7 +64637,7 @@ paths: schema: oneOf: - *3 - - &481 + - &487 description: Repository rule violation was detected type: object properties: @@ -64618,7 +64658,7 @@ paths: items: type: object properties: - placeholder_id: &596 + placeholder_id: &602 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64650,8 +64690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *318 - - *319 + - *324 + - *325 - name: path description: path parameter in: path @@ -64712,7 +64752,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *458 examples: default: value: @@ -64745,7 +64785,7 @@ paths: payload: '422': *16 '404': *7 - '409': *140 + '409': *146 '503': *96 x-github: githubCloudOnly: false @@ -64766,8 +64806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *318 - - *319 + - *324 + - *325 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64890,20 +64930,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *318 - - *319 - - *194 - - *195 - - *196 - - *197 + - *324 + - *325 + - *200 + - *201 + - *202 + - *203 - 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 - - *198 - - *199 + - *204 + - *205 - *78 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -64923,8 +64963,8 @@ paths: default: 30 - *76 - *77 - - *200 - - *201 + - *206 + - *207 responses: '200': description: Response @@ -64932,7 +64972,7 @@ paths: application/json: schema: type: array - items: &455 + items: &461 type: object description: A Dependabot alert. properties: @@ -64965,7 +65005,7 @@ paths: enum: - development - runtime - security_advisory: *453 + security_advisory: *459 security_vulnerability: *88 url: *89 html_url: *90 @@ -64996,7 +65036,7 @@ paths: nullable: true maxLength: 280 fixed_at: *94 - auto_dismissed_at: *454 + auto_dismissed_at: *460 required: - number - state @@ -65223,9 +65263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *318 - - *319 - - &456 + - *324 + - *325 + - &462 name: alert_number in: path description: |- @@ -65240,7 +65280,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *461 examples: default: value: @@ -65350,9 +65390,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *318 - - *319 - - *456 + - *324 + - *325 + - *462 requestBody: required: true content: @@ -65397,7 +65437,7 @@ paths: description: Response content: application/json: - schema: *455 + schema: *461 examples: default: value: @@ -65503,7 +65543,7 @@ paths: '400': *15 '403': *29 '404': *7 - '409': *140 + '409': *146 '422': *8 x-github: githubCloudOnly: false @@ -65526,8 +65566,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -65545,7 +65585,7 @@ paths: type: integer secrets: type: array - items: &459 + items: &465 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -65598,16 +65638,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *457 + schema: *463 examples: - default: *458 + default: *464 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65627,15 +65667,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '200': description: Response content: application/json: - schema: *459 + schema: *465 examples: default: value: @@ -65661,9 +65701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 requestBody: required: true content: @@ -65691,7 +65731,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -65715,9 +65755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *318 - - *319 - - *163 + - *324 + - *325 + - *169 responses: '204': description: Response @@ -65739,8 +65779,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: - - *318 - - *319 + - *324 + - *325 - 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 @@ -65900,8 +65940,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -66140,8 +66180,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -66216,7 +66256,7 @@ paths: - version - url additionalProperties: false - metadata: &460 + metadata: &466 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66249,7 +66289,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *460 + metadata: *466 resolved: type: object description: A collection of resolved package dependencies. @@ -66262,7 +66302,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *460 + metadata: *466 relationship: type: string description: A notation of whether a dependency is requested @@ -66391,8 +66431,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *318 - - *319 + - *324 + - *325 - name: sha description: The SHA recorded at creation time. in: query @@ -66432,9 +66472,9 @@ paths: application/json: schema: type: array - items: *461 + items: *467 examples: - default: *462 + default: *468 headers: Link: *39 x-github: @@ -66500,8 +66540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -66582,7 +66622,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *467 examples: simple-example: summary: Simple example @@ -66655,9 +66695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *318 - - *319 - - &463 + - *324 + - *325 + - &469 name: deployment_id description: deployment_id parameter in: path @@ -66669,7 +66709,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *467 examples: default: value: @@ -66734,9 +66774,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *318 - - *319 - - *463 + - *324 + - *325 + - *469 responses: '204': description: Response @@ -66758,9 +66798,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *318 - - *319 - - *463 + - *324 + - *325 + - *469 - *18 - *20 responses: @@ -66770,7 +66810,7 @@ paths: application/json: schema: type: array - items: &464 + items: &470 title: Deployment Status description: The status of a deployment. type: object @@ -66931,9 +66971,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *318 - - *319 - - *463 + - *324 + - *325 + - *469 requestBody: required: true content: @@ -67008,9 +67048,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *470 examples: - default: &465 + default: &471 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67066,9 +67106,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *318 - - *319 - - *463 + - *324 + - *325 + - *469 - name: status_id in: path required: true @@ -67079,9 +67119,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *470 examples: - default: *465 + default: *471 '404': *7 x-github: githubCloudOnly: false @@ -67106,8 +67146,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -67164,8 +67204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -67182,7 +67222,7 @@ paths: type: integer environments: type: array - items: &467 + items: &473 title: Environment description: Details of a deployment environment type: object @@ -67234,7 +67274,7 @@ paths: type: type: string example: wait_timer - wait_timer: &469 + wait_timer: &475 type: integer example: 30 description: The amount of time to delay a job after @@ -67271,11 +67311,11 @@ paths: items: type: object properties: - type: *466 + type: *472 reviewer: anyOf: - *19 - - *232 + - *238 required: - id - node_id @@ -67295,7 +67335,7 @@ paths: - id - node_id - type - deployment_branch_policy: &470 + deployment_branch_policy: &476 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -67411,9 +67451,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *318 - - *319 - - &468 + - *324 + - *325 + - &474 name: environment_name in: path required: true @@ -67426,9 +67466,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *473 examples: - default: &471 + default: &477 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -67512,9 +67552,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 requestBody: required: false content: @@ -67523,7 +67563,7 @@ paths: type: object nullable: true properties: - wait_timer: *469 + wait_timer: *475 prevent_self_review: type: boolean example: false @@ -67540,13 +67580,13 @@ paths: items: type: object properties: - type: *466 + type: *472 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *470 + deployment_branch_policy: *476 additionalProperties: false examples: default: @@ -67566,9 +67606,9 @@ paths: description: Response content: application/json: - schema: *467 + schema: *473 examples: - default: *471 + default: *477 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -67592,9 +67632,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 responses: '204': description: Default response @@ -67619,9 +67659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 - *18 - *20 responses: @@ -67639,7 +67679,7 @@ paths: example: 2 branch_policies: type: array - items: &472 + items: &478 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67696,9 +67736,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 requestBody: required: true content: @@ -67744,9 +67784,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *478 examples: - example-wildcard: &473 + example-wildcard: &479 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67788,10 +67828,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *318 - - *319 - - *468 - - &474 + - *324 + - *325 + - *474 + - &480 name: branch_policy_id in: path required: true @@ -67803,9 +67843,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *478 examples: - default: *473 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67824,10 +67864,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *318 - - *319 - - *468 + - *324 + - *325 - *474 + - *480 requestBody: required: true content: @@ -67855,9 +67895,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *478 examples: - default: *473 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67876,10 +67916,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *318 - - *319 - - *468 + - *324 + - *325 - *474 + - *480 responses: '204': description: Response @@ -67904,9 +67944,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: - - *468 - - *319 - - *318 + - *474 + - *325 + - *324 responses: '200': description: List of deployment protection rules @@ -67922,7 +67962,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &475 + items: &481 title: Deployment protection rule description: Deployment protection rule type: object @@ -67941,7 +67981,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &476 + app: &482 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -68040,9 +68080,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: - - *468 - - *319 - - *318 + - *474 + - *325 + - *324 requestBody: content: application/json: @@ -68063,9 +68103,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *475 + schema: *481 examples: - default: &477 + default: &483 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -68100,9 +68140,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: - - *468 - - *319 - - *318 + - *474 + - *325 + - *324 - *20 - *18 responses: @@ -68121,7 +68161,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *476 + items: *482 examples: default: value: @@ -68156,10 +68196,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: - - *318 - - *319 - - *468 - - &478 + - *324 + - *325 + - *474 + - &484 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -68171,9 +68211,9 @@ paths: description: Response content: application/json: - schema: *475 + schema: *481 examples: - default: *477 + default: *483 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68194,10 +68234,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: - - *468 - - *319 - - *318 - - *478 + - *474 + - *325 + - *324 + - *484 responses: '204': description: Response @@ -68223,9 +68263,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 - *18 - *20 responses: @@ -68243,9 +68283,9 @@ paths: type: integer secrets: type: array - items: *355 + items: *361 examples: - default: *356 + default: *362 headers: Link: *39 x-github: @@ -68270,17 +68310,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 responses: '200': description: Response content: application/json: - schema: *357 + schema: *363 examples: - default: *358 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68302,18 +68342,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *318 - - *319 - - *468 - - *163 + - *324 + - *325 + - *474 + - *169 responses: '200': description: Response content: application/json: - schema: *355 + schema: *361 examples: - default: *479 + default: *485 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68335,10 +68375,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *318 - - *319 - - *468 - - *163 + - *324 + - *325 + - *474 + - *169 requestBody: required: true content: @@ -68369,7 +68409,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -68395,10 +68435,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *318 - - *319 - - *468 - - *163 + - *324 + - *325 + - *474 + - *169 responses: '204': description: Default response @@ -68423,10 +68463,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *318 - - *319 - - *468 - - *342 + - *324 + - *325 + - *474 + - *348 - *20 responses: '200': @@ -68443,9 +68483,9 @@ paths: type: integer variables: type: array - items: *359 + items: *365 examples: - default: *360 + default: *366 headers: Link: *39 x-github: @@ -68468,9 +68508,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *318 - - *319 - - *468 + - *324 + - *325 + - *474 requestBody: required: true content: @@ -68497,7 +68537,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -68522,18 +68562,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *318 - - *319 - - *468 - - *166 + - *324 + - *325 + - *474 + - *172 responses: '200': description: Response content: application/json: - schema: *359 + schema: *365 examples: - default: *480 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68554,10 +68594,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *318 - - *319 - - *166 - - *468 + - *324 + - *325 + - *172 + - *474 requestBody: required: true content: @@ -68599,10 +68639,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *318 - - *319 - - *166 - - *468 + - *324 + - *325 + - *172 + - *474 responses: '204': description: Response @@ -68624,8 +68664,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -68702,8 +68742,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *318 - - *319 + - *324 + - *325 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68725,7 +68765,7 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: default: value: @@ -68862,8 +68902,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -68895,9 +68935,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 + default: *339 '400': *15 '422': *16 '403': *29 @@ -68918,8 +68958,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -68970,7 +69010,7 @@ paths: schema: type: string '404': *7 - '409': *140 + '409': *146 '403': *29 '422': description: Validation failed @@ -68978,8 +69018,8 @@ paths: application/json: schema: oneOf: - - *138 - - *481 + - *144 + - *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69004,8 +69044,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *318 - - *319 + - *324 + - *325 - name: file_sha in: path required: true @@ -69056,7 +69096,7 @@ paths: '404': *7 '422': *16 '403': *29 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69103,8 +69143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -69213,7 +69253,7 @@ paths: description: Response content: application/json: - schema: &482 + schema: &488 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69372,7 +69412,7 @@ paths: type: string '422': *16 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69421,15 +69461,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *318 - - *319 - - *435 + - *324 + - *325 + - *441 responses: '200': description: Response content: application/json: - schema: *482 + schema: *488 examples: default: value: @@ -69459,7 +69499,7 @@ paths: signature: payload: '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69484,9 +69524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *318 - - *319 - - &483 + - *324 + - *325 + - &489 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. @@ -69503,7 +69543,7 @@ paths: application/json: schema: type: array - items: &484 + items: &490 title: Git Reference description: Git references within a repository type: object @@ -69557,7 +69597,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *39 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69578,17 +69618,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *318 - - *319 - - *483 + - *324 + - *325 + - *489 responses: '200': description: Response content: application/json: - schema: *484 + schema: *490 examples: - default: &485 + default: &491 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69598,7 +69638,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69617,8 +69657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -69647,16 +69687,16 @@ paths: description: Response content: application/json: - schema: *484 + schema: *490 examples: - default: *485 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69675,9 +69715,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *318 - - *319 - - *483 + - *324 + - *325 + - *489 requestBody: required: true content: @@ -69706,11 +69746,11 @@ paths: description: Response content: application/json: - schema: *484 + schema: *490 examples: - default: *485 + default: *491 '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69726,14 +69766,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *318 - - *319 - - *483 + - *324 + - *325 + - *489 responses: '204': description: Response '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69780,8 +69820,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -69848,7 +69888,7 @@ paths: description: Response content: application/json: - schema: &487 + schema: &493 title: Git Tag description: Metadata for a Git tag type: object @@ -69899,7 +69939,7 @@ paths: - sha - type - url - verification: *486 + verification: *492 required: - sha - url @@ -69909,7 +69949,7 @@ paths: - tag - message examples: - default: &488 + default: &494 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -69935,7 +69975,7 @@ paths: schema: type: string '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69980,8 +70020,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *318 - - *319 + - *324 + - *325 - name: tag_sha in: path required: true @@ -69992,11 +70032,11 @@ paths: description: Response content: application/json: - schema: *487 + schema: *493 examples: - default: *488 + default: *494 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70018,8 +70058,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -70092,7 +70132,7 @@ paths: description: Response content: application/json: - schema: &489 + schema: &495 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -70181,7 +70221,7 @@ paths: '422': *16 '404': *7 '403': *29 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70204,8 +70244,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *318 - - *319 + - *324 + - *325 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -70228,7 +70268,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *495 examples: default-response: summary: Default response @@ -70269,7 +70309,7 @@ paths: truncated: false '422': *16 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70287,8 +70327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -70298,7 +70338,7 @@ paths: application/json: schema: type: array - items: &490 + items: &496 title: Webhook description: Webhooks for repositories. type: object @@ -70352,7 +70392,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &733 + last_response: &739 title: Hook Response type: object properties: @@ -70426,8 +70466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -70479,9 +70519,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: - default: &491 + default: &497 value: type: Repository id: 12345678 @@ -70529,17 +70569,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '200': description: Response content: application/json: - schema: *490 + schema: *496 examples: - default: *491 + default: *497 '404': *7 x-github: githubCloudOnly: false @@ -70559,9 +70599,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 requestBody: required: true content: @@ -70606,9 +70646,9 @@ paths: description: Response content: application/json: - schema: *490 + schema: *496 examples: - default: *491 + default: *497 '422': *16 '404': *7 x-github: @@ -70626,9 +70666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '204': description: Response @@ -70652,9 +70692,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: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '200': description: Response @@ -70681,9 +70721,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: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 requestBody: required: false content: @@ -70727,11 +70767,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 - *18 - - *210 + - *216 responses: '200': description: Response @@ -70739,9 +70779,9 @@ paths: application/json: schema: type: array - items: *211 + items: *217 examples: - default: *212 + default: *218 '400': *15 '422': *16 x-github: @@ -70760,18 +70800,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: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 - *17 responses: '200': description: Response content: application/json: - schema: *213 + schema: *219 examples: - default: *214 + default: *220 '400': *15 '422': *16 x-github: @@ -70790,12 +70830,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: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 - *17 responses: - '202': *141 + '202': *147 '400': *15 '422': *16 x-github: @@ -70815,9 +70855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '204': description: Response @@ -70842,9 +70882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *318 - - *319 - - *209 + - *324 + - *325 + - *215 responses: '204': description: Response @@ -70902,14 +70942,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &492 + schema: &498 title: Import description: A repository import from an external source. type: object @@ -71008,7 +71048,7 @@ paths: - html_url - authors_url examples: - default: &495 + default: &501 value: vcs: subversion use_lfs: true @@ -71024,7 +71064,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &493 + '503': &499 description: Unavailable due to service under maintenance. content: application/json: @@ -71053,8 +71093,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -71102,7 +71142,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *498 examples: default: value: @@ -71127,7 +71167,7 @@ paths: type: string '422': *16 '404': *7 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71155,8 +71195,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -71205,7 +71245,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *498 examples: example-1: summary: Example 1 @@ -71253,7 +71293,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': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71276,12 +71316,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71307,9 +71347,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *318 - - *319 - - &679 + - *324 + - *325 + - &685 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71323,7 +71363,7 @@ paths: application/json: schema: type: array - items: &494 + items: &500 title: Porter Author description: Porter Author type: object @@ -71377,7 +71417,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71402,8 +71442,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *318 - - *319 + - *324 + - *325 - name: author_id in: path required: true @@ -71433,7 +71473,7 @@ paths: description: Response content: application/json: - schema: *494 + schema: *500 examples: default: value: @@ -71446,7 +71486,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71470,8 +71510,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -71512,7 +71552,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71540,8 +71580,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -71568,11 +71608,11 @@ paths: description: Response content: application/json: - schema: *492 + schema: *498 examples: - default: *495 + default: *501 '422': *16 - '503': *493 + '503': *499 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71595,8 +71635,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -71604,8 +71644,8 @@ paths: application/json: schema: *22 examples: - default: *496 - '301': *332 + default: *502 + '301': *338 '404': *7 x-github: githubCloudOnly: false @@ -71625,8 +71665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -71634,12 +71674,12 @@ paths: application/json: schema: anyOf: - - *227 + - *233 - type: object properties: {} additionalProperties: false examples: - default: &498 + default: &504 value: limit: collaborators_only origin: repository @@ -71664,13 +71704,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: application/json: - schema: *497 + schema: *503 examples: default: summary: Example request body @@ -71682,9 +71722,9 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: - default: *498 + default: *504 '409': description: Response x-github: @@ -71706,8 +71746,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -71730,8 +71770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -71741,9 +71781,9 @@ paths: application/json: schema: type: array - items: *499 + items: *505 examples: - default: &672 + default: &678 value: - id: 1 repository: @@ -71874,9 +71914,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *318 - - *319 - - *231 + - *324 + - *325 + - *237 requestBody: required: false content: @@ -71905,7 +71945,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *505 examples: default: value: @@ -72036,9 +72076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *318 - - *319 - - *231 + - *324 + - *325 + - *237 responses: '204': description: Response @@ -72069,8 +72109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *318 - - *319 + - *324 + - *325 - 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 @@ -72110,7 +72150,7 @@ paths: required: false schema: type: string - - *233 + - *239 - name: sort description: What to sort results by. in: query @@ -72283,7 +72323,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *332 + '301': *338 '422': *16 '404': *7 x-github: @@ -72312,8 +72352,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -72390,7 +72430,7 @@ paths: application/json: schema: *118 examples: - default: &505 + default: &511 value: id: 1 node_id: MDU6SXNzdWUx @@ -72546,7 +72586,7 @@ paths: '422': *16 '503': *96 '404': *7 - '410': *329 + '410': *335 x-github: triggersNotification: true githubCloudOnly: false @@ -72574,8 +72614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *128 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -72596,9 +72636,9 @@ paths: application/json: schema: type: array - items: *500 + items: *506 examples: - default: &507 + default: &513 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72656,17 +72696,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 responses: '200': description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: &501 + default: &507 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72720,8 +72760,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -72744,9 +72784,9 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: *501 + default: *507 '422': *16 x-github: githubCloudOnly: false @@ -72764,8 +72804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 responses: '204': @@ -72786,8 +72826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -72814,9 +72854,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 @@ -72837,8 +72877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -72871,16 +72911,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Reaction created content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -72902,10 +72942,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *318 - - *319 + - *324 + - *325 - *117 - - *310 + - *316 responses: '204': description: Response @@ -72925,8 +72965,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -72936,7 +72976,7 @@ paths: application/json: schema: type: array - items: &504 + items: &510 title: Issue Event description: Issue Event type: object @@ -72979,8 +73019,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *502 - required: *503 + properties: *508 + required: *509 nullable: true label: title: Issue Event Label @@ -73024,7 +73064,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *232 + requested_team: *238 dismissed_review: title: Issue Event Dismissed Review type: object @@ -73287,8 +73327,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *318 - - *319 + - *324 + - *325 - name: event_id in: path required: true @@ -73299,7 +73339,7 @@ paths: description: Response content: application/json: - schema: *504 + schema: *510 examples: default: value: @@ -73492,7 +73532,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *329 + '410': *335 '403': *29 x-github: githubCloudOnly: false @@ -73526,9 +73566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *318 - - *319 - - &506 + - *324 + - *325 + - &512 name: issue_number description: The number that identifies the issue. in: path @@ -73542,10 +73582,10 @@ paths: application/json: schema: *118 examples: - default: *505 - '301': *332 + default: *511 + '301': *338 '404': *7 - '410': *329 + '410': *335 '304': *37 x-github: githubCloudOnly: false @@ -73570,9 +73610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -73669,13 +73709,13 @@ paths: application/json: schema: *118 examples: - default: *505 + default: *511 '422': *16 '503': *96 '403': *29 - '301': *332 + '301': *338 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73693,9 +73733,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -73723,7 +73763,7 @@ paths: application/json: schema: *118 examples: - default: *505 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73739,9 +73779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: content: application/json: @@ -73768,7 +73808,7 @@ paths: application/json: schema: *118 examples: - default: *505 + default: *511 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73790,9 +73830,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: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - name: assignee in: path required: true @@ -73832,9 +73872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - *108 - *18 - *20 @@ -73845,13 +73885,13 @@ paths: application/json: schema: type: array - items: *500 + items: *506 examples: - default: *507 + default: *513 headers: Link: *39 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73880,9 +73920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: true content: @@ -73904,16 +73944,16 @@ paths: description: Response content: application/json: - schema: *500 + schema: *506 examples: - default: *501 + default: *507 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *329 + '410': *335 '422': *16 '404': *7 x-github: @@ -73933,9 +73973,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - *18 - *20 responses: @@ -73949,7 +73989,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &510 + - &516 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74003,7 +74043,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &511 + - &517 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74139,7 +74179,7 @@ paths: - performed_via_github_app - assignee - assigner - - &512 + - &518 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74190,7 +74230,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &513 + - &519 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74241,7 +74281,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &514 + - &520 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74295,7 +74335,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &515 + - &521 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74329,7 +74369,7 @@ paths: properties: *103 required: *104 review_requester: *19 - requested_team: *232 + requested_team: *238 requested_reviewer: *19 required: - review_requester @@ -74342,7 +74382,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &516 + - &522 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74376,7 +74416,7 @@ paths: properties: *103 required: *104 review_requester: *19 - requested_team: *232 + requested_team: *238 requested_reviewer: *19 required: - review_requester @@ -74389,7 +74429,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &517 + - &523 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74449,7 +74489,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &524 title: Locked Issue Event description: Locked Issue Event type: object @@ -74497,7 +74537,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &519 + - &525 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74563,7 +74603,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &526 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74629,7 +74669,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &527 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74695,7 +74735,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &528 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74786,7 +74826,7 @@ paths: color: red headers: Link: *39 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74803,9 +74843,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - *18 - *20 responses: @@ -74815,7 +74855,7 @@ paths: application/json: schema: type: array - items: &508 + items: &514 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74862,7 +74902,7 @@ paths: - color - default examples: - default: &509 + default: &515 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74880,9 +74920,9 @@ paths: default: false headers: Link: *39 - '301': *332 + '301': *338 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74899,9 +74939,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -74960,12 +75000,12 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: - default: *509 - '301': *332 + default: *515 + '301': *338 '404': *7 - '410': *329 + '410': *335 '422': *16 x-github: githubCloudOnly: false @@ -74982,9 +75022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -75044,12 +75084,12 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: - default: *509 - '301': *332 + default: *515 + '301': *338 '404': *7 - '410': *329 + '410': *335 '422': *16 x-github: githubCloudOnly: false @@ -75066,15 +75106,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 responses: '204': description: Response - '301': *332 + '301': *338 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75093,9 +75133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - name: name in: path required: true @@ -75108,7 +75148,7 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: default: value: @@ -75119,9 +75159,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *332 + '301': *338 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75141,9 +75181,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: false content: @@ -75171,7 +75211,7 @@ paths: '204': description: Response '403': *29 - '410': *329 + '410': *335 '404': *7 '422': *16 x-github: @@ -75189,9 +75229,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 responses: '204': description: Response @@ -75213,9 +75253,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - 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. @@ -75241,13 +75281,13 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75265,9 +75305,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 requestBody: required: true content: @@ -75299,16 +75339,16 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -75330,10 +75370,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *318 - - *319 - - *506 - - *310 + - *324 + - *325 + - *512 + - *316 responses: '204': description: Response @@ -75353,9 +75393,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *318 - - *319 - - *506 + - *324 + - *325 + - *512 - *18 - *20 responses: @@ -75370,12 +75410,6 @@ paths: description: Timeline Event type: object anyOf: - - *510 - - *511 - - *512 - - *513 - - *514 - - *515 - *516 - *517 - *518 @@ -75383,6 +75417,12 @@ paths: - *520 - *521 - *522 + - *523 + - *524 + - *525 + - *526 + - *527 + - *528 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75683,7 +75723,7 @@ paths: type: string comments: type: array - items: &543 + items: &549 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -75892,7 +75932,7 @@ paths: type: string comments: type: array - items: *433 + items: *439 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76181,7 +76221,7 @@ paths: headers: Link: *39 '404': *7 - '410': *329 + '410': *335 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76198,8 +76238,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -76209,7 +76249,7 @@ paths: application/json: schema: type: array - items: &523 + items: &529 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76274,8 +76314,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -76311,9 +76351,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: &524 + default: &530 value: id: 1 key: ssh-rsa AAA... @@ -76347,9 +76387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *318 - - *319 - - &525 + - *324 + - *325 + - &531 name: key_id description: The unique identifier of the key. in: path @@ -76361,9 +76401,9 @@ paths: description: Response content: application/json: - schema: *523 + schema: *529 examples: - default: *524 + default: *530 '404': *7 x-github: githubCloudOnly: false @@ -76381,9 +76421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *318 - - *319 - - *525 + - *324 + - *325 + - *531 responses: '204': description: Response @@ -76403,8 +76443,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -76414,9 +76454,9 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: - default: *509 + default: *515 headers: Link: *39 '404': *7 @@ -76437,8 +76477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -76474,9 +76514,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: &526 + default: &532 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76508,8 +76548,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *318 - - *319 + - *324 + - *325 - name: name in: path required: true @@ -76520,9 +76560,9 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: - default: *526 + default: *532 '404': *7 x-github: githubCloudOnly: false @@ -76539,8 +76579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *318 - - *319 + - *324 + - *325 - name: name in: path required: true @@ -76579,7 +76619,7 @@ paths: description: Response content: application/json: - schema: *508 + schema: *514 examples: default: value: @@ -76605,8 +76645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *318 - - *319 + - *324 + - *325 - name: name in: path required: true @@ -76632,8 +76672,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -76669,10 +76709,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: - '202': *141 + '202': *147 '403': description: |- We will return a 403 with one of the following messages: @@ -76698,8 +76738,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -76725,9 +76765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *318 - - *319 - - *408 + - *324 + - *325 + - *414 responses: '200': description: Response @@ -76872,8 +76912,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -76938,8 +76978,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -76973,9 +77013,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *434 + schema: *440 examples: - default: *527 + default: *533 '204': description: Response when already merged '404': @@ -77000,8 +77040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *318 - - *319 + - *324 + - *325 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -77042,12 +77082,12 @@ paths: application/json: schema: type: array - items: &528 + items: &534 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *444 + required: *445 examples: default: value: @@ -77103,8 +77143,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -77144,9 +77184,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: &529 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77205,9 +77245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *318 - - *319 - - &530 + - *324 + - *325 + - &536 name: milestone_number description: The number that identifies the milestone. in: path @@ -77219,9 +77259,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *529 + default: *535 '404': *7 x-github: githubCloudOnly: false @@ -77238,9 +77278,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *318 - - *319 - - *530 + - *324 + - *325 + - *536 requestBody: required: false content: @@ -77278,9 +77318,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *534 examples: - default: *529 + default: *535 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77296,9 +77336,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *318 - - *319 - - *530 + - *324 + - *325 + - *536 responses: '204': description: Response @@ -77319,9 +77359,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: - - *318 - - *319 - - *530 + - *324 + - *325 + - *536 - *18 - *20 responses: @@ -77331,9 +77371,9 @@ paths: application/json: schema: type: array - items: *508 + items: *514 examples: - default: *509 + default: *515 headers: Link: *39 x-github: @@ -77352,12 +77392,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: - - *318 - - *319 - - *531 - - *532 + - *324 + - *325 + - *537 + - *538 - *108 - - *533 + - *539 - *18 - *20 responses: @@ -77369,7 +77409,7 @@ paths: type: array items: *131 examples: - default: *534 + default: *540 headers: Link: *39 x-github: @@ -77393,8 +77433,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -77452,14 +77492,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: &535 + schema: &541 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77584,7 +77624,7 @@ paths: - custom_404 - public examples: - default: &536 + default: &542 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77625,8 +77665,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -77680,11 +77720,11 @@ paths: description: Response content: application/json: - schema: *535 + schema: *541 examples: - default: *536 + default: *542 '422': *16 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77705,8 +77745,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -77792,7 +77832,7 @@ paths: description: Response '422': *16 '400': *15 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77813,14 +77853,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response '422': *16 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77840,8 +77880,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -77851,7 +77891,7 @@ paths: application/json: schema: type: array - items: &537 + items: &543 title: Page Build description: Page Build type: object @@ -77945,8 +77985,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *318 - - *319 + - *324 + - *325 responses: '201': description: Response @@ -77991,16 +78031,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: &538 + default: &544 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78048,8 +78088,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *318 - - *319 + - *324 + - *325 - name: build_id in: path required: true @@ -78060,9 +78100,9 @@ paths: description: Response content: application/json: - schema: *537 + schema: *543 examples: - default: *538 + default: *544 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78082,8 +78122,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -78189,9 +78229,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: - - *318 - - *319 - - &539 + - *324 + - *325 + - &545 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78249,11 +78289,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *318 - - *319 - - *539 + - *324 + - *325 + - *545 responses: - '204': *184 + '204': *190 '404': *7 x-github: githubCloudOnly: false @@ -78278,8 +78318,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -78510,7 +78550,7 @@ paths: description: Empty response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -78537,8 +78577,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Private vulnerability reporting status @@ -78575,10 +78615,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: - - *318 - - *319 + - *324 + - *325 responses: - '204': *184 + '204': *190 '422': *15 x-github: githubCloudOnly: false @@ -78597,10 +78637,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: - - *318 - - *319 + - *324 + - *325 responses: - '204': *184 + '204': *190 '422': *15 x-github: githubCloudOnly: false @@ -78621,8 +78661,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *318 - - *319 + - *324 + - *325 - name: state description: Indicates the state of the projects to return. in: query @@ -78643,7 +78683,7 @@ paths: application/json: schema: type: array - items: *261 + items: *267 examples: default: value: @@ -78683,7 +78723,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *329 + '410': *335 '422': *8 x-github: githubCloudOnly: false @@ -78703,8 +78743,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -78730,13 +78770,13 @@ paths: description: Response content: application/json: - schema: *261 + schema: *267 examples: - default: *328 + default: *334 '401': *25 '403': *29 '404': *7 - '410': *329 + '410': *335 '422': *8 x-github: githubCloudOnly: false @@ -78756,8 +78796,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -78765,7 +78805,7 @@ paths: application/json: schema: type: array - items: *266 + items: *272 examples: default: value: @@ -78796,8 +78836,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -78809,7 +78849,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *266 + items: *272 required: - properties examples: @@ -78859,8 +78899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *318 - - *319 + - *324 + - *325 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -78920,9 +78960,9 @@ paths: application/json: schema: type: array - items: *540 + items: *546 examples: - default: *541 + default: *547 headers: Link: *39 '304': *37 @@ -78954,8 +78994,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -79020,7 +79060,7 @@ paths: description: Response content: application/json: - schema: &545 + schema: &551 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79131,8 +79171,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *444 + required: *445 nullable: true active_lock_reason: type: string @@ -79177,7 +79217,7 @@ paths: nullable: true requested_teams: type: array - items: *290 + items: *296 nullable: true head: type: object @@ -79216,14 +79256,14 @@ paths: _links: type: object properties: - comments: *440 - commits: *440 - statuses: *440 - html: *440 - issue: *440 - review_comments: *440 - review_comment: *440 - self: *440 + comments: *446 + commits: *446 + statuses: *446 + html: *446 + issue: *446 + review_comments: *446 + review_comment: *446 + self: *446 required: - comments - commits @@ -79234,7 +79274,7 @@ paths: - review_comment - self author_association: *105 - auto_merge: *542 + auto_merge: *548 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -79326,7 +79366,7 @@ paths: - merged_by - review_comments examples: - default: &546 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -79853,8 +79893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *318 - - *319 + - *324 + - *325 - name: sort in: query required: false @@ -79883,9 +79923,9 @@ paths: application/json: schema: type: array - items: *543 + items: *549 examples: - default: &548 + default: &554 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -79962,17 +80002,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: - - *318 - - *319 + - *324 + - *325 - *117 responses: '200': description: Response content: application/json: - schema: *543 + schema: *549 examples: - default: &544 + default: &550 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80047,8 +80087,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: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -80071,9 +80111,9 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: - default: *544 + default: *550 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80089,8 +80129,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: - - *318 - - *319 + - *324 + - *325 - *117 responses: '204': @@ -80112,8 +80152,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: - - *318 - - *319 + - *324 + - *325 - *117 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). @@ -80140,9 +80180,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 @@ -80163,8 +80203,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: - - *318 - - *319 + - *324 + - *325 - *117 requestBody: required: true @@ -80197,16 +80237,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Reaction created content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -80228,10 +80268,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *318 - - *319 + - *324 + - *325 - *117 - - *310 + - *316 responses: '204': description: Response @@ -80274,9 +80314,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *318 - - *319 - - &547 + - *324 + - *325 + - &553 name: pull_number description: The number that identifies the pull request. in: path @@ -80289,9 +80329,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *545 + schema: *551 examples: - default: *546 + default: *552 '304': *37 '404': *7 '406': @@ -80326,9 +80366,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -80370,9 +80410,9 @@ paths: description: Response content: application/json: - schema: *545 + schema: *551 examples: - default: *546 + default: *552 '422': *16 '403': *29 x-github: @@ -80394,9 +80434,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: true content: @@ -80456,17 +80496,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '401': *25 '403': *29 '404': *7 @@ -80496,9 +80536,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *128 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -80519,9 +80559,9 @@ paths: application/json: schema: type: array - items: *543 + items: *549 examples: - default: *548 + default: *554 headers: Link: *39 x-github: @@ -80554,9 +80594,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: true content: @@ -80661,7 +80701,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: example-for-a-multi-line-comment: value: @@ -80749,9 +80789,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *117 requestBody: required: true @@ -80774,7 +80814,7 @@ paths: description: Response content: application/json: - schema: *543 + schema: *549 examples: default: value: @@ -80860,9 +80900,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *18 - *20 responses: @@ -80872,9 +80912,9 @@ paths: application/json: schema: type: array - items: *434 + items: *440 examples: - default: *549 + default: *555 headers: Link: *39 x-github: @@ -80904,9 +80944,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *18 - *20 responses: @@ -80916,7 +80956,7 @@ paths: application/json: schema: type: array - items: *449 + items: *455 examples: default: value: @@ -80954,9 +80994,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 responses: '204': description: Response if pull request has been merged @@ -80979,9 +81019,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -81092,9 +81132,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 responses: '200': description: Response @@ -81110,7 +81150,7 @@ paths: items: *19 teams: type: array - items: *232 + items: *238 required: - users - teams @@ -81169,9 +81209,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -81208,7 +81248,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: default: value: @@ -81744,9 +81784,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: true content: @@ -81780,7 +81820,7 @@ paths: description: Response content: application/json: - schema: *540 + schema: *546 examples: default: value: @@ -82285,9 +82325,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 - *18 - *20 responses: @@ -82297,7 +82337,7 @@ paths: application/json: schema: type: array - items: &550 + items: &556 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82448,9 +82488,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: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -82536,9 +82576,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: &552 + default: &558 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82601,10 +82641,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: - - *318 - - *319 - - *547 - - &551 + - *324 + - *325 + - *553 + - &557 name: review_id description: The unique identifier of the review. in: path @@ -82616,9 +82656,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: &553 + default: &559 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82677,10 +82717,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 requestBody: required: true content: @@ -82703,7 +82743,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: default: value: @@ -82765,18 +82805,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 responses: '200': description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: *552 + default: *558 '422': *8 '404': *7 x-github: @@ -82803,10 +82843,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 - *18 - *20 responses: @@ -82889,9 +82929,9 @@ paths: _links: type: object properties: - self: *440 - html: *440 - pull_request: *440 + self: *446 + html: *446 + pull_request: *446 required: - self - html @@ -83034,10 +83074,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 requestBody: required: true content: @@ -83065,7 +83105,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: default: value: @@ -83128,10 +83168,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: - - *318 - - *319 - - *547 - - *551 + - *324 + - *325 + - *553 + - *557 requestBody: required: true content: @@ -83166,9 +83206,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *556 examples: - default: *553 + default: *559 '404': *7 '422': *8 '403': *29 @@ -83190,9 +83230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *318 - - *319 - - *547 + - *324 + - *325 + - *553 requestBody: required: false content: @@ -83255,8 +83295,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *318 - - *319 + - *324 + - *325 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83269,9 +83309,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *560 examples: - default: &555 + default: &561 value: type: file encoding: base64 @@ -83313,8 +83353,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: - - *318 - - *319 + - *324 + - *325 - name: dir description: The alternate path to look for a README file in: path @@ -83334,9 +83374,9 @@ paths: description: Response content: application/json: - schema: *554 + schema: *560 examples: - default: *555 + default: *561 '404': *7 '422': *16 x-github: @@ -83358,8 +83398,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -83369,7 +83409,7 @@ paths: application/json: schema: type: array - items: &556 + items: &562 title: Release description: A release. type: object @@ -83432,7 +83472,7 @@ paths: author: *19 assets: type: array - items: &557 + items: &563 title: Release Asset description: Data related to a release. type: object @@ -83613,8 +83653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -83690,9 +83730,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: &560 + default: &566 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -83795,9 +83835,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *318 - - *319 - - &558 + - *324 + - *325 + - &564 name: asset_id description: The unique identifier of the asset. in: path @@ -83809,9 +83849,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *563 examples: - default: &559 + default: &565 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 @@ -83845,7 +83885,7 @@ paths: type: User site_admin: false '404': *7 - '302': *451 + '302': *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83861,9 +83901,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *318 - - *319 - - *558 + - *324 + - *325 + - *564 requestBody: required: false content: @@ -83891,9 +83931,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *563 examples: - default: *559 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83909,9 +83949,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *318 - - *319 - - *558 + - *324 + - *325 + - *564 responses: '204': description: Response @@ -83935,8 +83975,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -84021,16 +84061,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: *560 + default: *566 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84047,8 +84087,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *318 - - *319 + - *324 + - *325 - name: tag description: tag parameter in: path @@ -84061,9 +84101,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: *560 + default: *566 '404': *7 x-github: githubCloudOnly: false @@ -84085,9 +84125,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *318 - - *319 - - &561 + - *324 + - *325 + - &567 name: release_id description: The unique identifier of the release. in: path @@ -84101,9 +84141,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: *556 + schema: *562 examples: - default: *560 + default: *566 '401': description: Unauthorized x-github: @@ -84121,9 +84161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 requestBody: required: false content: @@ -84187,9 +84227,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *562 examples: - default: *560 + default: *566 '404': description: Not Found if the discussion category name is invalid content: @@ -84210,9 +84250,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 responses: '204': description: Response @@ -84232,9 +84272,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 - *18 - *20 responses: @@ -84244,7 +84284,7 @@ paths: application/json: schema: type: array - items: *557 + items: *563 examples: default: value: @@ -84325,9 +84365,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: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 - name: name in: query required: true @@ -84353,7 +84393,7 @@ paths: description: Response for successful upload content: application/json: - schema: *557 + schema: *563 examples: response-for-successful-upload: value: @@ -84407,9 +84447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 - 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. @@ -84433,9 +84473,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 '404': *7 @@ -84456,9 +84496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *318 - - *319 - - *561 + - *324 + - *325 + - *567 requestBody: required: true content: @@ -84488,16 +84528,16 @@ paths: description: Reaction exists content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '201': description: Reaction created content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 '422': *16 x-github: githubCloudOnly: false @@ -84519,10 +84559,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *318 - - *319 - - *561 - - *310 + - *324 + - *325 + - *567 + - *316 responses: '204': description: Response @@ -84546,9 +84586,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *318 - - *319 - - *377 + - *324 + - *325 + - *383 - *18 - *20 responses: @@ -84564,8 +84604,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *562 - - &564 + - *568 + - &570 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84584,54 +84624,54 @@ paths: ruleset_id: type: integer description: The ID of the ruleset that includes this rule. - - allOf: - - *563 - - *564 - - allOf: - - *565 - - *564 - - allOf: - - *566 - - *564 - - allOf: - - *567 - - *564 - - allOf: - - *568 - - *564 - allOf: - *569 - - *564 - - allOf: - *570 - - *564 - allOf: - *571 - - *564 + - *570 - allOf: - *572 - - *564 + - *570 - allOf: - *573 - - *564 + - *570 - allOf: - *574 - - *564 + - *570 - allOf: - *575 - - *564 + - *570 - allOf: - *576 - - *564 + - *570 - allOf: - *577 - - *564 + - *570 - allOf: - *578 - - *564 + - *570 - allOf: - *579 - - *564 + - *570 + - allOf: + - *580 + - *570 + - allOf: + - *581 + - *570 + - allOf: + - *582 + - *570 + - allOf: + - *583 + - *570 + - allOf: + - *584 + - *570 + - allOf: + - *585 + - *570 examples: default: value: @@ -84670,8 +84710,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 - name: includes_parents @@ -84682,7 +84722,7 @@ paths: schema: type: boolean default: true - - *580 + - *586 responses: '200': description: Response @@ -84690,7 +84730,7 @@ paths: application/json: schema: type: array - items: *278 + items: *284 examples: default: value: @@ -84737,8 +84777,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 requestBody: description: Request body required: true @@ -84758,16 +84798,16 @@ paths: - tag - push default: branch - enforcement: *274 + enforcement: *280 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *275 - conditions: *272 + items: *281 + conditions: *278 rules: type: array description: An array of rules within the ruleset. - items: *277 + items: *283 required: - name - enforcement @@ -84798,9 +84838,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: &590 + default: &596 value: id: 42 name: super cool ruleset @@ -84847,12 +84887,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *318 - - *319 - - *581 - - *582 - - *583 - - *584 + - *324 + - *325 + - *587 + - *588 + - *589 + - *590 - *18 - *20 responses: @@ -84860,9 +84900,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *591 examples: - default: *586 + default: *592 '404': *7 '500': *84 x-github: @@ -84883,17 +84923,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *318 - - *319 - - *587 + - *324 + - *325 + - *593 responses: '200': description: Response content: application/json: - schema: *588 + schema: *594 examples: - default: *589 + default: *595 '404': *7 '500': *84 x-github: @@ -84921,8 +84961,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84942,9 +84982,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *590 + default: *596 '404': *7 '500': *84 put: @@ -84962,8 +85002,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -84988,16 +85028,16 @@ paths: - branch - tag - push - enforcement: *274 + enforcement: *280 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *275 - conditions: *272 + items: *281 + conditions: *278 rules: description: An array of rules within the ruleset. type: array - items: *277 + items: *283 examples: default: value: @@ -85025,9 +85065,9 @@ paths: description: Response content: application/json: - schema: *278 + schema: *284 examples: - default: *590 + default: *596 '404': *7 '500': *84 delete: @@ -85045,8 +85085,8 @@ paths: category: repos subcategory: rules parameters: - - *318 - - *319 + - *324 + - *325 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85074,20 +85114,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: - - *318 - - *319 - - *280 - - *281 - - *282 - - *283 + - *324 + - *325 + - *286 + - *287 + - *288 + - *289 - *78 - *20 - *18 - - *591 - - *592 - - *284 - - *285 - - *286 + - *597 + - *598 + - *290 + - *291 + - *292 responses: '200': description: Response @@ -85095,7 +85135,7 @@ paths: application/json: schema: type: array - items: &595 + items: &601 type: object properties: number: *85 @@ -85114,8 +85154,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *593 - resolution: *594 + state: *599 + resolution: *600 resolved_at: type: string format: date-time @@ -85321,15 +85361,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 responses: '200': description: Response content: application/json: - schema: *595 + schema: *601 examples: default: value: @@ -85380,9 +85420,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 requestBody: required: true content: @@ -85390,8 +85430,8 @@ paths: schema: type: object properties: - state: *593 - resolution: *594 + state: *599 + resolution: *600 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85409,7 +85449,7 @@ paths: description: Response content: application/json: - schema: *595 + schema: *601 examples: default: value: @@ -85483,9 +85523,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: - - *318 - - *319 - - *406 + - *324 + - *325 + - *412 - *20 - *18 responses: @@ -85496,7 +85536,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &754 + items: &760 type: object properties: type: @@ -85855,8 +85895,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -85864,14 +85904,14 @@ paths: schema: type: object properties: - reason: &597 + reason: &603 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *596 + placeholder_id: *602 required: - reason - placeholder_id @@ -85888,7 +85928,7 @@ paths: schema: type: object properties: - reason: *597 + reason: *603 expire_at: type: string format: date-time @@ -85933,8 +85973,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *318 - - *319 + - *324 + - *325 - *78 - name: sort description: The property to sort the results by. @@ -85978,9 +86018,9 @@ paths: application/json: schema: type: array - items: *598 + items: *604 examples: - default: *599 + default: *605 '400': *15 '404': *7 x-github: @@ -86003,8 +86043,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -86077,7 +86117,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *295 required: - login - type @@ -86164,9 +86204,9 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: &601 + default: &607 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86399,8 +86439,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -86504,7 +86544,7 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: default: value: @@ -86651,17 +86691,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: - - *318 - - *319 - - *600 + - *324 + - *325 + - *606 responses: '200': description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *601 + default: *607 '403': *29 '404': *7 x-github: @@ -86685,9 +86725,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: - - *318 - - *319 - - *600 + - *324 + - *325 + - *606 requestBody: required: true content: @@ -86760,7 +86800,7 @@ paths: login: type: string description: The username of the user credited. - type: *289 + type: *295 required: - login - type @@ -86846,17 +86886,17 @@ paths: description: Response content: application/json: - schema: *598 + schema: *604 examples: - default: *601 - add_credit: *601 + default: *607 + add_credit: *607 '403': *29 '404': *7 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *138 + schema: *144 examples: invalid_state_transition: value: @@ -86887,11 +86927,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: - - *318 - - *319 - - *600 + - *324 + - *325 + - *606 responses: - '202': *141 + '202': *147 '400': *15 '403': *29 '404': *7 @@ -86916,17 +86956,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: - - *318 - - *319 - - *600 + - *324 + - *325 + - *606 responses: '202': description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 + default: *339 '400': *15 '422': *16 '403': *29 @@ -86952,8 +86992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -87052,8 +87092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87062,7 +87102,7 @@ paths: application/json: schema: type: array - items: &602 + items: &608 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87074,8 +87114,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *141 - '204': *184 + '202': *147 + '204': *190 '422': description: Repository contains more than 10,000 commits x-github: @@ -87095,8 +87135,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -87144,8 +87184,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *141 - '204': *184 + '202': *147 + '204': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87172,8 +87212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -87246,8 +87286,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *141 - '204': *184 + '202': *147 + '204': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87269,8 +87309,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -87424,8 +87464,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -87435,7 +87475,7 @@ paths: application/json: schema: type: array - items: *602 + items: *608 examples: default: value: @@ -87448,7 +87488,7 @@ paths: - - 0 - 2 - 21 - '204': *184 + '204': *190 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87468,8 +87508,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *318 - - *319 + - *324 + - *325 - name: sha in: path required: true @@ -87523,7 +87563,7 @@ paths: description: Response content: application/json: - schema: *603 + schema: *609 examples: default: value: @@ -87577,8 +87617,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -87590,7 +87630,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -87610,14 +87650,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &604 + schema: &610 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -87685,8 +87725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: false content: @@ -87712,7 +87752,7 @@ paths: description: Response content: application/json: - schema: *604 + schema: *610 examples: default: value: @@ -87739,8 +87779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -87760,8 +87800,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -87840,8 +87880,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: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -87849,7 +87889,7 @@ paths: application/json: schema: type: array - items: &605 + items: &611 title: Tag protection description: Tag protection type: object @@ -87901,8 +87941,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: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -87925,7 +87965,7 @@ paths: description: Response content: application/json: - schema: *605 + schema: *611 examples: default: value: @@ -87956,8 +87996,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: - - *318 - - *319 + - *324 + - *325 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -87994,8 +88034,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *318 - - *319 + - *324 + - *325 - name: ref in: path required: true @@ -88031,8 +88071,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *318 - - *319 + - *324 + - *325 - *18 - *20 responses: @@ -88042,9 +88082,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - default: *247 + default: *253 headers: Link: *39 '404': *7 @@ -88064,8 +88104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *318 - - *319 + - *324 + - *325 - *20 - *18 responses: @@ -88073,7 +88113,7 @@ paths: description: Response content: application/json: - schema: &606 + schema: &612 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88085,7 +88125,7 @@ paths: required: - names examples: - default: &607 + default: &613 value: names: - octocat @@ -88108,8 +88148,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -88140,9 +88180,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *612 examples: - default: *607 + default: *613 '404': *7 '422': *8 x-github: @@ -88163,9 +88203,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *318 - - *319 - - &608 + - *324 + - *325 + - &614 name: per description: The time frame to display results for. in: query @@ -88194,7 +88234,7 @@ paths: example: 128 clones: type: array - items: &609 + items: &615 title: Traffic type: object properties: @@ -88281,8 +88321,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -88372,8 +88412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *318 - - *319 + - *324 + - *325 responses: '200': description: Response @@ -88433,9 +88473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *318 - - *319 - - *608 + - *324 + - *325 + - *614 responses: '200': description: Response @@ -88454,7 +88494,7 @@ paths: example: 3782 views: type: array - items: *609 + items: *615 required: - uniques - count @@ -88531,8 +88571,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *318 - - *319 + - *324 + - *325 requestBody: required: true content: @@ -88568,7 +88608,7 @@ paths: description: Response content: application/json: - schema: *153 + schema: *159 examples: default: value: @@ -88806,8 +88846,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -88830,8 +88870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -88853,8 +88893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -88880,8 +88920,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *318 - - *319 + - *324 + - *325 - name: ref in: path required: true @@ -88973,9 +89013,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 + default: *339 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89016,7 +89056,7 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: default: value: @@ -89102,9 +89142,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. @@ -89129,7 +89166,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &617 + - &623 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89138,7 +89175,7 @@ paths: schema: type: string example: members - - &622 + - &628 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89149,7 +89186,7 @@ paths: default: 1 format: int32 example: 1 - - &623 + - &629 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89191,7 +89228,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &611 + items: &617 allOf: - type: object required: @@ -89266,7 +89303,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: &624 + meta: &630 type: object description: The metadata associated with the creation/updates to the user. @@ -89326,31 +89363,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &612 + '400': &618 description: Bad request content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '401': &613 + schema: *616 + '401': &619 description: Authorization failure - '403': &614 + '403': &620 description: Permission denied - '429': &615 + '429': &621 description: Too many requests content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '500': &616 + schema: *616 + '500': &622 description: Internal server error content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 + schema: *616 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89359,9 +89396,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. @@ -89377,7 +89411,7 @@ paths: required: true content: application/json: - schema: &620 + schema: &626 type: object required: - schemas @@ -89433,9 +89467,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *611 + schema: *617 examples: - group: &618 + group: &624 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -89454,13 +89488,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': *612 - '401': *613 - '403': *614 - '409': &621 + '400': *618 + '401': *619 + '403': *620 + '409': &627 description: Duplicate record detected - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89469,11 +89503,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 @@ -89481,7 +89511,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: - - &619 + - &625 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -89489,22 +89519,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *617 + - *623 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *611 + schema: *617 examples: - default: *618 - '400': *612 - '401': *613 - '403': *614 + default: *624 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89513,9 +89543,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. @@ -89526,13 +89553,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: - - *619 + - *625 - *40 requestBody: required: true content: application/json: - schema: *620 + schema: *626 examples: group: summary: Group @@ -89558,17 +89585,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *611 + schema: *617 examples: - group: *618 - groupWithMembers: *618 - '400': *612 - '401': *613 - '403': *614 + group: *624 + groupWithMembers: *624 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '409': *621 - '429': *615 - '500': *616 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89577,9 +89604,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. @@ -89595,13 +89619,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: - - *619 + - *625 - *40 requestBody: required: true content: application/json: - schema: &631 + schema: &637 type: object required: - Operations @@ -89661,17 +89685,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *611 + schema: *617 examples: - updateGroup: *618 - addMembers: *618 - '400': *612 - '401': *613 - '403': *614 + updateGroup: *624 + addMembers: *624 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '409': *621 - '429': *615 - '500': *616 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89679,11 +89703,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 @@ -89691,17 +89711,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: - - *619 + - *625 - *40 responses: '204': description: Group was deleted, no content - '400': *612 - '401': *613 - '403': *614 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89711,9 +89731,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. @@ -89738,8 +89755,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *622 - - *623 + - *628 + - *629 - *40 responses: '200': @@ -89772,7 +89789,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &626 + items: &632 allOf: - type: object required: @@ -89851,7 +89868,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &625 + roles: &631 type: array description: The roles assigned to the user. items: @@ -89907,7 +89924,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *624 + meta: *630 startIndex: type: integer description: A starting index for the returned page @@ -89944,11 +89961,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *612 - '401': *613 - '403': *614 - '429': *615 - '500': *616 + '400': *618 + '401': *619 + '403': *620 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89957,9 +89974,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. @@ -89975,7 +89989,7 @@ paths: required: true content: application/json: - schema: &629 + schema: &635 type: object required: - schemas @@ -90057,9 +90071,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *625 + roles: *631 examples: - user: &630 + user: &636 summary: User value: schemas: @@ -90106,9 +90120,9 @@ paths: description: User has been created content: application/scim+json: - schema: *626 + schema: *632 examples: - user: &627 + user: &633 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90134,13 +90148,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: *627 - '400': *612 - '401': *613 - '403': *614 - '409': *621 - '429': *615 - '500': *616 + enterpriseOwner: *633 + '400': *618 + '401': *619 + '403': *620 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90149,11 +90163,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 @@ -90161,7 +90171,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: - - &628 + - &634 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90174,15 +90184,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *626 + schema: *632 examples: - default: *627 - '400': *612 - '401': *613 - '403': *614 + default: *633 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90191,9 +90201,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. @@ -90207,30 +90214,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: - - *628 + - *634 - *40 requestBody: required: true content: application/json: - schema: *629 + schema: *635 examples: - user: *630 + user: *636 responses: '200': description: User was updated content: application/scim+json: - schema: *626 + schema: *632 examples: - user: *627 - '400': *612 - '401': *613 - '403': *614 + user: *633 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '409': *621 - '429': *615 - '500': *616 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90239,9 +90246,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). @@ -90268,13 +90272,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: - - *628 + - *634 - *40 requestBody: required: true content: application/json: - schema: *631 + schema: *637 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -90314,18 +90318,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *626 - examples: - userMultiValuedProperties: *627 - userSingleValuedProperties: *627 - disableUser: *627 - '400': *612 - '401': *613 - '403': *614 + schema: *632 + examples: + userMultiValuedProperties: *633 + userSingleValuedProperties: *633 + disableUser: *633 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '409': *621 - '429': *615 - '500': *616 + '409': *627 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90333,11 +90337,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 @@ -90345,17 +90349,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: - - *628 + - *634 - *40 responses: '204': description: User was deleted, no content - '400': *612 - '401': *613 - '403': *614 + '400': *618 + '401': *619 + '403': *620 '404': *7 - '429': *615 - '500': *616 + '429': *621 + '500': *622 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90388,7 +90392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *135 + - *141 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -90442,7 +90446,7 @@ paths: example: 1 Resources: type: array - items: &632 + items: &638 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -90673,22 +90677,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *37 - '404': &633 + '404': &639 description: Resource not found content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '403': &634 + schema: *616 + '403': &640 description: Forbidden content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '400': *612 - '429': *615 + schema: *616 + '400': *618 + '429': *621 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -90708,15 +90712,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *135 + - *141 responses: '201': description: Response content: application/scim+json: - schema: *632 + schema: *638 examples: - default: &635 + default: &641 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90739,17 +90743,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *37 - '404': *633 - '403': *634 - '500': *616 + '404': *639 + '403': *640 + '500': *622 '409': description: Conflict content: application/json: - schema: *610 + schema: *616 application/scim+json: - schema: *610 - '400': *612 + schema: *616 + '400': *618 requestBody: required: true content: @@ -90841,18 +90845,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: - - *135 - - *628 + - *141 + - *634 responses: '200': description: Response content: application/scim+json: - schema: *632 + schema: *638 examples: - default: *635 - '404': *633 - '403': *634 + default: *641 + '404': *639 + '403': *640 '304': *37 x-github: githubCloudOnly: true @@ -90875,19 +90879,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *135 - - *628 + - *141 + - *634 responses: '200': description: Response content: application/scim+json: - schema: *632 + schema: *638 examples: - default: *635 + default: *641 '304': *37 - '404': *633 - '403': *634 + '404': *639 + '403': *640 requestBody: required: true content: @@ -90995,20 +90999,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: - - *135 - - *628 + - *141 + - *634 responses: '200': description: Response content: application/scim+json: - schema: *632 + schema: *638 examples: - default: *635 + default: *641 '304': *37 - '404': *633 - '403': *634 - '400': *612 + '404': *639 + '403': *640 + '400': *618 '429': description: Response content: @@ -91098,13 +91102,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: - - *135 - - *628 + - *141 + - *634 responses: '204': description: Response - '404': *633 - '403': *634 + '404': *639 + '403': *640 '304': *37 x-github: githubCloudOnly: true @@ -91219,7 +91223,7 @@ paths: html_url: type: string format: uri - repository: *153 + repository: *159 score: type: number file_size: @@ -91237,7 +91241,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &636 + text_matches: &642 title: Search Result Text Matches type: array items: @@ -91400,7 +91404,7 @@ paths: enum: - author-date - committer-date - - &637 + - &643 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 @@ -91471,7 +91475,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *375 + properties: *381 nullable: true comment_count: type: integer @@ -91491,7 +91495,7 @@ paths: url: type: string format: uri - verification: *486 + verification: *492 required: - author - committer @@ -91510,7 +91514,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *375 + properties: *381 nullable: true parents: type: array @@ -91523,12 +91527,12 @@ paths: type: string sha: type: string - repository: *153 + repository: *159 score: type: number node_id: type: string - text_matches: *636 + text_matches: *642 required: - sha - node_id @@ -91721,7 +91725,7 @@ paths: - interactions - created - updated - - *637 + - *643 - *18 - *20 responses: @@ -91826,8 +91830,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *438 - required: *439 + properties: *444 + required: *445 nullable: true comments: type: integer @@ -91841,7 +91845,7 @@ paths: type: string format: date-time nullable: true - text_matches: *636 + text_matches: *642 pull_request: type: object properties: @@ -92065,7 +92069,7 @@ paths: enum: - created - updated - - *637 + - *643 - *18 - *20 responses: @@ -92109,7 +92113,7 @@ paths: nullable: true score: type: number - text_matches: *636 + text_matches: *642 required: - id - node_id @@ -92195,7 +92199,7 @@ paths: - forks - help-wanted-issues - updated - - *637 + - *643 - *18 - *20 responses: @@ -92434,7 +92438,7 @@ paths: - admin - pull - push - text_matches: *636 + text_matches: *642 temp_clone_token: type: string allow_merge_commit: @@ -92735,7 +92739,7 @@ paths: type: string format: uri nullable: true - text_matches: *636 + text_matches: *642 related: type: array nullable: true @@ -92928,7 +92932,7 @@ paths: - followers - repositories - joined - - *637 + - *643 - *18 - *20 responses: @@ -93032,7 +93036,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *636 + text_matches: *642 blog: type: string nullable: true @@ -93111,7 +93115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &638 + - &644 name: team_id description: The unique identifier of the team. in: path @@ -93123,9 +93127,9 @@ paths: description: Response content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '404': *7 x-github: githubCloudOnly: false @@ -93152,7 +93156,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *638 + - *644 requestBody: required: true content: @@ -93215,16 +93219,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '201': description: Response content: application/json: - schema: *299 + schema: *305 examples: - default: *300 + default: *306 '404': *7 '422': *16 '403': *29 @@ -93252,7 +93256,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *638 + - *644 responses: '204': description: Response @@ -93283,7 +93287,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *638 + - *644 - *78 - *18 - *20 @@ -93294,9 +93298,9 @@ paths: application/json: schema: type: array - items: *301 + items: *307 examples: - default: *639 + default: *645 headers: Link: *39 x-github: @@ -93325,7 +93329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *638 + - *644 requestBody: required: true content: @@ -93359,9 +93363,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: *302 + default: *308 x-github: triggersNotification: true githubCloudOnly: false @@ -93388,16 +93392,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *638 - - *303 + - *644 + - *309 responses: '200': description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: *302 + default: *308 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93422,8 +93426,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *638 - - *303 + - *644 + - *309 requestBody: required: false content: @@ -93446,9 +93450,9 @@ paths: description: Response content: application/json: - schema: *301 + schema: *307 examples: - default: *640 + default: *646 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93473,8 +93477,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *638 - - *303 + - *644 + - *309 responses: '204': description: Response @@ -93503,8 +93507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *638 - - *303 + - *644 + - *309 - *78 - *18 - *20 @@ -93515,9 +93519,9 @@ paths: application/json: schema: type: array - items: *304 + items: *310 examples: - default: *641 + default: *647 headers: Link: *39 x-github: @@ -93546,8 +93550,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *638 - - *303 + - *644 + - *309 requestBody: required: true content: @@ -93569,9 +93573,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: *305 + default: *311 x-github: triggersNotification: true githubCloudOnly: false @@ -93598,17 +93602,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 responses: '200': description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: *305 + default: *311 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93633,9 +93637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 requestBody: required: true content: @@ -93657,9 +93661,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *310 examples: - default: *642 + default: *648 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93684,9 +93688,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 responses: '204': description: Response @@ -93715,9 +93719,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: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 - 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. @@ -93743,9 +93747,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 x-github: @@ -93774,9 +93778,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: - - *638 - - *303 - - *306 + - *644 + - *309 + - *312 requestBody: required: true content: @@ -93808,9 +93812,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93836,8 +93840,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: - - *638 - - *303 + - *644 + - *309 - 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. @@ -93863,9 +93867,9 @@ paths: application/json: schema: type: array - items: *307 + items: *313 examples: - default: *309 + default: *315 headers: Link: *39 x-github: @@ -93894,8 +93898,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: - - *638 - - *303 + - *644 + - *309 requestBody: required: true content: @@ -93927,9 +93931,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *313 examples: - default: *308 + default: *314 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -93953,7 +93957,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *638 + - *644 - *18 - *20 responses: @@ -93963,9 +93967,9 @@ paths: application/json: schema: type: array - items: *229 + items: *235 examples: - default: *230 + default: *236 headers: Link: *39 x-github: @@ -93991,7 +93995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *638 + - *644 - name: role description: Filters members returned by their role in the team. in: query @@ -94014,7 +94018,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '404': *7 @@ -94042,8 +94046,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *638 - - *175 + - *644 + - *181 responses: '204': description: if user is a member @@ -94079,8 +94083,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *638 - - *175 + - *644 + - *181 responses: '204': description: Response @@ -94119,8 +94123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *638 - - *175 + - *644 + - *181 responses: '204': description: Response @@ -94156,16 +94160,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: - - *638 - - *175 + - *644 + - *181 responses: '200': description: Response content: application/json: - schema: *315 + schema: *321 examples: - response-if-user-is-a-team-maintainer: *643 + response-if-user-is-a-team-maintainer: *649 '404': *7 x-github: githubCloudOnly: false @@ -94198,8 +94202,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: - - *638 - - *175 + - *644 + - *181 requestBody: required: false content: @@ -94224,9 +94228,9 @@ paths: description: Response content: application/json: - schema: *315 + schema: *321 examples: - response-if-users-membership-with-team-is-now-pending: *644 + response-if-users-membership-with-team-is-now-pending: *650 '403': description: Forbidden if team synchronization is set up '422': @@ -94260,8 +94264,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: - - *638 - - *175 + - *644 + - *181 responses: '204': description: Response @@ -94290,7 +94294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *638 + - *644 - *18 - *20 responses: @@ -94300,9 +94304,9 @@ paths: application/json: schema: type: array - items: *316 + items: *322 examples: - default: *645 + default: *651 headers: Link: *39 '404': *7 @@ -94329,16 +94333,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: - - *638 - - *317 + - *644 + - *323 responses: '200': description: Response content: application/json: - schema: *316 + schema: *322 examples: - default: *646 + default: *652 '404': description: Not Found if project is not managed by this team x-github: @@ -94363,8 +94367,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: - - *638 - - *317 + - *644 + - *323 requestBody: required: false content: @@ -94432,8 +94436,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: - - *638 - - *317 + - *644 + - *323 responses: '204': description: Response @@ -94460,7 +94464,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *638 + - *644 - *18 - *20 responses: @@ -94470,9 +94474,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 '404': *7 @@ -94502,15 +94506,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: - - *638 - - *318 - - *319 + - *644 + - *324 + - *325 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *647 + schema: *653 examples: alternative-response-with-extra-repository-information: value: @@ -94661,9 +94665,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: - - *638 - - *318 - - *319 + - *644 + - *324 + - *325 requestBody: required: false content: @@ -94713,9 +94717,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: - - *638 - - *318 - - *319 + - *644 + - *324 + - *325 responses: '204': description: Response @@ -94744,15 +94748,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: - - *638 + - *644 responses: '200': description: Response content: application/json: - schema: *320 + schema: *326 examples: - default: *321 + default: *327 '403': *29 '404': *7 x-github: @@ -94779,7 +94783,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: - - *638 + - *644 requestBody: required: true content: @@ -94836,7 +94840,7 @@ paths: description: Response content: application/json: - schema: *320 + schema: *326 examples: default: value: @@ -94867,7 +94871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *638 + - *644 - *18 - *20 responses: @@ -94877,9 +94881,9 @@ paths: application/json: schema: type: array - items: *232 + items: *238 examples: - response-if-child-teams-exist: *648 + response-if-child-teams-exist: *654 headers: Link: *39 '404': *7 @@ -94912,7 +94916,7 @@ paths: application/json: schema: oneOf: - - &650 + - &656 title: Private User description: Private User type: object @@ -95115,7 +95119,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *649 + - *655 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95268,7 +95272,7 @@ paths: description: Response content: application/json: - schema: *650 + schema: *656 examples: default: value: @@ -95347,7 +95351,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 '304': *37 '404': *7 '403': *29 @@ -95370,7 +95374,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: - - *175 + - *181 responses: '204': description: If the user is blocked @@ -95398,7 +95402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *175 + - *181 responses: '204': description: Response @@ -95422,7 +95426,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *175 + - *181 responses: '204': description: Response @@ -95471,9 +95475,9 @@ paths: type: integer codespaces: type: array - items: *236 + items: *242 examples: - default: *237 + default: *243 '304': *37 '500': *84 '401': *25 @@ -95612,17 +95616,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '401': *25 '403': *29 '404': *7 @@ -95666,7 +95670,7 @@ paths: type: integer secrets: type: array - items: &651 + items: &657 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -95706,7 +95710,7 @@ paths: - visibility - selected_repositories_url examples: - default: *426 + default: *432 headers: Link: *39 x-github: @@ -95776,13 +95780,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: - - *163 + - *169 responses: '200': description: Response content: application/json: - schema: *651 + schema: *657 examples: default: value: @@ -95812,7 +95816,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: - - *163 + - *169 requestBody: required: true content: @@ -95857,7 +95861,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -95885,7 +95889,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: - - *163 + - *169 responses: '204': description: Response @@ -95910,7 +95914,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: - - *163 + - *169 responses: '200': description: Response @@ -95926,9 +95930,9 @@ paths: type: integer repositories: type: array - items: *153 + items: *159 examples: - default: *652 + default: *658 '401': *25 '403': *29 '404': *7 @@ -95953,7 +95957,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: - - *163 + - *169 requestBody: required: true content: @@ -96007,7 +96011,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: - - *163 + - *169 - name: repository_id in: path required: true @@ -96040,7 +96044,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: - - *163 + - *169 - name: repository_id in: path required: true @@ -96072,15 +96076,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: - - *238 + - *244 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '304': *37 '500': *84 '401': *25 @@ -96106,7 +96110,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: - - *238 + - *244 requestBody: required: false content: @@ -96136,9 +96140,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '401': *25 '403': *29 '404': *7 @@ -96160,9 +96164,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: - - *238 + - *244 responses: - '202': *141 + '202': *147 '304': *37 '500': *84 '401': *25 @@ -96189,13 +96193,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: - - *238 + - *244 responses: '202': description: Response content: application/json: - schema: &653 + schema: &659 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96236,7 +96240,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &654 + default: &660 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96268,7 +96272,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *238 + - *244 - name: export_id in: path required: true @@ -96281,9 +96285,9 @@ paths: description: Response content: application/json: - schema: *653 + schema: *659 examples: - default: *654 + default: *660 '404': *7 x-github: githubCloudOnly: false @@ -96304,7 +96308,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *238 + - *244 responses: '200': description: Response @@ -96320,9 +96324,9 @@ paths: type: integer machines: type: array - items: *655 + items: *661 examples: - default: *656 + default: *662 '304': *37 '500': *84 '401': *25 @@ -96351,7 +96355,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: - - *238 + - *244 requestBody: required: true content: @@ -96401,13 +96405,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *331 + repository: *337 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *424 - required: *425 + properties: *430 + required: *431 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97181,15 +97185,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: - - *238 + - *244 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '304': *37 '500': *84 '400': *15 @@ -97201,7 +97205,7 @@ paths: schema: *3 '403': *29 '404': *7 - '409': *140 + '409': *146 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97221,15 +97225,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: - - *238 + - *244 responses: '200': description: Response content: application/json: - schema: *236 + schema: *242 examples: - default: *423 + default: *429 '500': *84 '401': *25 '403': *29 @@ -97259,9 +97263,9 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: &669 + default: &675 value: - id: 197 name: hello_docker @@ -97362,7 +97366,7 @@ paths: application/json: schema: type: array - items: &657 + items: &663 title: Email description: Email type: object @@ -97427,9 +97431,9 @@ paths: application/json: schema: type: array - items: *657 + items: *663 examples: - default: &671 + default: &677 value: - email: octocat@github.com verified: true @@ -97504,7 +97508,7 @@ paths: application/json: schema: type: array - items: *657 + items: *663 examples: default: value: @@ -97614,7 +97618,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '304': *37 @@ -97647,7 +97651,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 '304': *37 @@ -97669,7 +97673,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: - - *175 + - *181 responses: '204': description: if the person is followed by the authenticated user @@ -97699,7 +97703,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *175 + - *181 responses: '204': description: Response @@ -97724,7 +97728,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *175 + - *181 responses: '204': description: Response @@ -97760,7 +97764,7 @@ paths: application/json: schema: type: array - items: &658 + items: &664 title: GPG Key description: A unique encryption key type: object @@ -97891,7 +97895,7 @@ paths: - subkeys - revoked examples: - default: &682 + default: &688 value: - id: 3 name: Octocat's GPG Key @@ -97976,9 +97980,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *664 examples: - default: &659 + default: &665 value: id: 3 name: Octocat's GPG Key @@ -98035,7 +98039,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: - - &660 + - &666 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98047,9 +98051,9 @@ paths: description: Response content: application/json: - schema: *658 + schema: *664 examples: - default: *659 + default: *665 '404': *7 '304': *37 '403': *29 @@ -98072,7 +98076,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: - - *660 + - *666 responses: '204': description: Response @@ -98263,7 +98267,7 @@ paths: type: array items: *57 examples: - default: *661 + default: *667 headers: Link: *39 '404': *7 @@ -98288,7 +98292,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *148 + - *154 responses: '204': description: Response @@ -98314,7 +98318,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *148 + - *154 responses: '204': description: Response @@ -98348,12 +98352,12 @@ paths: application/json: schema: anyOf: - - *227 + - *233 - type: object properties: {} additionalProperties: false examples: - default: *228 + default: *234 '204': description: Response when there are no restrictions x-github: @@ -98377,7 +98381,7 @@ paths: required: true content: application/json: - schema: *497 + schema: *503 examples: default: value: @@ -98388,7 +98392,7 @@ paths: description: Response content: application/json: - schema: *227 + schema: *233 examples: default: value: @@ -98469,7 +98473,7 @@ paths: - closed - all default: open - - *233 + - *239 - name: sort description: What to sort results by. in: query @@ -98494,7 +98498,7 @@ paths: type: array items: *118 examples: - default: *234 + default: *240 headers: Link: *39 '404': *7 @@ -98527,7 +98531,7 @@ paths: application/json: schema: type: array - items: &662 + items: &668 title: Key description: Key type: object @@ -98624,9 +98628,9 @@ paths: description: Response content: application/json: - schema: *662 + schema: *668 examples: - default: &663 + default: &669 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -98659,15 +98663,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: - - *525 + - *531 responses: '200': description: Response content: application/json: - schema: *662 + schema: *668 examples: - default: *663 + default: *669 '404': *7 '304': *37 '403': *29 @@ -98690,7 +98694,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: - - *525 + - *531 responses: '204': description: Response @@ -98723,7 +98727,7 @@ paths: application/json: schema: type: array - items: &664 + items: &670 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -98791,7 +98795,7 @@ paths: - account - plan examples: - default: &665 + default: &671 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -98853,9 +98857,9 @@ paths: application/json: schema: type: array - items: *664 + items: *670 examples: - default: *665 + default: *671 headers: Link: *39 '304': *37 @@ -98895,7 +98899,7 @@ paths: application/json: schema: type: array - items: *239 + items: *245 examples: default: value: @@ -98997,13 +99001,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: - - *135 + - *141 responses: '200': description: Response content: application/json: - schema: *239 + schema: *245 examples: default: value: @@ -99061,7 +99065,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: - - *135 + - *141 requestBody: required: true content: @@ -99086,7 +99090,7 @@ paths: description: Response content: application/json: - schema: *239 + schema: *245 examples: default: value: @@ -99154,7 +99158,7 @@ paths: application/json: schema: type: array - items: *241 + items: *247 examples: default: value: @@ -99407,7 +99411,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *247 examples: default: value: @@ -99587,7 +99591,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *242 + - *248 - name: exclude in: query required: false @@ -99600,7 +99604,7 @@ paths: description: Response content: application/json: - schema: *241 + schema: *247 examples: default: value: @@ -99794,7 +99798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *242 + - *248 responses: '302': description: Response @@ -99820,7 +99824,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *242 + - *248 responses: '204': description: Response @@ -99849,8 +99853,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *242 - - *666 + - *248 + - *672 responses: '204': description: Response @@ -99874,7 +99878,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *242 + - *248 - *18 - *20 responses: @@ -99884,9 +99888,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 '404': *7 @@ -99923,7 +99927,7 @@ paths: type: array items: *52 examples: - default: *667 + default: *673 headers: Link: *39 '304': *37 @@ -99965,7 +99969,7 @@ paths: - docker - nuget - container - - *668 + - *674 - *20 - *18 responses: @@ -99975,10 +99979,10 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: *669 - '400': *670 + default: *675 + '400': *676 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99998,16 +100002,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: - - *250 - - *251 + - *256 + - *257 responses: '200': description: Response content: application/json: - schema: *248 + schema: *254 examples: - default: &683 + default: &689 value: id: 40201 name: octo-name @@ -100120,8 +100124,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: - - *250 - - *251 + - *256 + - *257 responses: '204': description: Response @@ -100151,8 +100155,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: - - *250 - - *251 + - *256 + - *257 - name: token description: package token schema: @@ -100184,8 +100188,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: - - *250 - - *251 + - *256 + - *257 - *20 - *18 - name: state @@ -100205,7 +100209,7 @@ paths: application/json: schema: type: array - items: *252 + items: *258 examples: default: value: @@ -100254,15 +100258,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: - - *250 - - *251 - - *253 + - *256 + - *257 + - *259 responses: '200': description: Response content: application/json: - schema: *252 + schema: *258 examples: default: value: @@ -100298,9 +100302,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: - - *250 - - *251 - - *253 + - *256 + - *257 + - *259 responses: '204': description: Response @@ -100330,9 +100334,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: - - *250 - - *251 - - *253 + - *256 + - *257 + - *259 responses: '204': description: Response @@ -100388,7 +100392,7 @@ paths: description: Response content: application/json: - schema: *261 + schema: *267 examples: default: value: @@ -100457,9 +100461,9 @@ paths: application/json: schema: type: array - items: *657 + items: *663 examples: - default: *671 + default: *677 headers: Link: *39 '304': *37 @@ -100572,7 +100576,7 @@ paths: type: array items: *57 examples: - default: &678 + default: &684 summary: Default response value: - id: 1296269 @@ -100874,9 +100878,9 @@ paths: description: Response content: application/json: - schema: *331 + schema: *337 examples: - default: *333 + default: *339 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -100914,9 +100918,9 @@ paths: application/json: schema: type: array - items: *499 + items: *505 examples: - default: *672 + default: *678 headers: Link: *39 '304': *37 @@ -100939,12 +100943,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *231 + - *237 responses: '204': description: Response '403': *29 - '409': *140 + '409': *146 '404': *7 '304': *37 x-github: @@ -100962,11 +100966,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *231 + - *237 responses: '204': description: Response - '409': *140 + '409': *146 '304': *37 '404': *7 '403': *29 @@ -100995,7 +100999,7 @@ paths: application/json: schema: type: array - items: &673 + items: &679 title: Social account description: Social media account type: object @@ -101010,7 +101014,7 @@ paths: - provider - url examples: - default: &674 + default: &680 value: - provider: twitter url: https://twitter.com/github @@ -101072,9 +101076,9 @@ paths: application/json: schema: type: array - items: *673 + items: *679 examples: - default: *674 + default: *680 '422': *16 '304': *37 '404': *7 @@ -101161,7 +101165,7 @@ paths: application/json: schema: type: array - items: &675 + items: &681 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101181,7 +101185,7 @@ paths: - title - created_at examples: - default: &684 + default: &690 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101247,9 +101251,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *681 examples: - default: &676 + default: &682 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101280,7 +101284,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: - - &677 + - &683 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101292,9 +101296,9 @@ paths: description: Response content: application/json: - schema: *675 + schema: *681 examples: - default: *676 + default: *682 '404': *7 '304': *37 '403': *29 @@ -101317,7 +101321,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: - - *677 + - *683 responses: '204': description: Response @@ -101346,7 +101350,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: - - &685 + - &691 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 @@ -101371,11 +101375,11 @@ paths: type: array items: *57 examples: - default-response: *678 + default-response: *684 application/vnd.github.v3.star+json: schema: type: array - items: &686 + items: &692 title: Starred Repository description: Starred Repository type: object @@ -101531,8 +101535,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response if this repository is starred by you @@ -101560,8 +101564,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -101585,8 +101589,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: - - *318 - - *319 + - *324 + - *325 responses: '204': description: Response @@ -101619,9 +101623,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 '304': *37 @@ -101658,7 +101662,7 @@ paths: application/json: schema: type: array - items: *299 + items: *305 examples: default: value: @@ -101742,10 +101746,10 @@ paths: application/json: schema: oneOf: - - *650 - - *649 + - *656 + - *655 examples: - default-response: &680 + default-response: &686 summary: Default response value: login: octocat @@ -101780,7 +101784,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &681 + response-with-git-hub-plan-information: &687 summary: Response with GitHub plan information value: login: octocat @@ -101840,7 +101844,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *679 + - *685 - *18 responses: '200': @@ -101851,7 +101855,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: example: ; rel="next" @@ -101879,7 +101883,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *175 + - *181 responses: '200': description: Response @@ -101887,11 +101891,11 @@ paths: application/json: schema: oneOf: - - *650 - - *649 + - *656 + - *655 examples: - default-response: *680 - response-with-git-hub-plan-information: *681 + default-response: *686 + response-with-git-hub-plan-information: *687 '404': *7 x-github: githubCloudOnly: false @@ -101917,7 +101921,7 @@ paths: - *18 - *76 - *77 - - *175 + - *181 - name: subject_digest description: Subject Digest in: path @@ -102017,7 +102021,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *170 examples: default: value: @@ -102043,7 +102047,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: - - *175 + - *181 responses: '200': description: Response @@ -102051,9 +102055,9 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: *669 + default: *675 '403': *29 '401': *25 x-github: @@ -102076,7 +102080,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102157,8 +102161,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: - - *175 - - *135 + - *181 + - *141 - *18 - *20 responses: @@ -102247,7 +102251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102324,7 +102328,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102336,7 +102340,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -102355,7 +102359,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102367,7 +102371,7 @@ paths: type: array items: *19 examples: - default: *235 + default: *241 headers: Link: *39 x-github: @@ -102386,7 +102390,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: - - *175 + - *181 - name: target_user in: path required: true @@ -102413,7 +102417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *175 + - *181 - *108 - *18 - *20 @@ -102447,7 +102451,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: - - *175 + - *181 - *18 - *20 responses: @@ -102457,9 +102461,9 @@ paths: application/json: schema: type: array - items: *658 + items: *664 examples: - default: *682 + default: *688 headers: Link: *39 x-github: @@ -102483,7 +102487,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *175 + - *181 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -102555,7 +102559,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: - - *175 + - *181 responses: '200': description: Response @@ -102563,7 +102567,7 @@ paths: application/json: schema: *22 examples: - default: *496 + default: *502 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102581,7 +102585,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102629,7 +102633,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -102641,7 +102645,7 @@ paths: type: array items: *52 examples: - default: *667 + default: *673 headers: Link: *39 x-github: @@ -102680,8 +102684,8 @@ paths: - docker - nuget - container - - *668 - - *175 + - *674 + - *181 - *20 - *18 responses: @@ -102691,12 +102695,12 @@ paths: application/json: schema: type: array - items: *248 + items: *254 examples: - default: *669 + default: *675 '403': *29 '401': *25 - '400': *670 + '400': *676 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102716,17 +102720,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *250 - - *251 - - *175 + - *256 + - *257 + - *181 responses: '200': description: Response content: application/json: - schema: *248 + schema: *254 examples: - default: *683 + default: *689 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102747,9 +102751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *250 - - *251 - - *175 + - *256 + - *257 + - *181 responses: '204': description: Response @@ -102781,9 +102785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *250 - - *251 - - *175 + - *256 + - *257 + - *181 - name: token description: package token schema: @@ -102815,9 +102819,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: - - *250 - - *251 - - *175 + - *256 + - *257 + - *181 responses: '200': description: Response @@ -102825,7 +102829,7 @@ paths: application/json: schema: type: array - items: *252 + items: *258 examples: default: value: @@ -102883,16 +102887,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: - - *250 - - *251 - - *253 - - *175 + - *256 + - *257 + - *259 + - *181 responses: '200': description: Response content: application/json: - schema: *252 + schema: *258 examples: default: value: @@ -102927,10 +102931,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *250 - - *251 - - *175 - - *253 + - *256 + - *257 + - *181 + - *259 responses: '204': description: Response @@ -102962,10 +102966,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *250 - - *251 - - *175 - - *253 + - *256 + - *257 + - *181 + - *259 responses: '204': description: Response @@ -102988,7 +102992,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *175 + - *181 - name: state description: Indicates the state of the projects to return. in: query @@ -103009,7 +103013,7 @@ paths: application/json: schema: type: array - items: *261 + items: *267 examples: default: value: @@ -103068,7 +103072,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: - - *175 + - *181 - *18 - *20 responses: @@ -103157,7 +103161,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: - - *175 + - *181 - *18 - *20 responses: @@ -103244,7 +103248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *175 + - *181 - name: type description: Limit results to repositories of the specified type. in: query @@ -103287,9 +103291,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -103313,15 +103317,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: - - *175 + - *181 responses: '200': description: Response content: application/json: - schema: *291 + schema: *297 examples: - default: *292 + default: *298 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103343,15 +103347,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: - - *175 + - *181 responses: '200': description: Response content: application/json: - schema: *295 + schema: *301 examples: - default: *296 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103373,15 +103377,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: - - *175 + - *181 responses: '200': description: Response content: application/json: - schema: *297 + schema: *303 examples: - default: *298 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103399,7 +103403,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: - - *175 + - *181 - *18 - *20 responses: @@ -103409,9 +103413,9 @@ paths: application/json: schema: type: array - items: *673 + items: *679 examples: - default: *674 + default: *680 headers: Link: *39 x-github: @@ -103431,7 +103435,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: - - *175 + - *181 - *18 - *20 responses: @@ -103441,9 +103445,9 @@ paths: application/json: schema: type: array - items: *675 + items: *681 examples: - default: *684 + default: *690 headers: Link: *39 x-github: @@ -103467,8 +103471,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *175 - - *685 + - *181 + - *691 - *78 - *18 - *20 @@ -103480,11 +103484,11 @@ paths: schema: anyOf: - type: array - items: *686 + items: *692 - type: array items: *57 examples: - default-response: *678 + default-response: *684 headers: Link: *39 x-github: @@ -103503,7 +103507,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *175 + - *181 - *18 - *20 responses: @@ -103513,9 +103517,9 @@ paths: application/json: schema: type: array - items: *153 + items: *159 examples: - default: *254 + default: *260 headers: Link: *39 x-github: @@ -103643,7 +103647,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &687 + enterprise: &693 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -103701,7 +103705,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &688 + installation: &694 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -103720,7 +103724,7 @@ x-webhooks: required: - id - node_id - organization: &689 + organization: &695 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -103780,13 +103784,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &690 + repository: &696 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &727 + properties: &733 id: description: Unique identifier of the repository example: 42 @@ -104469,7 +104473,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &728 + required: &734 - archive_url - assignees_url - blobs_url @@ -104620,10 +104624,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -104699,11 +104703,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - rule: &691 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: &697 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) @@ -104926,11 +104930,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - rule: *691 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: *697 sender: *19 required: - action @@ -105113,11 +105117,11 @@ x-webhooks: - everyone required: - from - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - rule: *691 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + rule: *697 sender: *19 required: - action @@ -105190,7 +105194,7 @@ x-webhooks: required: true content: application/json: - schema: &694 + schema: &700 title: Exemption request cancellation event type: object properties: @@ -105198,11 +105202,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: &692 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: &698 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -105352,7 +105356,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &693 + items: &699 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -105457,7 +105461,7 @@ x-webhooks: required: true content: application/json: - schema: &695 + schema: &701 title: Exemption request completed event type: object properties: @@ -105465,11 +105469,11 @@ x-webhooks: type: string enum: - completed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: *692 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: *698 sender: *19 required: - action @@ -105541,7 +105545,7 @@ x-webhooks: required: true content: application/json: - schema: &696 + schema: &702 title: Exemption request created event type: object properties: @@ -105549,11 +105553,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: *692 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: *698 sender: *19 required: - action @@ -105625,7 +105629,7 @@ x-webhooks: required: true content: application/json: - schema: &697 + schema: &703 title: Exemption response dismissed event type: object properties: @@ -105633,12 +105637,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: *692 - exemption_response: *693 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: *698 + exemption_response: *699 sender: *19 required: - action @@ -105712,7 +105716,7 @@ x-webhooks: required: true content: application/json: - schema: &698 + schema: &704 title: Exemption response submitted event type: object properties: @@ -105720,12 +105724,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - exemption_request: *692 - exemption_response: *693 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + exemption_request: *698 + exemption_response: *699 sender: *19 required: - action @@ -105798,7 +105802,7 @@ x-webhooks: required: true content: application/json: - schema: *694 + schema: *700 responses: '200': description: Return a 200 status to indicate that the data was received @@ -105865,7 +105869,7 @@ x-webhooks: required: true content: application/json: - schema: *695 + schema: *701 responses: '200': description: Return a 200 status to indicate that the data was received @@ -105932,7 +105936,7 @@ x-webhooks: required: true content: application/json: - schema: *696 + schema: *702 responses: '200': description: Return a 200 status to indicate that the data was received @@ -105999,7 +106003,7 @@ x-webhooks: required: true content: application/json: - schema: *697 + schema: *703 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106067,7 +106071,7 @@ x-webhooks: required: true content: application/json: - schema: *698 + schema: *704 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106145,7 +106149,7 @@ x-webhooks: type: string enum: - completed - check_run: &700 + check_run: &706 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106208,8 +106212,8 @@ x-webhooks: type: string pull_requests: type: array - items: *388 - repository: *153 + items: *394 + repository: *159 status: example: completed type: string @@ -106246,7 +106250,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *699 + deployment: *705 details_url: example: https://example.com type: string @@ -106296,7 +106300,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *388 + items: *394 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -106331,9 +106335,9 @@ x-webhooks: - output - app - pull_requests - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - check_run @@ -106726,10 +106730,10 @@ x-webhooks: type: string enum: - created - check_run: *700 - installation: *688 - organization: *689 - repository: *690 + check_run: *706 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - check_run @@ -107125,10 +107129,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *700 - installation: *688 - organization: *689 - repository: *690 + check_run: *706 + installation: *694 + organization: *695 + repository: *696 requested_action: description: The action requested by the user. type: object @@ -107533,10 +107537,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *700 - installation: *688 - organization: *689 - repository: *690 + check_run: *706 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - check_run @@ -108513,10 +108517,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -109186,10 +109190,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -109853,10 +109857,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -110156,20 +110160,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &701 + commit_oid: &707 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *687 - installation: *688 - organization: *689 - ref: &702 + enterprise: *693 + installation: *694 + organization: *695 + ref: &708 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *690 + repository: *696 sender: *19 required: - action @@ -110487,12 +110491,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *701 - enterprise: *687 - installation: *688 - organization: *689 - ref: *702 - repository: *690 + commit_oid: *707 + enterprise: *693 + installation: *694 + organization: *695 + ref: *708 + repository: *696 sender: *19 required: - action @@ -110587,7 +110591,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *401 + dismissed_comment: *407 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -110749,12 +110753,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *701 - enterprise: *687 - installation: *688 - organization: *689 - ref: *702 - repository: *690 + commit_oid: *707 + enterprise: *693 + installation: *694 + organization: *695 + ref: *708 + repository: *696 sender: *19 required: - action @@ -111075,12 +111079,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *701 - enterprise: *687 - installation: *688 - organization: *689 - ref: *702 - repository: *690 + commit_oid: *707 + enterprise: *693 + installation: *694 + organization: *695 + ref: *708 + repository: *696 sender: *19 required: - action @@ -111337,16 +111341,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string nullable: true - repository: *690 + repository: *696 sender: *19 required: - action @@ -111572,12 +111576,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *701 - enterprise: *687 - installation: *688 - organization: *689 - ref: *702 - repository: *690 + commit_oid: *707 + enterprise: *693 + installation: *694 + organization: *695 + ref: *708 + repository: *696 sender: *19 required: - action @@ -111834,10 +111838,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -111917,18 +111921,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *689 - pusher_type: &703 + organization: *695 + pusher_type: &709 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &704 + ref: &710 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -111938,7 +111942,7 @@ x-webhooks: enum: - tag - branch - repository: *690 + repository: *696 sender: *19 required: - ref @@ -112020,10 +112024,10 @@ x-webhooks: type: string enum: - created - definition: *262 - enterprise: *687 - installation: *688 - organization: *689 + definition: *268 + enterprise: *693 + installation: *694 + organization: *695 sender: *19 required: - action @@ -112108,9 +112112,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 sender: *19 required: - action @@ -112187,10 +112191,10 @@ x-webhooks: type: string enum: - updated - definition: *262 - enterprise: *687 - installation: *688 - organization: *689 + definition: *268 + enterprise: *693 + installation: *694 + organization: *695 sender: *19 required: - action @@ -112267,19 +112271,19 @@ x-webhooks: type: string enum: - updated - enterprise: *687 - installation: *688 - repository: *690 - organization: *689 + enterprise: *693 + installation: *694 + repository: *696 + organization: *695 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *266 + items: *272 old_property_values: type: array description: The old custom property values for the repository. - items: *266 + items: *272 required: - action - repository @@ -112355,18 +112359,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 - pusher_type: *703 - ref: *704 + enterprise: *693 + installation: *694 + organization: *695 + pusher_type: *709 + ref: *710 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *690 + repository: *696 sender: *19 required: - ref @@ -112450,11 +112454,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112538,11 +112542,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112626,11 +112630,11 @@ x-webhooks: type: string enum: - created - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112712,11 +112716,11 @@ x-webhooks: type: string enum: - dismissed - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112798,11 +112802,11 @@ x-webhooks: type: string enum: - fixed - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112885,11 +112889,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -112971,11 +112975,11 @@ x-webhooks: type: string enum: - reopened - alert: *455 - installation: *688 - organization: *689 - enterprise: *687 - repository: *690 + alert: *461 + installation: *694 + organization: *695 + enterprise: *693 + repository: *696 sender: *19 required: - action @@ -113052,9 +113056,9 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - key: &705 + enterprise: *693 + installation: *694 + key: &711 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113090,8 +113094,8 @@ x-webhooks: - verified - created_at - read_only - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -113168,11 +113172,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - key: *705 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + key: *711 + organization: *695 + repository: *696 sender: *19 required: - action @@ -113733,12 +113737,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: &709 + workflow: &715 title: Workflow type: object nullable: true @@ -114464,13 +114468,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *461 + deployment: *467 pull_requests: type: array - items: *545 - repository: *690 - organization: *689 - installation: *688 + items: *551 + repository: *696 + organization: *695 + installation: *694 sender: *19 responses: '200': @@ -114541,7 +114545,7 @@ x-webhooks: type: string enum: - approved - approver: &706 + approver: &712 type: object properties: avatar_url: @@ -114584,11 +114588,11 @@ x-webhooks: type: string comment: type: string - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - reviewers: &707 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + reviewers: &713 type: array items: type: object @@ -114667,7 +114671,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &708 + workflow_job_run: &714 type: object properties: conclusion: @@ -115398,18 +115402,18 @@ x-webhooks: type: string enum: - rejected - approver: *706 + approver: *712 comment: type: string - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - reviewers: *707 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + reviewers: *713 sender: *19 since: type: string - workflow_job_run: *708 + workflow_job_run: *714 workflow_job_runs: type: array items: @@ -116113,13 +116117,13 @@ x-webhooks: type: string enum: - requested - enterprise: *687 + enterprise: *693 environment: type: string - installation: *688 - organization: *689 - repository: *690 - requestor: &714 + installation: *694 + organization: *695 + repository: *696 + requestor: &720 title: User type: object nullable: true @@ -118018,12 +118022,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: *709 + workflow: *715 workflow_run: title: Deployment Workflow Run type: object @@ -118703,7 +118707,7 @@ x-webhooks: type: string enum: - answered - answer: &712 + answer: &718 type: object properties: author_association: @@ -118860,7 +118864,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &710 + discussion: &716 title: Discussion description: A Discussion in a repository. type: object @@ -119146,7 +119150,7 @@ x-webhooks: - id labels: type: array - items: *508 + items: *514 required: - repository_url - category @@ -119168,10 +119172,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119298,11 +119302,11 @@ x-webhooks: - from required: - category - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119385,11 +119389,11 @@ x-webhooks: type: string enum: - closed - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119471,7 +119475,7 @@ x-webhooks: type: string enum: - created - comment: &711 + comment: &717 type: object properties: author_association: @@ -119628,11 +119632,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119715,12 +119719,12 @@ x-webhooks: type: string enum: - deleted - comment: *711 - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + comment: *717 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119815,12 +119819,12 @@ x-webhooks: - from required: - body - comment: *711 - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + comment: *717 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119904,11 +119908,11 @@ x-webhooks: type: string enum: - created - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -119990,11 +119994,11 @@ x-webhooks: type: string enum: - deleted - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120094,11 +120098,11 @@ x-webhooks: type: string required: - from - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120180,10 +120184,10 @@ x-webhooks: type: string enum: - labeled - discussion: *710 - enterprise: *687 - installation: *688 - label: &713 + discussion: *716 + enterprise: *693 + installation: *694 + label: &719 title: Label type: object properties: @@ -120215,8 +120219,8 @@ x-webhooks: - color - default - description - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120299,11 +120303,11 @@ x-webhooks: type: string enum: - locked - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120385,11 +120389,11 @@ x-webhooks: type: string enum: - pinned - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120471,11 +120475,11 @@ x-webhooks: type: string enum: - reopened - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120560,16 +120564,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *710 - new_repository: *690 + new_discussion: *716 + new_repository: *696 required: - new_discussion - new_repository - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120652,10 +120656,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *710 - old_answer: *712 - organization: *689 - repository: *690 + discussion: *716 + old_answer: *718 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120737,12 +120741,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *710 - enterprise: *687 - installation: *688 - label: *713 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120825,11 +120829,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120911,11 +120915,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *710 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + discussion: *716 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -120988,7 +120992,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *687 + enterprise: *693 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -121648,9 +121652,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - forkee @@ -121796,9 +121800,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pages: description: The pages that were updated. type: array @@ -121835,7 +121839,7 @@ x-webhooks: - action - sha - html_url - repository: *690 + repository: *696 sender: *19 required: - pages @@ -121911,10 +121915,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: &715 + organization: *695 + repositories: &721 description: An array of repository objects that the installation can access. type: array @@ -121940,8 +121944,8 @@ x-webhooks: - name - full_name - private - repository: *690 - requester: *714 + repository: *696 + requester: *720 sender: *19 required: - action @@ -122016,11 +122020,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: *715 - repository: *690 + organization: *695 + repositories: *721 + repository: *696 requester: nullable: true sender: *19 @@ -122096,11 +122100,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: *715 - repository: *690 + organization: *695 + repositories: *721 + repository: *696 requester: nullable: true sender: *19 @@ -122176,10 +122180,10 @@ x-webhooks: type: string enum: - added - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories_added: &716 + organization: *695 + repositories_added: &722 description: An array of repository objects, which were added to the installation. type: array @@ -122225,15 +122229,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *690 - repository_selection: &717 + repository: *696 + repository_selection: &723 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *714 + requester: *720 sender: *19 required: - action @@ -122312,10 +122316,10 @@ x-webhooks: type: string enum: - removed - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories_added: *716 + organization: *695 + repositories_added: *722 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122342,9 +122346,9 @@ x-webhooks: - name - full_name - private - repository: *690 - repository_selection: *717 - requester: *714 + repository: *696 + repository_selection: *723 + requester: *720 sender: *19 required: - action @@ -122423,11 +122427,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: *715 - repository: *690 + organization: *695 + repositories: *721 + repository: *696 requester: nullable: true sender: *19 @@ -122606,10 +122610,10 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 target_type: type: string @@ -122688,11 +122692,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *687 + enterprise: *693 installation: *22 - organization: *689 - repositories: *715 - repository: *690 + organization: *695 + repositories: *721 + repository: *696 requester: nullable: true sender: *19 @@ -122944,8 +122948,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -124086,8 +124090,8 @@ x-webhooks: - state - locked - assignee - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -124167,7 +124171,7 @@ x-webhooks: type: string enum: - deleted - comment: &718 + comment: &724 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -124332,8 +124336,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125472,8 +125476,8 @@ x-webhooks: - state - locked - assignee - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -125553,7 +125557,7 @@ x-webhooks: type: string enum: - edited - changes: &746 + changes: &752 description: The changes to the comment. type: object properties: @@ -125565,9 +125569,9 @@ x-webhooks: type: string required: - from - comment: *718 - enterprise: *687 - installation: *688 + comment: *724 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -126707,8 +126711,8 @@ x-webhooks: - state - locked - assignee - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -126790,10 +126794,10 @@ x-webhooks: type: string enum: - assigned - assignee: *714 - enterprise: *687 - installation: *688 - issue: &721 + assignee: *720 + enterprise: *693 + installation: *694 + issue: &727 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -127697,8 +127701,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -127778,8 +127782,8 @@ x-webhooks: type: string enum: - closed - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -128823,8 +128827,8 @@ x-webhooks: required: - state - closed_at - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -128903,8 +128907,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -129801,8 +129805,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -129881,8 +129885,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130782,7 +130786,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &719 + milestone: &725 title: Milestone description: A collection of related issues and pull requests. type: object @@ -130920,8 +130924,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -131020,8 +131024,8 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131925,9 +131929,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *713 - organization: *689 - repository: *690 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -132007,8 +132011,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132911,9 +132915,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *713 - organization: *689 - repository: *690 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -132993,8 +132997,8 @@ x-webhooks: type: string enum: - locked - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133898,8 +133902,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -133978,8 +133982,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134877,9 +134881,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *719 - organization: *689 - repository: *690 + milestone: *725 + organization: *695 + repository: *696 sender: *19 required: - action @@ -136326,8 +136330,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137230,8 +137234,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -137311,9 +137315,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *687 - installation: *688 - issue: &720 + enterprise: *693 + installation: *694 + issue: &726 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138210,8 +138214,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -138290,8 +138294,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139194,8 +139198,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -140643,11 +140647,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *687 - installation: *688 - issue: *720 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + issue: *726 + organization: *695 + repository: *696 sender: *19 required: - action @@ -140728,7 +140732,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &749 + assignee: &755 title: User type: object nullable: true @@ -140798,11 +140802,11 @@ x-webhooks: required: - login - id - enterprise: *687 - installation: *688 - issue: *721 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + issue: *727 + organization: *695 + repository: *696 sender: *19 required: - action @@ -140881,12 +140885,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *687 - installation: *688 - issue: *721 - label: *713 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + issue: *727 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -140966,8 +140970,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -141869,8 +141873,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -141950,11 +141954,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *687 - installation: *688 - issue: *720 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + issue: *726 + organization: *695 + repository: *696 sender: *19 required: - action @@ -142033,11 +142037,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - label: *713 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -142115,11 +142119,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - label: *713 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -142229,11 +142233,11 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - label: *713 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + label: *719 + organization: *695 + repository: *696 sender: *19 required: - action @@ -142315,9 +142319,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *687 - installation: *688 - marketplace_purchase: &722 + enterprise: *693 + installation: *694 + marketplace_purchase: &728 title: Marketplace Purchase type: object required: @@ -142400,8 +142404,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *689 - previous_marketplace_purchase: &723 + organization: *695 + previous_marketplace_purchase: &729 title: Marketplace Purchase type: object properties: @@ -142481,7 +142485,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *690 + repository: *696 sender: *19 required: - action @@ -142561,10 +142565,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *687 - installation: *688 - marketplace_purchase: *722 - organization: *689 + enterprise: *693 + installation: *694 + marketplace_purchase: *728 + organization: *695 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142647,7 +142651,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *690 + repository: *696 sender: *19 required: - action @@ -142729,10 +142733,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *687 - installation: *688 - marketplace_purchase: *722 - organization: *689 + enterprise: *693 + installation: *694 + marketplace_purchase: *728 + organization: *695 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -142814,7 +142818,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *690 + repository: *696 sender: *19 required: - action @@ -142895,8 +142899,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 marketplace_purchase: title: Marketplace Purchase type: object @@ -142978,9 +142982,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *689 - previous_marketplace_purchase: *723 - repository: *690 + organization: *695 + previous_marketplace_purchase: *729 + repository: *696 sender: *19 required: - action @@ -143060,12 +143064,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *687 - installation: *688 - marketplace_purchase: *722 - organization: *689 - previous_marketplace_purchase: *723 - repository: *690 + enterprise: *693 + installation: *694 + marketplace_purchase: *728 + organization: *695 + previous_marketplace_purchase: *729 + repository: *696 sender: *19 required: - action @@ -143167,11 +143171,11 @@ x-webhooks: type: string required: - to - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 sender: *19 required: - action @@ -143271,11 +143275,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 sender: *19 required: - action @@ -143354,11 +143358,11 @@ x-webhooks: type: string enum: - removed - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 sender: *19 required: - action @@ -143436,11 +143440,11 @@ x-webhooks: type: string enum: - added - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143516,7 +143520,7 @@ x-webhooks: required: - login - id - team: &724 + team: &730 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -143706,11 +143710,11 @@ x-webhooks: type: string enum: - removed - enterprise: *687 - installation: *688 - member: *714 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + member: *720 + organization: *695 + repository: *696 scope: description: The scope of the membership. Currently, can only be `team`. @@ -143787,7 +143791,7 @@ x-webhooks: required: - login - id - team: *724 + team: *730 required: - action - scope @@ -143869,8 +143873,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *688 - merge_group: &726 + installation: *694 + merge_group: &732 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -143889,15 +143893,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *725 + head_commit: *731 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -143983,10 +143987,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *688 - merge_group: *726 - organization: *689 - repository: *690 + installation: *694 + merge_group: *732 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144059,7 +144063,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 + enterprise: *693 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -144167,16 +144171,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *688 - organization: *689 + installation: *694 + organization: *695 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *727 - required: *728 + properties: *733 + required: *734 nullable: true sender: *19 required: @@ -144257,11 +144261,11 @@ x-webhooks: type: string enum: - closed - enterprise: *687 - installation: *688 - milestone: *719 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + milestone: *725 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144340,9 +144344,9 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - milestone: &729 + enterprise: *693 + installation: *694 + milestone: &735 title: Milestone description: A collection of related issues and pull requests. type: object @@ -144479,8 +144483,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144559,11 +144563,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - milestone: *719 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + milestone: *725 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144673,11 +144677,11 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - milestone: *719 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + milestone: *725 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144757,11 +144761,11 @@ x-webhooks: type: string enum: - opened - enterprise: *687 - installation: *688 - milestone: *729 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + milestone: *735 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144840,11 +144844,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *714 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + blocked_user: *720 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -144923,11 +144927,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *714 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + blocked_user: *720 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145006,9 +145010,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - membership: &730 + enterprise: *693 + installation: *694 + membership: &736 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -145100,8 +145104,8 @@ x-webhooks: - role - organization_url - user - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145179,11 +145183,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *687 - installation: *688 - membership: *730 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + membership: *736 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145262,8 +145266,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -145379,10 +145383,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 - user: *714 + user: *720 required: - action - invitation @@ -145460,11 +145464,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *687 - installation: *688 - membership: *730 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + membership: *736 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145551,11 +145555,11 @@ x-webhooks: properties: from: type: string - enterprise: *687 - installation: *688 - membership: *730 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + membership: *736 + organization: *695 + repository: *696 sender: *19 required: - action @@ -145631,9 +145635,9 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 package: description: Information about the package. type: object @@ -146132,7 +146136,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &731 + items: &737 title: Ruby Gems metadata type: object properties: @@ -146227,7 +146231,7 @@ x-webhooks: - owner - package_version - registry - repository: *690 + repository: *696 sender: *19 required: - action @@ -146303,9 +146307,9 @@ x-webhooks: type: string enum: - updated - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 package: description: Information about the package. type: object @@ -146658,7 +146662,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *731 + items: *737 source_url: type: string format: uri @@ -146728,7 +146732,7 @@ x-webhooks: - owner - package_version - registry - repository: *690 + repository: *696 sender: *19 required: - action @@ -146905,12 +146909,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *687 + enterprise: *693 id: type: integer - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - id @@ -146990,7 +146994,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &732 + personal_access_token_request: &738 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -147136,10 +147140,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *687 - organization: *689 + enterprise: *693 + organization: *695 sender: *19 - installation: *688 + installation: *694 required: - action - personal_access_token_request @@ -147218,11 +147222,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *732 - enterprise: *687 - organization: *689 + personal_access_token_request: *738 + enterprise: *693 + organization: *695 sender: *19 - installation: *688 + installation: *694 required: - action - personal_access_token_request @@ -147300,11 +147304,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *732 - enterprise: *687 - organization: *689 + personal_access_token_request: *738 + enterprise: *693 + organization: *695 sender: *19 - installation: *688 + installation: *694 required: - action - personal_access_token_request @@ -147381,11 +147385,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *732 - organization: *689 - enterprise: *687 + personal_access_token_request: *738 + organization: *695 + enterprise: *693 sender: *19 - installation: *688 + installation: *694 required: - action - personal_access_token_request @@ -147489,7 +147493,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *733 + last_response: *739 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -147521,8 +147525,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 zen: description: Random string of GitHub zen. @@ -147767,10 +147771,10 @@ x-webhooks: - from required: - note - enterprise: *687 - installation: *688 - organization: *689 - project_card: &734 + enterprise: *693 + installation: *694 + organization: *695 + project_card: &740 title: Project Card type: object properties: @@ -147889,7 +147893,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *690 + repository: *696 sender: *19 required: - action @@ -147970,11 +147974,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - project_card: *734 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project_card: *740 + repository: *696 sender: *19 required: - action @@ -148054,9 +148058,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 project_card: title: Project Card type: object @@ -148184,8 +148188,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *727 - required: *728 + properties: *733 + required: *734 nullable: true sender: *19 required: @@ -148279,11 +148283,11 @@ x-webhooks: - from required: - note - enterprise: *687 - installation: *688 - organization: *689 - project_card: *734 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project_card: *740 + repository: *696 sender: *19 required: - action @@ -148377,9 +148381,9 @@ x-webhooks: - from required: - column_id - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 project_card: allOf: - title: Project Card @@ -148569,7 +148573,7 @@ x-webhooks: type: string required: - after_id - repository: *690 + repository: *696 sender: *19 required: - action @@ -148649,10 +148653,10 @@ x-webhooks: type: string enum: - closed - enterprise: *687 - installation: *688 - organization: *689 - project: &736 + enterprise: *693 + installation: *694 + organization: *695 + project: &742 title: Project type: object properties: @@ -148776,7 +148780,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *690 + repository: *696 sender: *19 required: - action @@ -148856,10 +148860,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - project_column: &735 + enterprise: *693 + installation: *694 + organization: *695 + project_column: &741 title: Project Column type: object properties: @@ -148898,7 +148902,7 @@ x-webhooks: - name - created_at - updated_at - repository: *690 + repository: *696 sender: *19 required: - action @@ -148977,18 +148981,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - project_column: *735 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *741 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *727 - required: *728 + properties: *733 + required: *734 nullable: true sender: *19 required: @@ -149078,11 +149082,11 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 - project_column: *735 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *741 + repository: *696 sender: *19 required: - action @@ -149162,11 +149166,11 @@ x-webhooks: type: string enum: - moved - enterprise: *687 - installation: *688 - organization: *689 - project_column: *735 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project_column: *741 + repository: *696 sender: *19 required: - action @@ -149246,11 +149250,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - project: *736 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project: *742 + repository: *696 sender: *19 required: - action @@ -149330,18 +149334,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - project: *736 + enterprise: *693 + installation: *694 + organization: *695 + project: *742 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *727 - required: *728 + properties: *733 + required: *734 nullable: true sender: *19 required: @@ -149443,11 +149447,11 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 - project: *736 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project: *742 + repository: *696 sender: *19 required: - action @@ -149526,11 +149530,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *687 - installation: *688 - organization: *689 - project: *736 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + project: *742 + repository: *696 sender: *19 required: - action @@ -149611,9 +149615,9 @@ x-webhooks: type: string enum: - closed - installation: *688 - organization: *689 - projects_v2: &737 + installation: *694 + organization: *695 + projects_v2: &743 title: Projects v2 Project description: A projects v2 project type: object @@ -149756,9 +149760,9 @@ x-webhooks: type: string enum: - created - installation: *688 - organization: *689 - projects_v2: *737 + installation: *694 + organization: *695 + projects_v2: *743 sender: *19 required: - action @@ -149839,9 +149843,9 @@ x-webhooks: type: string enum: - deleted - installation: *688 - organization: *689 - projects_v2: *737 + installation: *694 + organization: *695 + projects_v2: *743 sender: *19 required: - action @@ -149958,9 +149962,9 @@ x-webhooks: type: string to: type: string - installation: *688 - organization: *689 - projects_v2: *737 + installation: *694 + organization: *695 + projects_v2: *743 sender: *19 required: - action @@ -150043,7 +150047,7 @@ x-webhooks: type: string enum: - archived - changes: &741 + changes: &747 type: object properties: archived_at: @@ -150057,9 +150061,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *688 - organization: *689 - projects_v2_item: &738 + installation: *694 + organization: *695 + projects_v2_item: &744 title: Projects v2 Item description: An item belonging to a project type: object @@ -150193,9 +150197,9 @@ x-webhooks: nullable: true to: type: string - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150277,9 +150281,9 @@ x-webhooks: type: string enum: - created - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150360,9 +150364,9 @@ x-webhooks: type: string enum: - deleted - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150468,7 +150472,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &739 + - &745 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -150486,7 +150490,7 @@ x-webhooks: required: - id - name - - &740 + - &746 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -150509,8 +150513,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *739 - - *740 + - *745 + - *746 required: - field_value - type: object @@ -150526,9 +150530,9 @@ x-webhooks: nullable: true required: - body - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150623,9 +150627,9 @@ x-webhooks: to: type: string nullable: true - installation: *688 - organization: *689 - projects_v2_item: *738 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150708,10 +150712,10 @@ x-webhooks: type: string enum: - restored - changes: *741 - installation: *688 - organization: *689 - projects_v2_item: *738 + changes: *747 + installation: *694 + organization: *695 + projects_v2_item: *744 sender: *19 required: - action @@ -150793,9 +150797,9 @@ x-webhooks: type: string enum: - reopened - installation: *688 - organization: *689 - projects_v2: *737 + installation: *694 + organization: *695 + projects_v2: *743 sender: *19 required: - action @@ -150876,9 +150880,9 @@ x-webhooks: type: string enum: - created - installation: *688 - organization: *689 - projects_v2_status_update: &742 + installation: *694 + organization: *695 + projects_v2_status_update: &748 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -151005,9 +151009,9 @@ x-webhooks: type: string enum: - deleted - installation: *688 - organization: *689 - projects_v2_status_update: *742 + installation: *694 + organization: *695 + projects_v2_status_update: *748 sender: *19 required: - action @@ -151143,9 +151147,9 @@ x-webhooks: type: string format: date nullable: true - installation: *688 - organization: *689 - projects_v2_status_update: *742 + installation: *694 + organization: *695 + projects_v2_status_update: *748 sender: *19 required: - action @@ -151216,10 +151220,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - repository @@ -151296,13 +151300,13 @@ x-webhooks: type: string enum: - assigned - assignee: *714 - enterprise: *687 - installation: *688 - number: &743 + assignee: *720 + enterprise: *693 + installation: *694 + number: &749 description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -153585,7 +153589,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -153667,11 +153671,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -155949,7 +155953,7 @@ x-webhooks: - draft reason: type: string - repository: *690 + repository: *696 sender: *19 required: - action @@ -156031,11 +156035,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -158313,7 +158317,7 @@ x-webhooks: - draft reason: type: string - repository: *690 + repository: *696 sender: *19 required: - action @@ -158395,13 +158399,13 @@ x-webhooks: type: string enum: - closed - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: &744 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: &750 allOf: - - *545 + - *551 - type: object properties: allow_auto_merge: @@ -158463,7 +158467,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *690 + repository: *696 sender: *19 required: - action @@ -158544,12 +158548,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -158629,11 +158633,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *687 - milestone: *528 - number: *743 - organization: *689 - pull_request: &745 + enterprise: *693 + milestone: *534 + number: *749 + organization: *695 + pull_request: &751 title: Pull Request type: object properties: @@ -160896,7 +160900,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -160975,11 +160979,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -163261,7 +163265,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *690 + repository: *696 sender: *19 required: - action @@ -163385,12 +163389,12 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -163470,11 +163474,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -165741,7 +165745,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -165821,11 +165825,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *687 - installation: *688 - label: *713 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + label: *719 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -168107,7 +168111,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -168188,10 +168192,10 @@ x-webhooks: type: string enum: - locked - enterprise: *687 - installation: *688 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -170471,7 +170475,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -170551,12 +170555,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *687 - milestone: *528 - number: *743 - organization: *689 - pull_request: *745 - repository: *690 + enterprise: *693 + milestone: *534 + number: *749 + organization: *695 + pull_request: *751 + repository: *696 sender: *19 required: - action @@ -170635,12 +170639,12 @@ x-webhooks: type: string enum: - opened - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -170721,12 +170725,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -170806,12 +170810,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *687 - installation: *688 - number: *743 - organization: *689 - pull_request: *744 - repository: *690 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 + pull_request: *750 + repository: *696 sender: *19 required: - action @@ -171177,9 +171181,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -173349,7 +173353,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *690 + repository: *696 sender: *19 required: - action @@ -173429,7 +173433,7 @@ x-webhooks: type: string enum: - deleted - comment: &747 + comment: &753 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. @@ -173714,9 +173718,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -175874,7 +175878,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *690 + repository: *696 sender: *19 required: - action @@ -175954,11 +175958,11 @@ x-webhooks: type: string enum: - edited - changes: *746 - comment: *747 - enterprise: *687 - installation: *688 - organization: *689 + changes: *752 + comment: *753 + enterprise: *693 + installation: *694 + organization: *695 pull_request: type: object properties: @@ -178119,7 +178123,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *690 + repository: *696 sender: *19 required: - action @@ -178200,9 +178204,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -180375,7 +180379,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 + repository: *696 review: description: The review that was affected. type: object @@ -180618,9 +180622,9 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -182674,8 +182678,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 - review: &748 + repository: *696 + review: &754 description: The review that was affected. type: object properties: @@ -182904,12 +182908,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -185192,7 +185196,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 requested_reviewer: title: User type: object @@ -185276,12 +185280,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -187571,7 +187575,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 requested_team: title: Team description: Groups of organization members that gives permissions @@ -187763,12 +187767,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -190053,7 +190057,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 requested_reviewer: title: User type: object @@ -190138,12 +190142,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *687 - installation: *688 + enterprise: *693 + installation: *694 number: description: The pull request number. type: integer - organization: *689 + organization: *695 pull_request: title: Pull Request type: object @@ -192419,7 +192423,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192600,9 +192604,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -194777,8 +194781,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 - review: *748 + repository: *696 + review: *754 sender: *19 required: - action @@ -194858,9 +194862,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -196930,7 +196934,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 + repository: *696 sender: *19 thread: type: object @@ -197313,9 +197317,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 pull_request: title: Simple Pull Request type: object @@ -199371,7 +199375,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *690 + repository: *696 sender: *19 thread: type: object @@ -199757,10 +199761,10 @@ x-webhooks: type: string before: type: string - enterprise: *687 - installation: *688 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -202031,7 +202035,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -202113,11 +202117,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *749 - enterprise: *687 - installation: *688 - number: *743 - organization: *689 + assignee: *755 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -204400,7 +204404,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -204479,11 +204483,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *687 - installation: *688 - label: *713 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + label: *719 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -206756,7 +206760,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -206837,10 +206841,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *687 - installation: *688 - number: *743 - organization: *689 + enterprise: *693 + installation: *694 + number: *749 + organization: *695 pull_request: title: Pull Request type: object @@ -209105,7 +209109,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *690 + repository: *696 sender: *19 required: - action @@ -209305,7 +209309,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *687 + enterprise: *693 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -209397,8 +209401,8 @@ x-webhooks: - url - author - committer - installation: *688 - organization: *689 + installation: *694 + organization: *695 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -209973,9 +209977,9 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 registry_package: type: object properties: @@ -210421,7 +210425,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *731 + items: *737 summary: type: string tag_name: @@ -210475,7 +210479,7 @@ x-webhooks: - owner - package_version - registry - repository: *690 + repository: *696 sender: *19 required: - action @@ -210553,9 +210557,9 @@ x-webhooks: type: string enum: - updated - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 registry_package: type: object properties: @@ -210863,7 +210867,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *731 + items: *737 summary: type: string tag_name: @@ -210912,7 +210916,7 @@ x-webhooks: - owner - package_version - registry - repository: *690 + repository: *696 sender: *19 required: - action @@ -210989,10 +210993,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - release: &750 + enterprise: *693 + installation: *694 + organization: *695 + release: &756 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -211297,7 +211301,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *690 + repository: *696 sender: *19 required: - action @@ -211374,11 +211378,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - release: *750 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + release: *756 + repository: *696 sender: *19 required: - action @@ -211486,11 +211490,11 @@ x-webhooks: type: boolean required: - to - enterprise: *687 - installation: *688 - organization: *689 - release: *750 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + release: *756 + repository: *696 sender: *19 required: - action @@ -211568,9 +211572,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -211879,7 +211883,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *690 + repository: *696 sender: *19 required: - action @@ -211955,10 +211959,10 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 - release: &751 + enterprise: *693 + installation: *694 + organization: *695 + release: &757 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -212264,7 +212268,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *690 + repository: *696 sender: *19 required: - action @@ -212340,11 +212344,11 @@ x-webhooks: type: string enum: - released - enterprise: *687 - installation: *688 - organization: *689 - release: *750 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + release: *756 + repository: *696 sender: *19 required: - action @@ -212420,11 +212424,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *687 - installation: *688 - organization: *689 - release: *751 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + release: *757 + repository: *696 sender: *19 required: - action @@ -212500,11 +212504,11 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_advisory: *598 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_advisory: *604 sender: *19 required: - action @@ -212580,11 +212584,11 @@ x-webhooks: type: string enum: - reported - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_advisory: *598 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_advisory: *604 sender: *19 required: - action @@ -212660,10 +212664,10 @@ x-webhooks: type: string enum: - archived - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -212740,10 +212744,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -212821,10 +212825,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -212908,10 +212912,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213023,10 +213027,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213098,10 +213102,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 status: type: string @@ -213182,10 +213186,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213262,10 +213266,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213359,10 +213363,10 @@ x-webhooks: - name required: - repository - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213442,11 +213446,11 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_ruleset: *278 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *284 sender: *19 required: - action @@ -213524,11 +213528,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_ruleset: *278 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *284 sender: *19 required: - action @@ -213606,11 +213610,11 @@ x-webhooks: type: string enum: - edited - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - repository_ruleset: *278 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + repository_ruleset: *284 changes: type: object properties: @@ -213629,16 +213633,16 @@ x-webhooks: properties: added: type: array - items: *272 + items: *278 deleted: type: array - items: *272 + items: *278 updated: type: array items: type: object properties: - condition: *272 + condition: *278 changes: type: object properties: @@ -213671,16 +213675,16 @@ x-webhooks: properties: added: type: array - items: *277 + items: *283 deleted: type: array - items: *277 + items: *283 updated: type: array items: type: object properties: - rule: *277 + rule: *283 changes: type: object properties: @@ -213914,10 +213918,10 @@ x-webhooks: - from required: - owner - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -213995,10 +213999,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214076,7 +214080,7 @@ x-webhooks: type: string enum: - create - alert: &752 + alert: &758 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214197,10 +214201,10 @@ x-webhooks: type: string enum: - open - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214406,10 +214410,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214487,11 +214491,11 @@ x-webhooks: type: string enum: - reopen - alert: *752 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *758 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214690,10 +214694,10 @@ x-webhooks: enum: - fixed - open - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214771,7 +214775,7 @@ x-webhooks: type: string enum: - created - alert: &753 + alert: &759 type: object properties: number: *85 @@ -214877,10 +214881,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -214961,11 +214965,11 @@ x-webhooks: type: string enum: - created - alert: *753 - installation: *688 - location: *754 - organization: *689 - repository: *690 + alert: *759 + installation: *694 + location: *760 + organization: *695 + repository: *696 sender: *19 required: - location @@ -215203,11 +215207,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *753 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *759 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -215285,11 +215289,11 @@ x-webhooks: type: string enum: - reopened - alert: *753 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *759 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -215367,11 +215371,11 @@ x-webhooks: type: string enum: - resolved - alert: *753 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *759 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -215449,11 +215453,11 @@ x-webhooks: type: string enum: - validated - alert: *753 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + alert: *759 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -215529,11 +215533,11 @@ x-webhooks: type: string enum: - published - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - security_advisory: &755 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + security_advisory: &761 description: The details of the security advisory, including summary, description, and severity. type: object @@ -215716,11 +215720,11 @@ x-webhooks: type: string enum: - updated - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 - security_advisory: *755 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 + security_advisory: *761 sender: *19 required: - action @@ -215793,10 +215797,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -215980,11 +215984,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *269 - enterprise: *687 - installation: *688 - organization: *689 - repository: *331 + security_and_analysis: *275 + enterprise: *693 + installation: *694 + organization: *695 + repository: *337 sender: *19 required: - changes @@ -216062,12 +216066,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: &756 + sponsorship: &762 type: object properties: created_at: @@ -216368,12 +216372,12 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - sponsorship @@ -216461,12 +216465,12 @@ x-webhooks: type: string required: - from - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - changes @@ -216543,17 +216547,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &757 + effective_date: &763 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - sponsorship @@ -216627,7 +216631,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &758 + changes: &764 type: object properties: tier: @@ -216671,13 +216675,13 @@ x-webhooks: - from required: - tier - effective_date: *757 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + effective_date: *763 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - changes @@ -216754,13 +216758,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *758 - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + changes: *764 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - sponsorship: *756 + sponsorship: *762 required: - action - changes @@ -216834,10 +216838,10 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -216920,10 +216924,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217339,15 +217343,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *687 + enterprise: *693 id: description: The unique identifier of the status. type: integer - installation: *688 + installation: *694 name: type: string - organization: *689 - repository: *690 + organization: *695 + repository: *696 sender: *19 sha: description: The Commit SHA. @@ -217462,9 +217466,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *118 - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -217554,9 +217558,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *118 - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -217646,9 +217650,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *118 - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -217738,9 +217742,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *118 - installation: *688 - organization: *689 - repository: *690 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -217817,12 +217821,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - team: &759 + team: &765 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218012,9 +218016,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -218472,7 +218476,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - team @@ -218548,9 +218552,9 @@ x-webhooks: type: string enum: - created - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -219008,7 +219012,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - team @@ -219085,9 +219089,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -219545,7 +219549,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - team @@ -219689,9 +219693,9 @@ x-webhooks: - from required: - permissions - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -220149,7 +220153,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - changes @@ -220227,9 +220231,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *687 - installation: *688 - organization: *689 + enterprise: *693 + installation: *694 + organization: *695 repository: title: Repository description: A git repository @@ -220687,7 +220691,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *759 + team: *765 required: - action - team @@ -220763,10 +220767,10 @@ x-webhooks: type: string enum: - started - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 required: - action @@ -220839,16 +220843,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *687 + enterprise: *693 inputs: type: object nullable: true additionalProperties: true - installation: *688 - organization: *689 + installation: *694 + organization: *695 ref: type: string - repository: *690 + repository: *696 sender: *19 workflow: type: string @@ -220930,10 +220934,10 @@ x-webhooks: type: string enum: - completed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 workflow_job: allOf: @@ -221170,7 +221174,7 @@ x-webhooks: type: string required: - conclusion - deployment: *461 + deployment: *467 required: - action - repository @@ -221249,10 +221253,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 workflow_job: allOf: @@ -221512,7 +221516,7 @@ x-webhooks: required: - status - steps - deployment: *461 + deployment: *467 required: - action - repository @@ -221591,10 +221595,10 @@ x-webhooks: type: string enum: - queued - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 workflow_job: type: object @@ -221729,7 +221733,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *467 required: - action - repository @@ -221808,10 +221812,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 workflow_job: type: object @@ -221947,7 +221951,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *461 + deployment: *467 required: - action - repository @@ -222027,12 +222031,12 @@ x-webhooks: type: string enum: - completed - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: *709 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -223031,12 +223035,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: *709 + workflow: *715 workflow_run: title: Workflow Run type: object @@ -224020,12 +224024,12 @@ x-webhooks: type: string enum: - requested - enterprise: *687 - installation: *688 - organization: *689 - repository: *690 + enterprise: *693 + installation: *694 + organization: *695 + repository: *696 sender: *19 - workflow: *709 + workflow: *715 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index f4363a3cb..0d80dc993 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -9189,6 +9189,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", @@ -61416,7 +61470,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", @@ -61498,7 +61552,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" @@ -61579,7 +61633,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" @@ -61643,7 +61697,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" @@ -61752,7 +61806,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" @@ -61871,7 +61925,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" @@ -61922,7 +61976,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" @@ -62000,7 +62054,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" @@ -62081,7 +62135,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" @@ -62142,7 +62196,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" @@ -62221,7 +62275,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" @@ -62358,7 +62412,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" @@ -307059,6 +307113,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index 0309442a2..0121212eb 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -6512,6 +6512,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 @@ -44529,9 +44564,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. @@ -44588,9 +44620,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. @@ -44645,11 +44674,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 @@ -44690,9 +44715,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. @@ -44765,9 +44787,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. @@ -44847,11 +44866,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 @@ -44885,9 +44900,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. @@ -44943,9 +44955,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. @@ -45000,11 +45009,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 @@ -45044,9 +45049,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. @@ -45103,9 +45105,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). @@ -45209,11 +45208,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 @@ -233070,6 +233069,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/ghec/ghec.json b/descriptions/ghec/ghec.json index f4363a3cb..0d80dc993 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -9189,6 +9189,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", @@ -61416,7 +61470,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", @@ -61498,7 +61552,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" @@ -61579,7 +61633,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" @@ -61643,7 +61697,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" @@ -61752,7 +61806,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" @@ -61871,7 +61925,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" @@ -61922,7 +61976,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" @@ -62000,7 +62054,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" @@ -62081,7 +62135,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" @@ -62142,7 +62196,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" @@ -62221,7 +62275,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" @@ -62358,7 +62412,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" @@ -307059,6 +307113,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index 0309442a2..0121212eb 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -6512,6 +6512,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 @@ -44529,9 +44564,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. @@ -44588,9 +44620,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. @@ -44645,11 +44674,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 @@ -44690,9 +44715,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. @@ -44765,9 +44787,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. @@ -44847,11 +44866,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 @@ -44885,9 +44900,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. @@ -44943,9 +44955,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. @@ -45000,11 +45009,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 @@ -45044,9 +45049,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. @@ -45103,9 +45105,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). @@ -45209,11 +45208,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 @@ -233070,6 +233069,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/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json index fdc0fdc25..9a6f10887 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.json @@ -60172,15 +60172,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": [ { @@ -60223,7 +60223,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -60412,7 +60412,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/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml index 784345e98..19a3460b0 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.2022-11-28.deref.yaml @@ -18518,13 +18518,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). @@ -18533,7 +18534,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: @@ -18564,7 +18565,7 @@ paths: default: value: license: "@enterprise.ghl" - password: secret-password! + password: provide-password-here! responses: '202': description: Response @@ -18706,7 +18707,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/ghes-3.12/dereferenced/ghes-3.12.deref.json b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json index fdc0fdc25..9a6f10887 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.json @@ -60172,15 +60172,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": [ { @@ -60223,7 +60223,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -60412,7 +60412,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/ghes-3.12/dereferenced/ghes-3.12.deref.yaml b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml index 784345e98..19a3460b0 100644 --- a/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml +++ b/descriptions/ghes-3.12/dereferenced/ghes-3.12.deref.yaml @@ -18518,13 +18518,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). @@ -18533,7 +18534,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: @@ -18564,7 +18565,7 @@ paths: default: value: license: "@enterprise.ghl" - password: secret-password! + password: provide-password-here! responses: '202': description: Response @@ -18706,7 +18707,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/ghes-3.12/ghes-3.12.2022-11-28.json b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json index 63f996f80..66b06b5e8 100644 --- a/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json +++ b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.json @@ -10369,15 +10369,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": [ { @@ -10405,7 +10405,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -10493,7 +10493,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/ghes-3.12/ghes-3.12.2022-11-28.yaml b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml index da956c48e..445b0917f 100644 --- a/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml +++ b/descriptions/ghes-3.12/ghes-3.12.2022-11-28.yaml @@ -7273,13 +7273,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). @@ -7288,7 +7289,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: @@ -7308,7 +7309,7 @@ paths: default: value: license: "@enterprise.ghl" - password: secret-password! + password: provide-password-here! responses: '202': description: Response @@ -7365,7 +7366,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/ghes-3.12/ghes-3.12.json b/descriptions/ghes-3.12/ghes-3.12.json index 63f996f80..66b06b5e8 100644 --- a/descriptions/ghes-3.12/ghes-3.12.json +++ b/descriptions/ghes-3.12/ghes-3.12.json @@ -10369,15 +10369,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": [ { @@ -10405,7 +10405,7 @@ "default": { "value": { "license": "@enterprise.ghl", - "password": "secret-password!" + "password": "provide-password-here!" } } } @@ -10493,7 +10493,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/ghes-3.12/ghes-3.12.yaml b/descriptions/ghes-3.12/ghes-3.12.yaml index da956c48e..445b0917f 100644 --- a/descriptions/ghes-3.12/ghes-3.12.yaml +++ b/descriptions/ghes-3.12/ghes-3.12.yaml @@ -7273,13 +7273,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. > {"code":"internal","msg":"git-diff-tree: context deadline exceeded","meta":{"cause":"*fmt.wrapError"}}